* Add back changes from prior to purge * Manually fix some invalid Liquid * Updoot render-content * Improve test messages to show correct output * Run el scripto * Pass the remaining test
1.0 KiB
1.0 KiB
title, intro, redirect_from, versions
| title | intro | redirect_from | versions | |||||
|---|---|---|---|---|---|---|---|---|
| About GitHub's APIs | Learn about {% data variables.product.prodname_dotcom %}'s APIs to extend and customize your {% data variables.product.prodname_dotcom %} experience. |
|
|
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt '2.9' %}
There are two stable versions of the GitHub API: the REST API and the GraphQL API.
{% else %}
The latest stable version of the GitHub API is the REST API.
{% endif %}
When using the REST API, we encourage you to request v3 via the Accept header.
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt '2.9' %}
For information on using the GraphQL API, see the v4 docs.
{% endif %}
Deprecated versions
beta
We deprecated the beta API on April 22, 2014.
v2
We removed support for API v2 on June 12, 2012.
v1
We removed support for API v1 on June 12, 2012.