LivewireGPT

LivewireGPT · GPT 작업

GPT Livewire Documentation API

  • GET /api/livewire/all-versionsGet available Livewire documentation versions
  • GET /api/livewire/Get documentation modules for the latest version of Livewire.
  • GET /api/livewire/{version}Get documentation modules for a specified version of Livewire.
  • GET /api/livewire/documentation/{documentation_id}Get specific documentation content by ID
원본 API 스키마
{
  "openapi": "3.0.0",
  "info": {
    "title": "GPT Livewire Documentation API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://gptdocs.dev"
    }
  ],
  "paths": {
    "/api/livewire/all-versions": {
      "get": {
        "summary": "Get available Livewire documentation versions",
        "operationId": "getAvailableVersions",
        "responses": {
          "200": {
            "description": "A list of available Livewire versions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "repository": {
                      "type": "string"
                    },
                    "available_versions": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/livewire/": {
      "get": {
        "summary": "Get documentation modules for the latest version  of Livewire.",
        "operationId": "getDocumentationModulesForLatestVersion",
        "responses": {
          "200": {
            "description": "A list of modules for the latest Livewire version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LivewireModules"
                }
              }
            }
          }
        }
      }
    },
    "/api/livewire/{version}": {
      "get": {
        "summary": "Get documentation modules for a specified version of Livewire.",
        "operationId": "getDocumentationModulesForSpecificVersion",
        "parameters": [
          {
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The version of Livewire."
          }
        ],
        "responses": {
          "200": {
            "description": "A list of modules for the specified Livewire version",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LivewireModules"
                }
              }
            }
          }
        }
      }
    },
    "/api/livewire/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": {
      "LivewireModules": {
        "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"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}