Skip to main content
REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。

适用于 GitHub Enterprise 管理的 REST API 终结点

使用 REST API 管理企业。

注意

This information applies to GitHub Enterprise Cloud. To see the GitHub Enterprise Server version, use the Article version drop-down menu.

注意

These endpoints only support authentication using a personal access token (classic). For more information, see Managing your personal access tokens.

Endpoint URLs

These endpoints are prefixed with the following URL:

https://api.github.com

When endpoints include {enterprise}, replace {enterprise} with the handle for your enterprise account, which is included in the URL for your enterprise settings. For example, if your enterprise account is located at https://github.com/enterprises/octo-enterprise, replace {enterprise} with octo-enterprise.

Endpoints