| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
Use this repository to:
If you have a specific question or issues with the API, please let us know by contacing GitHub Support.
The API reference refers to most of the content under https://developer.github.com/v3/. The format of these pages is consistent:
Endpoints are introduced with an h2 that describes the API.
For example: ## List issues for a repository
The endpoint itself is wrapped in a codeblock. Capitalize the HTTP verb followed by the endpoint URL.
For example: GET /repos/:owner/:repo/issues
Introduce the parameters with an h3.
For example: ### Parameters.
Write a table with three columns that describes any parameters. The three column headings are:
Provide the endpoint's response. Responses are stored in the lib/responses folder.
Optionally, you may choose to include an example. Examples should be introduced with an h3, and should occur after the parameters are introduced and before the response.
Platform Guides refer to the content under https://developer.github.com/guides/. They are longer form content that solve a specific problem for the reader. Each guide follows a three-section pattern:
Please submit the full sample code for a guide to https://github.com/github/platform-samples.
Our documentation is single sourced and versioned to also apply to GitHub Enterprise users. We use Liquid tags to include or exclude content for various builds.
Each GitHub Enterprise release represent a "point in time" for the GitHub.com design and feature set. As a result, the APIs available on GitHub Enterprise are also the same APIs available on GitHub.com at the point when the new version was created. For example, if GitHub Enterprise 2.5 was released on December 15th, the APIs available to users are the same as whatever was available on December 15th. 2.5.x patch releases might introduce bug fixes and updates, but will rarely, if ever, contain brand new API endpoints.
When writing API documentation, we filter sections meant just for GitHub.com using Liquid tags, like this:
{% if page.version == 'dotcom' %}
You need to use an HTTP client which supports...
{% endif %}
Similarly, content for GitHub Enterprise is versioned based on the release number, like this:
{% if page.version != 'dotcom' and page.version >= 2.2 %}
If your GitHub Enterprise appliance has LDAP Sync enabled...
{% endif %}
| Back | FazBrowse Home | New Git URL |