👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.


此版本的 GitHub Enterprise 将停止服务 此版本的 GitHub Enterprise 已停止服务 2020-08-20. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

文章版本: Enterprise Server 2.18

About the GitHub Enterprise Server API

GitHub Enterprise Server supports the same powerful API available on GitHub.com as well as its own set of API endpoints.

The complete documentation for the GitHub Enterprise Server API is available at </enterprise/2.18/v3/>. With the API, you can automate many administrative tasks. Some examples include:

  • Perform changes to the 管理控制台. For more information, see "管理控制台."
  • Collect statistics about your instance. For more information, see "Admin stats."
  • Configure LDAP sync. For more information, see "LDAP."