|
1 | 1 | { |
2 | 2 | "openapi": "3.0.3", |
3 | 3 | "info": { |
4 | | - "version": "8.0.0", |
| 4 | + "version": "7.14.0", |
5 | 5 | "title": "GitHub's official OpenAPI spec + Octokit extension", |
6 | 6 | "description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs", |
7 | 7 | "license": { |
|
103 | 103 | "name": "migrations", |
104 | 104 | "description": "Move projects to or from GitHub." |
105 | 105 | }, |
| 106 | + { |
| 107 | + "name": "oidc", |
| 108 | + "description": "Endpoints to manage GitHub OIDC configuration using the REST API." |
| 109 | + }, |
106 | 110 | { |
107 | 111 | "name": "orgs", |
108 | 112 | "description": "Interact with GitHub Orgs." |
|
131 | 135 | "name": "repos", |
132 | 136 | "description": "Interact with GitHub Repos." |
133 | 137 | }, |
| 138 | + { |
| 139 | + "name": "scim", |
| 140 | + "description": "Provisioning of GitHub organization membership for SCIM-enabled providers." |
| 141 | + }, |
134 | 142 | { |
135 | 143 | "name": "search", |
136 | 144 | "description": "Look for stuff on GitHub." |
|
33259 | 33267 | } |
33260 | 33268 | } |
33261 | 33269 | }, |
33262 | | - "301": { |
33263 | | - "$ref": "#/components/responses/moved_permanently" |
33264 | | - }, |
33265 | | - "404": { |
33266 | | - "$ref": "#/components/responses/not_found" |
33267 | | - }, |
33268 | 33270 | "410": { |
33269 | 33271 | "$ref": "#/components/responses/gone" |
33270 | 33272 | } |
|
33372 | 33374 | } |
33373 | 33375 | } |
33374 | 33376 | }, |
33375 | | - "301": { |
33376 | | - "$ref": "#/components/responses/moved_permanently" |
33377 | | - }, |
33378 | | - "404": { |
33379 | | - "$ref": "#/components/responses/not_found" |
33380 | | - }, |
33381 | 33377 | "410": { |
33382 | 33378 | "$ref": "#/components/responses/gone" |
33383 | 33379 | }, |
|
33488 | 33484 | } |
33489 | 33485 | } |
33490 | 33486 | }, |
33491 | | - "301": { |
33492 | | - "$ref": "#/components/responses/moved_permanently" |
33493 | | - }, |
33494 | | - "404": { |
33495 | | - "$ref": "#/components/responses/not_found" |
33496 | | - }, |
33497 | 33487 | "410": { |
33498 | 33488 | "$ref": "#/components/responses/gone" |
33499 | 33489 | }, |
|
33535 | 33525 | "204": { |
33536 | 33526 | "description": "Response" |
33537 | 33527 | }, |
33538 | | - "301": { |
33539 | | - "$ref": "#/components/responses/moved_permanently" |
33540 | | - }, |
33541 | | - "404": { |
33542 | | - "$ref": "#/components/responses/not_found" |
33543 | | - }, |
33544 | 33528 | "410": { |
33545 | 33529 | "$ref": "#/components/responses/gone" |
33546 | 33530 | } |
|
33604 | 33588 | } |
33605 | 33589 | } |
33606 | 33590 | }, |
33607 | | - "301": { |
33608 | | - "$ref": "#/components/responses/moved_permanently" |
33609 | | - }, |
33610 | 33591 | "404": { |
33611 | 33592 | "$ref": "#/components/responses/not_found" |
33612 | 33593 | }, |
|
35740 | 35721 | "400": { |
35741 | 35722 | "$ref": "#/components/responses/bad_request" |
35742 | 35723 | }, |
35743 | | - "409": { |
35744 | | - "$ref": "#/components/responses/conflict" |
35745 | | - }, |
35746 | 35724 | "422": { |
35747 | 35725 | "$ref": "#/components/responses/validation_failed" |
35748 | 35726 | } |
|
35780 | 35758 | "404": { |
35781 | 35759 | "$ref": "#/components/responses/not_found" |
35782 | 35760 | }, |
35783 | | - "409": { |
35784 | | - "$ref": "#/components/responses/conflict" |
35785 | | - }, |
35786 | 35761 | "422": { |
35787 | 35762 | "$ref": "#/components/responses/validation_failed" |
35788 | 35763 | } |
|
40431 | 40406 | "/repos/{owner}/{repo}/stargazers": { |
40432 | 40407 | "get": { |
40433 | 40408 | "summary": "List stargazers", |
40434 | | - "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", |
| 40409 | + "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:", |
40435 | 40410 | "tags": [ |
40436 | 40411 | "activity" |
40437 | 40412 | ], |
|
48330 | 48305 | "/user/starred": { |
48331 | 48306 | "get": { |
48332 | 48307 | "summary": "List repositories starred by the authenticated user", |
48333 | | - "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", |
| 48308 | + "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:", |
48334 | 48309 | "tags": [ |
48335 | 48310 | "activity" |
48336 | 48311 | ], |
|
49860 | 49835 | "/users/{username}/starred": { |
49861 | 49836 | "get": { |
49862 | 49837 | "summary": "List repositories starred by a user", |
49863 | | - "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.", |
| 49838 | + "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/enterprise-server@3.2/rest/overview/media-types/) via the `Accept` header:", |
49864 | 49839 | "tags": [ |
49865 | 49840 | "activity" |
49866 | 49841 | ], |
|
53168 | 53143 | "example": 80 |
53169 | 53144 | }, |
53170 | 53145 | "size": { |
53171 | | - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", |
53172 | 53146 | "type": "integer", |
53173 | 53147 | "example": 108 |
53174 | 53148 | }, |
|
56562 | 56536 | "example": 80 |
56563 | 56537 | }, |
56564 | 56538 | "size": { |
56565 | | - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", |
56566 | 56539 | "type": "integer", |
56567 | 56540 | "example": 108 |
56568 | 56541 | }, |
|
57345 | 57318 | "type": "integer" |
57346 | 57319 | }, |
57347 | 57320 | "size": { |
57348 | | - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", |
57349 | 57321 | "type": "integer" |
57350 | 57322 | }, |
57351 | 57323 | "default_branch": { |
|
60247 | 60219 | "example": 80 |
60248 | 60220 | }, |
60249 | 60221 | "size": { |
60250 | | - "description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.", |
60251 | 60222 | "type": "integer", |
60252 | 60223 | "example": 108 |
60253 | 60224 | }, |
|
91811 | 91782 | }, |
91812 | 91783 | "secret_type": "adafruit_io_key", |
91813 | 91784 | "secret_type_display_name": "Adafruit IO Key", |
91814 | | - "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX", |
91815 | | - "push_protection_bypassed_by": { |
91816 | | - "login": "monalisa", |
91817 | | - "id": 2, |
91818 | | - "node_id": "MDQ6VXNlcjI=", |
91819 | | - "avatar_url": "https://alambic.github.com/avatars/u/2?", |
91820 | | - "gravatar_id": "", |
91821 | | - "url": "https://api.github.com/users/monalisa", |
91822 | | - "html_url": "https://github.com/monalisa", |
91823 | | - "followers_url": "https://api.github.com/users/monalisa/followers", |
91824 | | - "following_url": "https://api.github.com/users/monalisa/following{/other_user}", |
91825 | | - "gists_url": "https://api.github.com/users/monalisa/gists{/gist_id}", |
91826 | | - "starred_url": "https://api.github.com/users/monalisa/starred{/owner}{/repo}", |
91827 | | - "subscriptions_url": "https://api.github.com/users/monalisa/subscriptions", |
91828 | | - "organizations_url": "https://api.github.com/users/monalisa/orgs", |
91829 | | - "repos_url": "https://api.github.com/users/monalisa/repos", |
91830 | | - "events_url": "https://api.github.com/users/monalisa/events{/privacy}", |
91831 | | - "received_events_url": "https://api.github.com/users/monalisa/received_events", |
91832 | | - "type": "User", |
91833 | | - "site_admin": true |
91834 | | - }, |
91835 | | - "push_protection_bypassed": true, |
91836 | | - "push_protection_bypassed_at": "2020-11-06T21:48:51Z" |
| 91785 | + "secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX" |
91837 | 91786 | }, |
91838 | 91787 | { |
91839 | 91788 | "number": 1, |
|
91847 | 91796 | "resolved_by": null, |
91848 | 91797 | "secret_type": "mailchimp_api_key", |
91849 | 91798 | "secret_type_display_name": "Mailchimp API Key", |
91850 | | - "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2", |
91851 | | - "push_protection_bypassed_by": null, |
91852 | | - "push_protection_bypassed": false, |
91853 | | - "push_protection_bypassed_at": null |
| 91799 | + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2" |
91854 | 91800 | } |
91855 | 91801 | ] |
91856 | 91802 | }, |
|
95927 | 95873 | } |
95928 | 95874 | }, |
95929 | 95875 | "validation_failed_simple": { |
95930 | | - "description": "Validation failed, or the endpoint has been spammed.", |
| 95876 | + "description": "Validation failed", |
95931 | 95877 | "content": { |
95932 | 95878 | "application/json": { |
95933 | 95879 | "schema": { |
|
95952 | 95898 | } |
95953 | 95899 | }, |
95954 | 95900 | "validation_failed": { |
95955 | | - "description": "Validation failed, or the endpoint has been spammed.", |
| 95901 | + "description": "Validation failed", |
95956 | 95902 | "content": { |
95957 | 95903 | "application/json": { |
95958 | 95904 | "schema": { |
|
0 commit comments