1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Files
docs/content/developers/overview/about-githubs-apis.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* 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
2020-09-29 16:01:04 -04:00

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.
/v3/versions
free-pro-team enterprise-server
* *

{% 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.