Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@octokit/plugin-enterprise-server
Advanced tools
Octokit plugin for GitHub Enterprise Server REST APIs
Weekly downloads
Readme
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 every 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.
Browsers |
Load
|
---|---|
Node |
Install with
|
const OctokitEnterprise36 = Octokit.plugin(enterpriseServer36Admin);
const octokit = new OctokitEnterprise36({
auth: "secret123",
baseUrl: "https://github.acme-inc.com/api/v3",
});
octokit.enterpriseAdmin.createUser({
username: "octocat",
email: "octocat@acme-inc.com",
});
The list of currently exported plugins are
enterpriseServer34Admin
enterpriseServer34
enterpriseServer35Admin
enterpriseServer35
enterpriseServer36Admin
enterpriseServer36
The route definitions for the currently supported GitHub Enterprise versions are built 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.
FAQs
Octokit plugin for GitHub Enterprise Server REST APIs
The npm package @octokit/plugin-enterprise-server receives a total of 3,892 weekly downloads. As such, @octokit/plugin-enterprise-server popularity was classified as popular.
We found that @octokit/plugin-enterprise-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.