There are two stable versions of the GitHub API: the REST API and the GraphQL API.
When using the REST API, we encourage you to request v3 via the Accept
header.
For information on using the GraphQL API, see the v4 docs.
Deprecated versions
测试版
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.