A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.github.com/en/rest/about-the-rest-api/about-the-openapi-description-for-the-rest-api below:

About the OpenAPI description for the REST API

The GitHub REST API is fully described in an OpenAPI compliant document.

About OpenAPI

OpenAPI is a specification for describing REST API interfaces. It describes the API without requiring access to the source code or additional documentation. The specification is both human and machine readable. For more information, see the OpenAPI specification documentation.

About GitHub's OpenAPI description

GitHub's OpenAPI description of the REST API is publicly available. You can find the description in the open source github/rest-api-description repository.

GitHub provides both 3.0 and 3.1 OpenAPI descriptions.

For each description, there is a version for each product: GitHub Free/GitHub Pro/GitHub Team (api.github.com), GitHub Enterprise Cloud (ghec), and each version of GitHub Enterprise Server (ghes-X.X).

For each product, if date-based versioning is supported, there is also a description for each date-based version. For more information, see API Versions.

Each description is available in a bundled or in a dereferenced format. The bundled format uses $ref to refer to OpenAPI components that are shared between endpoints. The dereferenced format includes the fully expanded description.

Using the GitHub OpenAPI description

Because the OpenAPI description is machine readable, you can use it to do things like:

For example, GitHub uses the OpenAPI description to generate the Octokit SDKs. GitHub also uses the OpenAPI description to generate the REST API reference documentation for each endpoint.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4