13.0.0 • Published 1 year ago

@octokit/plugin-enterprise-cloud v13.0.0

Weekly downloads
13
License
MIT
Repository
github
Last release
1 year ago

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

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>

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

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

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

!IMPORTANT As we use conditional exports, you will need to adapt your tsconfig.json by setting "moduleResolution": "node16", "module": "node16".

See the TypeScript docs on package.json "exports". See this helpful guide on transitioning to ESM from @sindresorhus

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

13.0.0

1 year ago

12.6.0

1 year ago

12.5.0

1 year ago

12.4.0

1 year ago

12.3.1

1 year ago

12.3.0

2 years ago

10.0.0

2 years ago

10.0.1

2 years ago

12.0.0

2 years ago

12.1.0

2 years ago

12.2.0

2 years ago

9.1.1

2 years ago

11.0.0

2 years ago

8.2.2

2 years ago

8.3.0

2 years ago

9.1.0

2 years ago

9.0.0

2 years ago

8.2.1

2 years ago

8.2.0

2 years ago

8.1.0

3 years ago

8.0.1

3 years ago

8.0.0

3 years ago

6.1.0

3 years ago

6.2.0

3 years ago

7.0.0

3 years ago

6.0.0

4 years ago

5.0.5

4 years ago

5.0.4

4 years ago

5.0.3

5 years ago

5.0.2

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.2.0

5 years ago

4.1.1

5 years ago

4.1.0

5 years ago

4.0.0

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago