-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: publish new GitHub Enterprise Cloud (GHEC) specific `@octokit/o…
…penapi-types-ghec` package, plus lots of API changes (#251) WIP
- Loading branch information
1 parent
0d83e41
commit 2805e56
Showing
27 changed files
with
170,751 additions
and
11,381 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"openapi": "3.0.3", | ||
"info": { | ||
"version": "7.14.0", | ||
"version": "8.0.0", | ||
"title": "GitHub's official OpenAPI spec + Octokit extension", | ||
"description": "OpenAPI specs from https:/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", | ||
"license": { | ||
|
@@ -103,10 +103,6 @@ | |
"name": "migrations", | ||
"description": "Move projects to or from GitHub." | ||
}, | ||
{ | ||
"name": "oidc", | ||
"description": "Endpoints to manage GitHub OIDC configuration using the REST API." | ||
}, | ||
{ | ||
"name": "orgs", | ||
"description": "Interact with GitHub Orgs." | ||
|
@@ -135,10 +131,6 @@ | |
"name": "repos", | ||
"description": "Interact with GitHub Repos." | ||
}, | ||
{ | ||
"name": "scim", | ||
"description": "Provisioning of GitHub organization membership for SCIM-enabled providers." | ||
}, | ||
{ | ||
"name": "search", | ||
"description": "Look for stuff on GitHub." | ||
|
@@ -33267,6 +33259,12 @@ | |
} | ||
} | ||
}, | ||
"301": { | ||
"$ref": "#/components/responses/moved_permanently" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
"410": { | ||
"$ref": "#/components/responses/gone" | ||
} | ||
|
@@ -33374,6 +33372,12 @@ | |
} | ||
} | ||
}, | ||
"301": { | ||
"$ref": "#/components/responses/moved_permanently" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
"410": { | ||
"$ref": "#/components/responses/gone" | ||
}, | ||
|
@@ -33484,6 +33488,12 @@ | |
} | ||
} | ||
}, | ||
"301": { | ||
"$ref": "#/components/responses/moved_permanently" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
"410": { | ||
"$ref": "#/components/responses/gone" | ||
}, | ||
|
@@ -33525,6 +33535,12 @@ | |
"204": { | ||
"description": "Response" | ||
}, | ||
"301": { | ||
"$ref": "#/components/responses/moved_permanently" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
"410": { | ||
"$ref": "#/components/responses/gone" | ||
} | ||
|
@@ -33588,6 +33604,9 @@ | |
} | ||
} | ||
}, | ||
"301": { | ||
"$ref": "#/components/responses/moved_permanently" | ||
}, | ||
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
|
@@ -35721,6 +35740,9 @@ | |
"400": { | ||
"$ref": "#/components/responses/bad_request" | ||
}, | ||
"409": { | ||
"$ref": "#/components/responses/conflict" | ||
}, | ||
"422": { | ||
"$ref": "#/components/responses/validation_failed" | ||
} | ||
|
@@ -35758,6 +35780,9 @@ | |
"404": { | ||
"$ref": "#/components/responses/not_found" | ||
}, | ||
"409": { | ||
"$ref": "#/components/responses/conflict" | ||
}, | ||
"422": { | ||
"$ref": "#/components/responses/validation_failed" | ||
} | ||
|
@@ -40406,7 +40431,7 @@ | |
"/repos/{owner}/{repo}/stargazers": { | ||
"get": { | ||
"summary": "List stargazers", | ||
"description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header:", | ||
"description": "Lists the people that have starred the repository.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", | ||
"tags": [ | ||
"activity" | ||
], | ||
|
@@ -48305,7 +48330,7 @@ | |
"/user/starred": { | ||
"get": { | ||
"summary": "List repositories starred by the authenticated user", | ||
"description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header:", | ||
"description": "Lists repositories the authenticated user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", | ||
"tags": [ | ||
"activity" | ||
], | ||
|
@@ -49835,7 +49860,7 @@ | |
"/users/{username}/starred": { | ||
"get": { | ||
"summary": "List repositories starred by a user", | ||
"description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header:", | ||
"description": "Lists repositories a user has starred.\n\nYou can also find out _when_ stars were created by passing the following custom [media type](https://docs.github.com/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", | ||
"tags": [ | ||
"activity" | ||
], | ||
|
@@ -53143,6 +53168,7 @@ | |
"example": 80 | ||
}, | ||
"size": { | ||
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", | ||
"type": "integer", | ||
"example": 108 | ||
}, | ||
|
@@ -56536,6 +56562,7 @@ | |
"example": 80 | ||
}, | ||
"size": { | ||
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", | ||
"type": "integer", | ||
"example": 108 | ||
}, | ||
|
@@ -57318,6 +57345,7 @@ | |
"type": "integer" | ||
}, | ||
"size": { | ||
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", | ||
"type": "integer" | ||
}, | ||
"default_branch": { | ||
|
@@ -60219,6 +60247,7 @@ | |
"example": 80 | ||
}, | ||
"size": { | ||
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", | ||
"type": "integer", | ||
"example": 108 | ||
}, | ||
|
@@ -91782,7 +91811,29 @@ | |
}, | ||
"secret_type": "adafruit_io_key", | ||
"secret_type_display_name": "Adafruit IO Key", | ||
"secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX" | ||
"secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", | ||
"push_protection_bypassed_by": { | ||
"login": "monalisa", | ||
"id": 2, | ||
"node_id": "MDQ6VXNlcjI=", | ||
"avatar_url": "https://alambic.github.com/avatars/u/2?", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/monalisa", | ||
"html_url": "https:/monalisa", | ||
"followers_url": "https://api.github.com/users/monalisa/followers", | ||
"following_url": "https://api.github.com/users/monalisa/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", | ||
"organizations_url": "https://api.github.com/users/monalisa/orgs", | ||
"repos_url": "https://api.github.com/users/monalisa/repos", | ||
"events_url": "https://api.github.com/users/monalisa/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/monalisa/received_events", | ||
"type": "User", | ||
"site_admin": true | ||
}, | ||
"push_protection_bypassed": true, | ||
"push_protection_bypassed_at": "2020-11-06T21:48:51Z" | ||
}, | ||
{ | ||
"number": 1, | ||
|
@@ -91796,7 +91847,10 @@ | |
"resolved_by": null, | ||
"secret_type": "mailchimp_api_key", | ||
"secret_type_display_name": "Mailchimp API Key", | ||
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" | ||
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", | ||
"push_protection_bypassed_by": null, | ||
"push_protection_bypassed": false, | ||
"push_protection_bypassed_at": null | ||
} | ||
] | ||
}, | ||
|
@@ -95873,7 +95927,7 @@ | |
} | ||
}, | ||
"validation_failed_simple": { | ||
"description": "Validation failed", | ||
"description": "Validation failed, or the endpoint has been spammed.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
|
@@ -95898,7 +95952,7 @@ | |
} | ||
}, | ||
"validation_failed": { | ||
"description": "Validation failed", | ||
"description": "Validation failed, or the endpoint has been spammed.", | ||
"content": { | ||
"application/json": { | ||
"schema": { | ||
|
Oops, something went wrong.