@octokit/openapi 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +14 -3
- package/generated/api.github.com.json +7 -4
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
- package/generated/ghes-3.2.deref.json +3 -3
- package/generated/ghes-3.2.json +3 -3
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
- package/generated/ghes-3.3.deref.json +3 -3
- package/generated/ghes-3.3.json +3 -3
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +3 -3
- package/generated/ghes-3.4.json +3 -3
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +27 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +220 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +147 -1
- package/generated/ghes-3.5.deref.json +4 -4
- package/generated/ghes-3.5.json +6 -4
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +27 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +220 -1
- package/generated/github.ae-diff-to-api.github.com.json +147 -1
- package/generated/github.ae.deref.json +2 -2
- package/generated/github.ae.json +4 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -105140,6 +105140,17 @@
|
|
|
105140
105140
|
"used": { "type": "integer" }
|
|
105141
105141
|
},
|
|
105142
105142
|
"required": ["limit", "remaining", "reset", "used"]
|
|
105143
|
+
},
|
|
105144
|
+
"dependency_snapshots": {
|
|
105145
|
+
"title": "Rate Limit",
|
|
105146
|
+
"type": "object",
|
|
105147
|
+
"properties": {
|
|
105148
|
+
"limit": { "type": "integer" },
|
|
105149
|
+
"remaining": { "type": "integer" },
|
|
105150
|
+
"reset": { "type": "integer" },
|
|
105151
|
+
"used": { "type": "integer" }
|
|
105152
|
+
},
|
|
105153
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
105143
105154
|
}
|
|
105144
105155
|
},
|
|
105145
105156
|
"required": ["core", "search"]
|
|
@@ -130434,7 +130445,7 @@
|
|
|
130434
130445
|
},
|
|
130435
130446
|
"post": {
|
|
130436
130447
|
"summary": "Review pending deployments for a workflow run",
|
|
130437
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
130448
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
130438
130449
|
"tags": ["actions"],
|
|
130439
130450
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
130440
130451
|
"externalDocs": {
|
|
@@ -130971,7 +130982,7 @@
|
|
|
130971
130982
|
},
|
|
130972
130983
|
"x-github": {
|
|
130973
130984
|
"githubCloudOnly": false,
|
|
130974
|
-
"enabledForGitHubApps":
|
|
130985
|
+
"enabledForGitHubApps": false,
|
|
130975
130986
|
"category": "actions",
|
|
130976
130987
|
"subcategory": "workflow-runs"
|
|
130977
130988
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -16944,7 +16944,7 @@
|
|
|
16944
16944
|
},
|
|
16945
16945
|
"post": {
|
|
16946
16946
|
"summary": "Review pending deployments for a workflow run",
|
|
16947
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
16947
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
16948
16948
|
"tags": ["actions"],
|
|
16949
16949
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
16950
16950
|
"externalDocs": {
|
|
@@ -17006,7 +17006,7 @@
|
|
|
17006
17006
|
},
|
|
17007
17007
|
"x-github": {
|
|
17008
17008
|
"githubCloudOnly": false,
|
|
17009
|
-
"enabledForGitHubApps":
|
|
17009
|
+
"enabledForGitHubApps": false,
|
|
17010
17010
|
"category": "actions",
|
|
17011
17011
|
"subcategory": "workflow-runs"
|
|
17012
17012
|
},
|
|
@@ -52557,7 +52557,10 @@
|
|
|
52557
52557
|
"actions_runner_registration": {
|
|
52558
52558
|
"$ref": "#/components/schemas/rate-limit"
|
|
52559
52559
|
},
|
|
52560
|
-
"scim": { "$ref": "#/components/schemas/rate-limit" }
|
|
52560
|
+
"scim": { "$ref": "#/components/schemas/rate-limit" },
|
|
52561
|
+
"dependency_snapshots": {
|
|
52562
|
+
"$ref": "#/components/schemas/rate-limit"
|
|
52563
|
+
}
|
|
52561
52564
|
},
|
|
52562
52565
|
"required": ["core", "search"]
|
|
52563
52566
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -103797,7 +103797,7 @@
|
|
|
103797
103797
|
},
|
|
103798
103798
|
"post": {
|
|
103799
103799
|
"summary": "Review pending deployments for a workflow run",
|
|
103800
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
103800
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
103801
103801
|
"tags": ["actions"],
|
|
103802
103802
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
103803
103803
|
"externalDocs": {
|
|
@@ -104334,7 +104334,7 @@
|
|
|
104334
104334
|
},
|
|
104335
104335
|
"x-github": {
|
|
104336
104336
|
"githubCloudOnly": false,
|
|
104337
|
-
"enabledForGitHubApps":
|
|
104337
|
+
"enabledForGitHubApps": false,
|
|
104338
104338
|
"category": "actions",
|
|
104339
104339
|
"subcategory": "workflow-runs"
|
|
104340
104340
|
},
|
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -15181,7 +15181,7 @@
|
|
|
15181
15181
|
},
|
|
15182
15182
|
"post": {
|
|
15183
15183
|
"summary": "Review pending deployments for a workflow run",
|
|
15184
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
15184
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
15185
15185
|
"tags": ["actions"],
|
|
15186
15186
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
15187
15187
|
"externalDocs": {
|
|
@@ -15243,7 +15243,7 @@
|
|
|
15243
15243
|
},
|
|
15244
15244
|
"x-github": {
|
|
15245
15245
|
"githubCloudOnly": false,
|
|
15246
|
-
"enabledForGitHubApps":
|
|
15246
|
+
"enabledForGitHubApps": false,
|
|
15247
15247
|
"category": "actions",
|
|
15248
15248
|
"subcategory": "workflow-runs"
|
|
15249
15249
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -104450,7 +104450,7 @@
|
|
|
104450
104450
|
},
|
|
104451
104451
|
"post": {
|
|
104452
104452
|
"summary": "Review pending deployments for a workflow run",
|
|
104453
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
104453
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
104454
104454
|
"tags": ["actions"],
|
|
104455
104455
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
104456
104456
|
"externalDocs": {
|
|
@@ -104987,7 +104987,7 @@
|
|
|
104987
104987
|
},
|
|
104988
104988
|
"x-github": {
|
|
104989
104989
|
"githubCloudOnly": false,
|
|
104990
|
-
"enabledForGitHubApps":
|
|
104990
|
+
"enabledForGitHubApps": false,
|
|
104991
104991
|
"category": "actions",
|
|
104992
104992
|
"subcategory": "workflow-runs"
|
|
104993
104993
|
},
|
package/generated/ghes-3.3.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -14811,7 +14811,7 @@
|
|
|
14811
14811
|
},
|
|
14812
14812
|
"post": {
|
|
14813
14813
|
"summary": "Review pending deployments for a workflow run",
|
|
14814
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
14814
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
14815
14815
|
"tags": ["actions"],
|
|
14816
14816
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
14817
14817
|
"externalDocs": {
|
|
@@ -14873,7 +14873,7 @@
|
|
|
14873
14873
|
},
|
|
14874
14874
|
"x-github": {
|
|
14875
14875
|
"githubCloudOnly": false,
|
|
14876
|
-
"enabledForGitHubApps":
|
|
14876
|
+
"enabledForGitHubApps": false,
|
|
14877
14877
|
"category": "actions",
|
|
14878
14878
|
"subcategory": "workflow-runs"
|
|
14879
14879
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -112130,7 +112130,7 @@
|
|
|
112130
112130
|
},
|
|
112131
112131
|
"post": {
|
|
112132
112132
|
"summary": "Review pending deployments for a workflow run",
|
|
112133
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
112133
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
112134
112134
|
"tags": ["actions"],
|
|
112135
112135
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
112136
112136
|
"externalDocs": {
|
|
@@ -112667,7 +112667,7 @@
|
|
|
112667
112667
|
},
|
|
112668
112668
|
"x-github": {
|
|
112669
112669
|
"githubCloudOnly": false,
|
|
112670
|
-
"enabledForGitHubApps":
|
|
112670
|
+
"enabledForGitHubApps": false,
|
|
112671
112671
|
"category": "actions",
|
|
112672
112672
|
"subcategory": "workflow-runs"
|
|
112673
112673
|
},
|
package/generated/ghes-3.4.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -16045,7 +16045,7 @@
|
|
|
16045
16045
|
},
|
|
16046
16046
|
"post": {
|
|
16047
16047
|
"summary": "Review pending deployments for a workflow run",
|
|
16048
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
16048
|
+
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\nRequired reviewers with read access to the repository contents and deployments can use this endpoint. Required reviewers must authenticate using an access token with the `repo` scope to use this endpoint.",
|
|
16049
16049
|
"tags": ["actions"],
|
|
16050
16050
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
16051
16051
|
"externalDocs": {
|
|
@@ -16107,7 +16107,7 @@
|
|
|
16107
16107
|
},
|
|
16108
16108
|
"x-github": {
|
|
16109
16109
|
"githubCloudOnly": false,
|
|
16110
|
-
"enabledForGitHubApps":
|
|
16110
|
+
"enabledForGitHubApps": false,
|
|
16111
16111
|
"category": "actions",
|
|
16112
16112
|
"subcategory": "workflow-runs"
|
|
16113
16113
|
},
|
|
@@ -9227,6 +9227,33 @@
|
|
|
9227
9227
|
}
|
|
9228
9228
|
}
|
|
9229
9229
|
},
|
|
9230
|
+
"/rate_limit": {
|
|
9231
|
+
"get": {
|
|
9232
|
+
"responses": {
|
|
9233
|
+
"changed": {
|
|
9234
|
+
"200": {
|
|
9235
|
+
"content": {
|
|
9236
|
+
"changed": {
|
|
9237
|
+
"application/json": {
|
|
9238
|
+
"schema_changed": {
|
|
9239
|
+
"properties_changed": {
|
|
9240
|
+
"changed": {
|
|
9241
|
+
"resources": {
|
|
9242
|
+
"properties_changed": {
|
|
9243
|
+
"removed": ["dependency_snapshots"]
|
|
9244
|
+
}
|
|
9245
|
+
}
|
|
9246
|
+
}
|
|
9247
|
+
}
|
|
9248
|
+
}
|
|
9249
|
+
}
|
|
9250
|
+
}
|
|
9251
|
+
}
|
|
9252
|
+
}
|
|
9253
|
+
}
|
|
9254
|
+
}
|
|
9255
|
+
}
|
|
9256
|
+
},
|
|
9230
9257
|
"/repos/{owner}/{repo}": {
|
|
9231
9258
|
"get": {
|
|
9232
9259
|
"responses": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.5.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -47707,6 +47707,225 @@
|
|
|
47707
47707
|
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
47708
47708
|
}
|
|
47709
47709
|
},
|
|
47710
|
+
"/rate_limit": {
|
|
47711
|
+
"get": {
|
|
47712
|
+
"summary": "Get rate limit status for the authenticated user",
|
|
47713
|
+
"description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.",
|
|
47714
|
+
"tags": ["rate-limit"],
|
|
47715
|
+
"operationId": "rate-limit/get",
|
|
47716
|
+
"externalDocs": {
|
|
47717
|
+
"description": "API method documentation",
|
|
47718
|
+
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user"
|
|
47719
|
+
},
|
|
47720
|
+
"parameters": [],
|
|
47721
|
+
"responses": {
|
|
47722
|
+
"200": {
|
|
47723
|
+
"description": "Response",
|
|
47724
|
+
"content": {
|
|
47725
|
+
"application/json": {
|
|
47726
|
+
"schema": {
|
|
47727
|
+
"title": "Rate Limit Overview",
|
|
47728
|
+
"description": "Rate Limit Overview",
|
|
47729
|
+
"type": "object",
|
|
47730
|
+
"properties": {
|
|
47731
|
+
"resources": {
|
|
47732
|
+
"type": "object",
|
|
47733
|
+
"properties": {
|
|
47734
|
+
"core": {
|
|
47735
|
+
"title": "Rate Limit",
|
|
47736
|
+
"type": "object",
|
|
47737
|
+
"properties": {
|
|
47738
|
+
"limit": { "type": "integer" },
|
|
47739
|
+
"remaining": { "type": "integer" },
|
|
47740
|
+
"reset": { "type": "integer" },
|
|
47741
|
+
"used": { "type": "integer" }
|
|
47742
|
+
},
|
|
47743
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47744
|
+
},
|
|
47745
|
+
"graphql": {
|
|
47746
|
+
"title": "Rate Limit",
|
|
47747
|
+
"type": "object",
|
|
47748
|
+
"properties": {
|
|
47749
|
+
"limit": { "type": "integer" },
|
|
47750
|
+
"remaining": { "type": "integer" },
|
|
47751
|
+
"reset": { "type": "integer" },
|
|
47752
|
+
"used": { "type": "integer" }
|
|
47753
|
+
},
|
|
47754
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47755
|
+
},
|
|
47756
|
+
"search": {
|
|
47757
|
+
"title": "Rate Limit",
|
|
47758
|
+
"type": "object",
|
|
47759
|
+
"properties": {
|
|
47760
|
+
"limit": { "type": "integer" },
|
|
47761
|
+
"remaining": { "type": "integer" },
|
|
47762
|
+
"reset": { "type": "integer" },
|
|
47763
|
+
"used": { "type": "integer" }
|
|
47764
|
+
},
|
|
47765
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47766
|
+
},
|
|
47767
|
+
"source_import": {
|
|
47768
|
+
"title": "Rate Limit",
|
|
47769
|
+
"type": "object",
|
|
47770
|
+
"properties": {
|
|
47771
|
+
"limit": { "type": "integer" },
|
|
47772
|
+
"remaining": { "type": "integer" },
|
|
47773
|
+
"reset": { "type": "integer" },
|
|
47774
|
+
"used": { "type": "integer" }
|
|
47775
|
+
},
|
|
47776
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47777
|
+
},
|
|
47778
|
+
"integration_manifest": {
|
|
47779
|
+
"title": "Rate Limit",
|
|
47780
|
+
"type": "object",
|
|
47781
|
+
"properties": {
|
|
47782
|
+
"limit": { "type": "integer" },
|
|
47783
|
+
"remaining": { "type": "integer" },
|
|
47784
|
+
"reset": { "type": "integer" },
|
|
47785
|
+
"used": { "type": "integer" }
|
|
47786
|
+
},
|
|
47787
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47788
|
+
},
|
|
47789
|
+
"code_scanning_upload": {
|
|
47790
|
+
"title": "Rate Limit",
|
|
47791
|
+
"type": "object",
|
|
47792
|
+
"properties": {
|
|
47793
|
+
"limit": { "type": "integer" },
|
|
47794
|
+
"remaining": { "type": "integer" },
|
|
47795
|
+
"reset": { "type": "integer" },
|
|
47796
|
+
"used": { "type": "integer" }
|
|
47797
|
+
},
|
|
47798
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47799
|
+
},
|
|
47800
|
+
"actions_runner_registration": {
|
|
47801
|
+
"title": "Rate Limit",
|
|
47802
|
+
"type": "object",
|
|
47803
|
+
"properties": {
|
|
47804
|
+
"limit": { "type": "integer" },
|
|
47805
|
+
"remaining": { "type": "integer" },
|
|
47806
|
+
"reset": { "type": "integer" },
|
|
47807
|
+
"used": { "type": "integer" }
|
|
47808
|
+
},
|
|
47809
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47810
|
+
},
|
|
47811
|
+
"scim": {
|
|
47812
|
+
"title": "Rate Limit",
|
|
47813
|
+
"type": "object",
|
|
47814
|
+
"properties": {
|
|
47815
|
+
"limit": { "type": "integer" },
|
|
47816
|
+
"remaining": { "type": "integer" },
|
|
47817
|
+
"reset": { "type": "integer" },
|
|
47818
|
+
"used": { "type": "integer" }
|
|
47819
|
+
},
|
|
47820
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47821
|
+
}
|
|
47822
|
+
},
|
|
47823
|
+
"required": ["core", "search"]
|
|
47824
|
+
},
|
|
47825
|
+
"rate": {
|
|
47826
|
+
"title": "Rate Limit",
|
|
47827
|
+
"type": "object",
|
|
47828
|
+
"properties": {
|
|
47829
|
+
"limit": { "type": "integer" },
|
|
47830
|
+
"remaining": { "type": "integer" },
|
|
47831
|
+
"reset": { "type": "integer" },
|
|
47832
|
+
"used": { "type": "integer" }
|
|
47833
|
+
},
|
|
47834
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
47835
|
+
}
|
|
47836
|
+
},
|
|
47837
|
+
"required": ["rate", "resources"]
|
|
47838
|
+
},
|
|
47839
|
+
"examples": {
|
|
47840
|
+
"default": {
|
|
47841
|
+
"value": {
|
|
47842
|
+
"resources": {
|
|
47843
|
+
"core": {
|
|
47844
|
+
"limit": 5000,
|
|
47845
|
+
"remaining": 4999,
|
|
47846
|
+
"reset": 1372700873,
|
|
47847
|
+
"used": 1
|
|
47848
|
+
},
|
|
47849
|
+
"search": {
|
|
47850
|
+
"limit": 30,
|
|
47851
|
+
"remaining": 18,
|
|
47852
|
+
"reset": 1372697452,
|
|
47853
|
+
"used": 12
|
|
47854
|
+
},
|
|
47855
|
+
"graphql": {
|
|
47856
|
+
"limit": 5000,
|
|
47857
|
+
"remaining": 4993,
|
|
47858
|
+
"reset": 1372700389,
|
|
47859
|
+
"used": 7
|
|
47860
|
+
},
|
|
47861
|
+
"integration_manifest": {
|
|
47862
|
+
"limit": 5000,
|
|
47863
|
+
"remaining": 4999,
|
|
47864
|
+
"reset": 1551806725,
|
|
47865
|
+
"used": 1
|
|
47866
|
+
},
|
|
47867
|
+
"code_scanning_upload": {
|
|
47868
|
+
"limit": 500,
|
|
47869
|
+
"remaining": 499,
|
|
47870
|
+
"reset": 1551806725,
|
|
47871
|
+
"used": 1
|
|
47872
|
+
}
|
|
47873
|
+
},
|
|
47874
|
+
"rate": {
|
|
47875
|
+
"limit": 5000,
|
|
47876
|
+
"remaining": 4999,
|
|
47877
|
+
"reset": 1372700873,
|
|
47878
|
+
"used": 1
|
|
47879
|
+
}
|
|
47880
|
+
}
|
|
47881
|
+
}
|
|
47882
|
+
}
|
|
47883
|
+
}
|
|
47884
|
+
},
|
|
47885
|
+
"headers": {
|
|
47886
|
+
"X-RateLimit-Limit": {
|
|
47887
|
+
"example": 5000,
|
|
47888
|
+
"schema": { "type": "integer" }
|
|
47889
|
+
},
|
|
47890
|
+
"X-RateLimit-Remaining": {
|
|
47891
|
+
"example": 4999,
|
|
47892
|
+
"schema": { "type": "integer" }
|
|
47893
|
+
},
|
|
47894
|
+
"X-RateLimit-Reset": {
|
|
47895
|
+
"example": 1590701888,
|
|
47896
|
+
"schema": { "type": "integer", "format": "timestamp" }
|
|
47897
|
+
}
|
|
47898
|
+
}
|
|
47899
|
+
},
|
|
47900
|
+
"304": { "description": "Not modified" },
|
|
47901
|
+
"404": {
|
|
47902
|
+
"description": "Resource not found",
|
|
47903
|
+
"content": {
|
|
47904
|
+
"application/json": {
|
|
47905
|
+
"schema": {
|
|
47906
|
+
"title": "Basic Error",
|
|
47907
|
+
"description": "Basic Error",
|
|
47908
|
+
"type": "object",
|
|
47909
|
+
"properties": {
|
|
47910
|
+
"message": { "type": "string" },
|
|
47911
|
+
"documentation_url": { "type": "string" },
|
|
47912
|
+
"url": { "type": "string" },
|
|
47913
|
+
"status": { "type": "string" }
|
|
47914
|
+
}
|
|
47915
|
+
}
|
|
47916
|
+
}
|
|
47917
|
+
}
|
|
47918
|
+
}
|
|
47919
|
+
},
|
|
47920
|
+
"x-github": {
|
|
47921
|
+
"githubCloudOnly": false,
|
|
47922
|
+
"enabledForGitHubApps": true,
|
|
47923
|
+
"category": "rate-limit",
|
|
47924
|
+
"subcategory": null
|
|
47925
|
+
},
|
|
47926
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
47927
|
+
}
|
|
47928
|
+
},
|
|
47710
47929
|
"/repos/{owner}/{repo}": {
|
|
47711
47930
|
"get": {
|
|
47712
47931
|
"summary": "Get a repository",
|