Octokit plugin for GitHub Enterprise Server REST APIs
@octokit/rest and the @octokit/plugin-rest-endpoint-methods plugin it's using internally do not include methods for Enterprise Administration as they do not exist on https://api.github.com. This plugin adds endpoint methods for very GitHub Enterprise Server version that is currently supported.
Besides the admin-specific endpoints, there are differences between api.github.com and each GitHub Enterprise Server version. Instead of loading @octokit/plugin-rest-endpoint-methods you can optionally add all endpoint methods for each GitHub Enterprise Server version, including the admin endpoints.
Usage
Browsers
Load @octokit/plugin-enterprise-server and @octokit/core (or core-compatible module) directly from cdn.skypack.dev
The route definitions for the currently supported GitHub Enterprise versions are build automatically from @octokit/openapi. Each time there is a new @octokit/openapi release, the .github/workflows/update.yml workflow is triggered. If an update is found, a pull request is created.
请发表评论