Socket
Socket
Sign inDemoInstall

@octokit/plugin-enterprise-cloud

Package Overview
Dependencies
1
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @octokit/plugin-enterprise-cloud

Octokit plugin for GitHub’s Enterprise Cloud REST APIs


Version published
Weekly downloads
386
decreased by-3.98%
Maintainers
4
Created
Weekly downloads
 

Readme

Source

plugin-enterprise-cloud.js

Octokit plugin for GitHub’s Enterprise Cloud REST APIs

@latest Build Status

@octokit/rest does not include endpoint methods for Enterprise Cloud, because it is available only to organizations on GitHub Enterprise Cloud. Learn more about About enterprise accounts.

Usage

Browsers

Load @octokit/plugin-enterprise-cloud and @octokit/core (or core-compatible module) directly from esm.sh

<script type="module">
  import { Octokit } from "https://esm.sh/@octokit/core";
  import { enterpriseCloud } from "https://esm.sh/@octokit/plugin-enterprise-cloud";
</script>
Node

Install with npm install @octokit/core @octokit/plugin-enterprise-cloud. Optionally replace @octokit/core with a core-compatible module

const { Octokit } = require("@octokit/core");
const { enterpriseCloud } = require("@octokit/plugin-enterprise-cloud");
const MyOctokit = Octokit.plugin(enterpriseCloud);
const octokit = new MyOctokit({ auth: "secret123" });

octokit.scim.listProvisionedIdentities({
  filter: 'userName eq "Octocat"',
});

How it works

The GitHub Enterprise Cloud route definitions are build automatically from @octokit/routes. Each time there is a new @octokit/routes release, the .github/workflows/routes-update.yml workflow is triggered. If an update to routes.json is found, a pull request is created.

LICENSE

MIT

Keywords

FAQs

Last updated on 15 Apr 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc