Skip to content

Commit 2805e56

Browse files
authored
feat: publish new GitHub Enterprise Cloud (GHEC) specific @octokit/openapi-types-ghec package, plus lots of API changes (#251)
WIP
1 parent 0d83e41 commit 2805e56

File tree

27 files changed

+170751
-11381
lines changed

27 files changed

+170751
-11381
lines changed

cache/api.github.com.json

+2,148-5,490
Large diffs are not rendered by default.

cache/ghec.json

+114,840
Large diffs are not rendered by default.

cache/ghes-3.2.json

+70-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"openapi": "3.0.3",
33
"info": {
4-
"version": "7.14.0",
4+
"version": "8.0.0",
55
"title": "GitHub's official OpenAPI spec + Octokit extension",
66
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
77
"license": {
@@ -103,10 +103,6 @@
103103
"name": "migrations",
104104
"description": "Move projects to or from GitHub."
105105
},
106-
{
107-
"name": "oidc",
108-
"description": "Endpoints to manage GitHub OIDC configuration using the REST API."
109-
},
110106
{
111107
"name": "orgs",
112108
"description": "Interact with GitHub Orgs."
@@ -135,10 +131,6 @@
135131
"name": "repos",
136132
"description": "Interact with GitHub Repos."
137133
},
138-
{
139-
"name": "scim",
140-
"description": "Provisioning of GitHub organization membership for SCIM-enabled providers."
141-
},
142134
{
143135
"name": "search",
144136
"description": "Look for stuff on GitHub."
@@ -33267,6 +33259,12 @@
3326733259
}
3326833260
}
3326933261
},
33262+
"301": {
33263+
"$ref": "#/components/responses/moved_permanently"
33264+
},
33265+
"404": {
33266+
"$ref": "#/components/responses/not_found"
33267+
},
3327033268
"410": {
3327133269
"$ref": "#/components/responses/gone"
3327233270
}
@@ -33374,6 +33372,12 @@
3337433372
}
3337533373
}
3337633374
},
33375+
"301": {
33376+
"$ref": "#/components/responses/moved_permanently"
33377+
},
33378+
"404": {
33379+
"$ref": "#/components/responses/not_found"
33380+
},
3337733381
"410": {
3337833382
"$ref": "#/components/responses/gone"
3337933383
},
@@ -33484,6 +33488,12 @@
3348433488
}
3348533489
}
3348633490
},
33491+
"301": {
33492+
"$ref": "#/components/responses/moved_permanently"
33493+
},
33494+
"404": {
33495+
"$ref": "#/components/responses/not_found"
33496+
},
3348733497
"410": {
3348833498
"$ref": "#/components/responses/gone"
3348933499
},
@@ -33525,6 +33535,12 @@
3352533535
"204": {
3352633536
"description": "Response"
3352733537
},
33538+
"301": {
33539+
"$ref": "#/components/responses/moved_permanently"
33540+
},
33541+
"404": {
33542+
"$ref": "#/components/responses/not_found"
33543+
},
3352833544
"410": {
3352933545
"$ref": "#/components/responses/gone"
3353033546
}
@@ -33588,6 +33604,9 @@
3358833604
}
3358933605
}
3359033606
},
33607+
"301": {
33608+
"$ref": "#/components/responses/moved_permanently"
33609+
},
3359133610
"404": {
3359233611
"$ref": "#/components/responses/not_found"
3359333612
},
@@ -35721,6 +35740,9 @@
3572135740
"400": {
3572235741
"$ref": "#/components/responses/bad_request"
3572335742
},
35743+
"409": {
35744+
"$ref": "#/components/responses/conflict"
35745+
},
3572435746
"422": {
3572535747
"$ref": "#/components/responses/validation_failed"
3572635748
}
@@ -35758,6 +35780,9 @@
3575835780
"404": {
3575935781
"$ref": "#/components/responses/not_found"
3576035782
},
35783+
"409": {
35784+
"$ref": "#/components/responses/conflict"
35785+
},
3576135786
"422": {
3576235787
"$ref": "#/components/responses/validation_failed"
3576335788
}
@@ -40406,7 +40431,7 @@
4040640431
"/repos/{owner}/{repo}/stargazers": {
4040740432
"get": {
4040840433
"summary": "List stargazers",
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/[email protected]/rest/overview/media-types/) via the `Accept` header:",
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/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
4041040435
"tags": [
4041140436
"activity"
4041240437
],
@@ -48305,7 +48330,7 @@
4830548330
"/user/starred": {
4830648331
"get": {
4830748332
"summary": "List repositories starred by the authenticated user",
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/[email protected]/rest/overview/media-types/) via the `Accept` header:",
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/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
4830948334
"tags": [
4831048335
"activity"
4831148336
],
@@ -49835,7 +49860,7 @@
4983549860
"/users/{username}/starred": {
4983649861
"get": {
4983749862
"summary": "List repositories starred by a user",
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/[email protected]/rest/overview/media-types/) via the `Accept` header:",
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/[email protected]/rest/overview/media-types/) via the `Accept` header: `application/vnd.github.star+json`.",
4983949864
"tags": [
4984049865
"activity"
4984149866
],
@@ -53143,6 +53168,7 @@
5314353168
"example": 80
5314453169
},
5314553170
"size": {
53171+
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
5314653172
"type": "integer",
5314753173
"example": 108
5314853174
},
@@ -56536,6 +56562,7 @@
5653656562
"example": 80
5653756563
},
5653856564
"size": {
56565+
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
5653956566
"type": "integer",
5654056567
"example": 108
5654156568
},
@@ -57318,6 +57345,7 @@
5731857345
"type": "integer"
5731957346
},
5732057347
"size": {
57348+
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
5732157349
"type": "integer"
5732257350
},
5732357351
"default_branch": {
@@ -60219,6 +60247,7 @@
6021960247
"example": 80
6022060248
},
6022160249
"size": {
60250+
"description": "The size of the repository. Size is calculated hourly. When a repository is initially created, the size is 0.",
6022260251
"type": "integer",
6022360252
"example": 108
6022460253
},
@@ -91782,7 +91811,29 @@
9178291811
},
9178391812
"secret_type": "adafruit_io_key",
9178491813
"secret_type_display_name": "Adafruit IO Key",
91785-
"secret": "aio_XXXXXXXXXXXXXXXXXXXXXXXXXXXX"
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"
9178691837
},
9178791838
{
9178891839
"number": 1,
@@ -91796,7 +91847,10 @@
9179691847
"resolved_by": null,
9179791848
"secret_type": "mailchimp_api_key",
9179891849
"secret_type_display_name": "Mailchimp API Key",
91799-
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2"
91850+
"secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-us2",
91851+
"push_protection_bypassed_by": null,
91852+
"push_protection_bypassed": false,
91853+
"push_protection_bypassed_at": null
9180091854
}
9180191855
]
9180291856
},
@@ -95873,7 +95927,7 @@
9587395927
}
9587495928
},
9587595929
"validation_failed_simple": {
95876-
"description": "Validation failed",
95930+
"description": "Validation failed, or the endpoint has been spammed.",
9587795931
"content": {
9587895932
"application/json": {
9587995933
"schema": {
@@ -95898,7 +95952,7 @@
9589895952
}
9589995953
},
9590095954
"validation_failed": {
95901-
"description": "Validation failed",
95955+
"description": "Validation failed, or the endpoint has been spammed.",
9590295956
"content": {
9590395957
"application/json": {
9590495958
"schema": {

0 commit comments

Comments
 (0)