Quantum Code Wizard

Quantum Code Wizard · Acciones GPT

Github File Reader

Request the raw contents of a file from a Github repository given its path.

  • GET /{owner}/{repo}/{branch}/{filepath}readGithubFile

    Returns the raw contents of a file from a Github repository given its path. The relevant details can be queried from the 'Github File Lister' action if it is available.

Esquema original API
{
  "info": {
    "title": "Github File Reader",
    "description": "Request the raw contents of a file from a Github repository given its path.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://raw.githubusercontent.com"
    }
  ],
  "paths": {
    "/{owner}/{repo}/{branch}/{filepath}": {
      "get": {
        "description": "Returns the raw contents of a file from a Github repository given its path. The relevant details can be queried from the 'Github File Lister' action if it is available.",
        "operationId": "readGithubFile",
        "parameters": [
          {
            "name": "owner",
            "in": "path",
            "description": "The owner of the repository (username).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "description": "The name of the repository.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "branch",
            "in": "path",
            "description": "The branch of the repository (this is 'main' by default).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filepath",
            "in": "path",
            "description": "The path to the file.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}

APIs.guru Search

Allows various queries to the apis.guru web service, which enables searching through information on various publically accessible APIs for a wide variety of different use-cases.

  • GET /providers.jsonlistProviders

    Lists all the providers that are available in the apis.guru database.

  • GET /{provider}.jsonlistProviderAPIs

    Lists all the APIs for a given provider (typically based on the results of the 'listProviders' operation).

  • GET /specs/{provider}/{api}/{version}/openapi.jsongetAPI

    Returns the OpenAPI specification for a given API from a given provider (look in the 'swaggerUrl' field of the 'listProviderAPIs' operation for the parameters to use here, which are the last 3 respectively before 'openapi.json').

Esquema original API
{
  "info": {
    "title": "APIs.guru Search",
    "description": "Allows various queries to the apis.guru web service, which enables searching through information on various publically accessible APIs for a wide variety of different use-cases.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.apis.guru/v2"
    }
  ],
  "paths": {
    "/providers.json": {
      "get": {
        "description": "Lists all the providers that are available in the apis.guru database.",
        "operationId": "listProviders",
        "deprecated": false
      }
    },
    "/{provider}.json": {
      "get": {
        "description": "Lists all the APIs for a given provider (typically based on the results of the 'listProviders' operation).",
        "operationId": "listProviderAPIs",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "description": "The provider string to list the APIs for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    },
    "/specs/{provider}/{api}/{version}/openapi.json": {
      "get": {
        "description": "Returns the OpenAPI specification for a given API from a given provider (look in the 'swaggerUrl' field of the 'listProviderAPIs' operation for the parameters to use here, which are the last 3 respectively before 'openapi.json').",
        "operationId": "getAPI",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "description": "The provider string to list the APIs for (e.g. 'github.com').",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api",
            "in": "path",
            "description": "The API string to get the specification for (e.g. 'api.github.com').",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "description": "The version string to get the specification for (e.g. '1.1.4').",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "responses": {
    "200": {
      "description": "Successful, continue as normal."
    },
    "ResponseTooLargeError": {
      "description": "If the output is too long to retrieve, inform the user that this is a technical limitation of your system, then attempt to instead give the user a link to the API docs, which can likely be found in previously retrieved data."
    }
  },
  "components": {
    "schemas": {}
  }
}

Github File Lister

Acts like the 'ls' command and can list the contents of directories on Github repos. Can not be used to read file contents directly, as it will return base64.

  • GET /repos/{owner}/{repo}/contents/{path}listGithubFiles

    Gets the contents (files) of a specific repo/directory. The 'download_url' property can be used to get the path for the file reader. Make sure to use the 'Github File Reader' action when trying to read contents (if its available).

Esquema original API
{
  "info": {
    "title": "Github File Lister",
    "description": "Acts like the 'ls' command and can list the contents of directories on Github repos. Can not be used to read file contents directly, as it will return base64.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.github.com"
    }
  ],
  "paths": {
    "/repos/{owner}/{repo}/contents/{path}": {
      "get": {
        "description": "Gets the contents (files) of a specific repo/directory. The 'download_url' property can be used to get the path for the file reader. Make sure to use the 'Github File Reader' action when trying to read contents (if its available).",
        "operationId": "listGithubFiles",
        "parameters": [
          {
            "name": "owner",
            "in": "path",
            "description": "The owner of the repository (username).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "repo",
            "in": "path",
            "description": "The name of the repository itself.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "path",
            "in": "path",
            "description": "The path to the file or folder (leave this blank to just get the root of the repo). This is case-sensetive.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}

DevDocs Reader

A GET-request based search operation for DevDocs. This is useful, as DevDocs contains a myriad of various documentations for different things. If using this, ask the user about the parameters beforehand. If doing as an intermediary research step, ask the user to go find the URL.

  • GET /{doc}/{topic}.htmlFetch Documentation from DevDocs

    Searches for a specific topic and path in DevDocs based on the provided documentation name and topic. This endpoint simulates user navigation on the DevDocs website to retrieve documentation content.

Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "DevDocs Reader",
    "description": "A GET-request based search operation for DevDocs. This is useful, as DevDocs contains a myriad of various documentations for different things. If using this, ask the user about the parameters beforehand. If doing as an intermediary research step, ask the user to go find the URL.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://documents.devdocs.io",
      "description": "DevDocs Documentation Hub"
    }
  ],
  "paths": {
    "/{doc}/{topic}.html": {
      "get": {
        "operationId": "readDevDocs",
        "summary": "Fetch Documentation from DevDocs",
        "description": "Searches for a specific topic and path in DevDocs based on the provided documentation name and topic. This endpoint simulates user navigation on the DevDocs website to retrieve documentation content.",
        "parameters": [
          {
            "name": "doc",
            "in": "path",
            "description": "The name of the documentation, such as \"vuex~4\" or \"css\". The exact value should be identified by the user.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "javascript"
          },
          {
            "name": "topic",
            "in": "path",
            "description": "The path of the section/topic, such as \"guide/actions\" for Vuex or \"display-box\" for CSS.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "strings"
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved the documentation content."
          },
          "400": {
            "description": "Bad request, often due to missing or invalid parameters."
          },
          "404": {
            "description": "The specified documentation or topic was not found."
          },
          "429": {
            "description": "Too many requests - rate limiting applied."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}