Alpine.jsGPT

Alpine.jsGPT · Actions GPT

GPT Alpine.js Documentation API

  • GET /api/alpinejs/all-versionsGet available Alpine.js documentation versions
  • GET /api/alpinejs/Get documentation modules for the latest version of Alpine.js.
  • GET /api/alpinejs/{version}Get documentation modules for a specified version of Alpine.js.
  • GET /api/alpinejs/documentation/{documentation_id}Get specific documentation content by ID
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "GPT Alpine.js Documentation API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://gptdocs.dev"
    }
  ],
  "paths": {
    "/api/alpinejs/all-versions": {
      "get": {
        "summary": "Get available Alpine.js documentation versions",
        "operationId": "getAvailableVersions",
        "responses": {
          "200": {
            "description": "A list of available Alpine.js versions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "repository": {
                      "type": "string"
                    },
                    "available_versions": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/alpinejs/": {
      "get": {
        "summary": "Get documentation modules for the latest version  of Alpine.js.",
        "operationId": "getDocumentationModulesForLatestVersion",
        "responses": {
          "200": {
            "description": "A list of modules for the latest Alpine.js version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LaravelModules"
                }
              }
            }
          }
        }
      }
    },
    "/api/alpinejs/{version}": {
      "get": {
        "summary": "Get documentation modules for a specified version of Alpine.js.",
        "operationId": "getDocumentationModulesForSpecificVersion",
        "parameters": [
          {
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The version of Alpine.js."
          }
        ],
        "responses": {
          "200": {
            "description": "A list of modules for the specified Alpine.js version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LaravelModules"
                }
              }
            }
          }
        }
      }
    },
    "/api/alpinejs/documentation/{documentation_id}": {
      "get": {
        "summary": "Get specific documentation content by ID",
        "operationId": "getDocumentationById",
        "parameters": [
          {
            "in": "path",
            "name": "documentation_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Documentation content for the given ID",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "repository": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "module": {
                      "type": "string"
                    },
                    "topic": {
                      "type": "string"
                    },
                    "documentation": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "LaravelModules": {
        "type": "object",
        "properties": {
          "repository": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "modules": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "topics": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "subtopics": {
                        "type": "string"
                      },
                      "documentation_id": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}