此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-08-25. 已停止发布的版本不受支持。 即使针对重大安全问题,也不会发布补丁。 若要获得更好的性能、改进的安全性和 GitHub Enterprise Server 中的新功能,请参阅升级过程的 Overview。 如需升级帮助,请联系 GitHub Enterprise 支持。
REST API 现已开始进行版本化。 有关详细信息,请参阅“关于 API 版本控制”。
应用的 REST API 终结点
使用 REST API 检索有关 GitHub Apps 和 GitHub App 安装的信息。
- GitHub Apps 的 REST API 终结点, 1 of 4
- Get the authenticated app, 1 of 14
- Create a GitHub App from a manifest, 2 of 14
- List installation requests for the authenticated app, 3 of 14
- List installations for the authenticated app, 4 of 14
- Get an installation for the authenticated app, 5 of 14
- Delete an installation for the authenticated app, 6 of 14
- Create an installation access token for an app, 7 of 14
- Suspend an app installation, 8 of 14
- Unsuspend an app installation, 9 of 14
- Create a scoped access token, 10 of 14
- Get an app, 11 of 14
- Get an organization installation for the authenticated app, 12 of 14
- Get a repository installation for the authenticated app, 13 of 14
- Get a user installation for the authenticated app, 14 of 14
- 用于 GitHub App 安装的 REST API 端点, 2 of 4
- List repositories accessible to the app installation, 1 of 6
- Revoke an installation access token, 2 of 6
- List app installations accessible to the user access token, 3 of 6
- List repositories accessible to the user access token, 4 of 6
- Add a repository to an app installation, 5 of 6
- Remove a repository from an app installation, 6 of 6
- 用于 OAuth 授权的 REST API 终结点, 3 of 4
- Webhooks 的 GitHub App REST API 终结点, 4 of 4