@octokit/openapi 6.3.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 +89 -9
- package/generated/api.github.com.json +85 -10
- 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 +50 -3
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +53 -3
- package/generated/ghes-3.2.deref.json +61 -5
- package/generated/ghes-3.2.json +64 -5
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +8 -4
- 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 +61 -5
- package/generated/ghes-3.3.json +64 -5
- 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 +73 -9
- package/generated/ghes-3.4.json +68 -9
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +38 -23
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +220 -574
- package/generated/ghes-3.5-diff-to-api.github.com.json +147 -263
- package/generated/ghes-3.5.deref.json +75 -11
- package/generated/ghes-3.5.json +72 -13
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +41 -3
- 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 +60 -4
- package/generated/github.ae.json +65 -4
- package/package.json +1 -1
package/generated/ghes-3.5.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" },
|
|
@@ -14989,7 +14989,9 @@
|
|
|
14989
14989
|
"category": "rate-limit",
|
|
14990
14990
|
"subcategory": null
|
|
14991
14991
|
},
|
|
14992
|
-
"x-octokit": {
|
|
14992
|
+
"x-octokit": {
|
|
14993
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
14994
|
+
}
|
|
14993
14995
|
}
|
|
14994
14996
|
},
|
|
14995
14997
|
"/repos/{owner}/{repo}": {
|
|
@@ -16884,7 +16886,7 @@
|
|
|
16884
16886
|
},
|
|
16885
16887
|
"post": {
|
|
16886
16888
|
"summary": "Review pending deployments for a workflow run",
|
|
16887
|
-
"description": "Approve or reject pending deployments that are waiting on approval by a required reviewer.\n\
|
|
16889
|
+
"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.",
|
|
16888
16890
|
"tags": ["actions"],
|
|
16889
16891
|
"operationId": "actions/review-pending-deployments-for-run",
|
|
16890
16892
|
"externalDocs": {
|
|
@@ -16946,7 +16948,7 @@
|
|
|
16946
16948
|
},
|
|
16947
16949
|
"x-github": {
|
|
16948
16950
|
"githubCloudOnly": false,
|
|
16949
|
-
"enabledForGitHubApps":
|
|
16951
|
+
"enabledForGitHubApps": false,
|
|
16950
16952
|
"category": "actions",
|
|
16951
16953
|
"subcategory": "workflow-runs"
|
|
16952
16954
|
},
|
|
@@ -20809,7 +20811,7 @@
|
|
|
20809
20811
|
"operationId": "code-scanning/list-alerts-for-repo",
|
|
20810
20812
|
"externalDocs": {
|
|
20811
20813
|
"description": "API method documentation",
|
|
20812
|
-
"url": "https://docs.github.com/
|
|
20814
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-code-scanning-alerts-for-a-repository"
|
|
20813
20815
|
},
|
|
20814
20816
|
"parameters": [
|
|
20815
20817
|
{ "$ref": "#/components/parameters/owner" },
|
|
@@ -20822,13 +20824,13 @@
|
|
|
20822
20824
|
{ "$ref": "#/components/parameters/direction" },
|
|
20823
20825
|
{
|
|
20824
20826
|
"name": "sort",
|
|
20825
|
-
"description": "The property by which to sort the results.",
|
|
20827
|
+
"description": "The property by which to sort the results. . `number` is deprecated - we recommend that you use `created` instead.",
|
|
20826
20828
|
"in": "query",
|
|
20827
20829
|
"required": false,
|
|
20828
20830
|
"schema": {
|
|
20829
20831
|
"type": "string",
|
|
20830
|
-
"enum": ["created", "
|
|
20831
|
-
"default": "
|
|
20832
|
+
"enum": ["created", "number", "updated"],
|
|
20833
|
+
"default": "created"
|
|
20832
20834
|
}
|
|
20833
20835
|
},
|
|
20834
20836
|
{
|
|
@@ -20873,9 +20875,7 @@
|
|
|
20873
20875
|
"category": "code-scanning",
|
|
20874
20876
|
"subcategory": null
|
|
20875
20877
|
},
|
|
20876
|
-
"x-octokit": {
|
|
20877
|
-
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
20878
|
-
}
|
|
20878
|
+
"x-octokit": {}
|
|
20879
20879
|
}
|
|
20880
20880
|
},
|
|
20881
20881
|
"/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}": {
|
|
@@ -21160,7 +21160,6 @@
|
|
|
21160
21160
|
"200": {
|
|
21161
21161
|
"description": "Response",
|
|
21162
21162
|
"content": {
|
|
21163
|
-
"application/json+sarif": { "schema": { "type": "string" } },
|
|
21164
21163
|
"application/json": {
|
|
21165
21164
|
"schema": {
|
|
21166
21165
|
"$ref": "#/components/schemas/code-scanning-analysis"
|
|
@@ -21170,6 +21169,14 @@
|
|
|
21170
21169
|
"$ref": "#/components/examples/code-scanning-analysis-default"
|
|
21171
21170
|
}
|
|
21172
21171
|
}
|
|
21172
|
+
},
|
|
21173
|
+
"application/json+sarif": {
|
|
21174
|
+
"schema": { "type": "object", "additionalProperties": true },
|
|
21175
|
+
"examples": {
|
|
21176
|
+
"response": {
|
|
21177
|
+
"$ref": "#/components/examples/code-scanning-analysis-sarif"
|
|
21178
|
+
}
|
|
21179
|
+
}
|
|
21173
21180
|
}
|
|
21174
21181
|
}
|
|
21175
21182
|
},
|
|
@@ -21289,6 +21296,15 @@
|
|
|
21289
21296
|
}
|
|
21290
21297
|
},
|
|
21291
21298
|
"required": ["commit_sha", "ref", "sarif"]
|
|
21299
|
+
},
|
|
21300
|
+
"examples": {
|
|
21301
|
+
"default": {
|
|
21302
|
+
"value": {
|
|
21303
|
+
"commit_sha": "4b6472266afd7b471e86085a6659e8c7f2b119da",
|
|
21304
|
+
"ref": "refs/heads/master",
|
|
21305
|
+
"sarif": "H4sICMLGdF4AA2V4YW1wbGUuc2FyaWYAvVjdbts2FL7PUxDCijaA/CM7iRNfLkPXYgHSNstumlzQ0pHFVCI1korjFgH2ONtr7Ul2KFmy/mOn6QIkjsjDw0/nfN85NL8dEGL9pNwAImqRObECrWM1H40kXQ2XTAfJIlEgXcE1cD10RTQSVDE10K4aKSqZP1AxuKOIKg1ydJU60jSfSh8Hk6EzHA/vlOCWbfa7B6kYPpj90rlsWCZcmbHP5Bs+4oAWIjQD2SMOeJLh2vIQDnIaQerqXHjw8YIgxohybxAyDsS4cAPKsp03K4RcUs6+Up2D+JXpd8mibKIQN9fM/aMCdbyBujGSSQgVxJtx5qX2d2qUcIweQhEuDQf3GBO6CKHkogx/N3MVCKl/AeVKFuf4y5ubsMGDTj1ep+5I7sgmLIpxtU38hLtmMRGSuCFVyip5eKzs5ydh+LztVL6f2m6oih1BkYiuyQIIJWodxVpERPj4sEiWBNNH8EWT0DMG8EAjzKVHXCrB4FkPu/F64NMk1OeC+2yZSNoBOoR7CC0EzYWGbm+xFDFIzbI011+cLjfZtyJkmMZfumAh02uL3NpV2y+MZ6RAjxibyKrNxxJcVjANSb4eBGwZ1M0KsuyR2poLr5rMl8vaDSeVn6eTWEO2j2xIEcmhwlTKNOi4GMOI8gfuZYkvJ7b4v5Tiumyz7RnHeodFzpS8ASIZCH/AYdWi2z3sG8JtFxJ6fF9yR9CdifBr9Pd6d5V2+zbJKjjCFGGmsHuYFy2ytJq9tUxcLSRSQecppOGKrpUxYfxefMEFK+wOGa4hudQByBVT0L+EKtyACxnRsABhEx1QjVDs1KNI9MbpnhqfE45B6FJvu3hRu5VRU9MhZLmK7fqkKyQSTHNoyMqUFMqXCV3CwAeqEwmVokraK8IuBaGvHjQ0gMYrKjnjyw7uk9uD8tgmsBbFMPnU1bV2ZhkJNkuolUiWys3UPWzs5aaIUz9TBe8zMb+6+nT+6fLy91dlE3xzeDDT4zYszb0bW6NjJd0Rvn2EnLvWLFSdKPpBzInzfRgu8ETyMcH8nIfMnJCeC2PyfTA+UKngcnGH7Hw2hGkVQs5YlIRCtdWZYQ4/73es2JlxkfViOEIhoWJq5Oo6UBBfiKIqFBWhiE3jJGbFwVoxBHTRSuIS67sMeplei24X20shLjG+8gqbKC/bESiNMC+wd5q5id0yeS7CJEqXzmrTWNq3k05l84P6f4/bEmXFJjI0fIt1BGQssUnUDkBYeVhE5TqPnMH3jqogDcP0zKcTgLPTMSzOjhbjuVOmW23l1fYNStulfo6sXlFsGLhbDy5RECPRYGCTgOj2bd4nUQEivEd0H7KKYxqnEhFohuur3a3UPskbH/+Yg0+M5P2MHRJu3ziHh3Z2NCrWt3XF1rWTw8Ne/pfbWYXnDSE0SNZQQt1i18q7te2vOhu7ehWuvVyeu0wbLZi24mhoo6aOOTltzG/lgdVvVoXQq5V+pewkFIzL8fjEcadT55jOjpzFzHuOTtDNrMkJPMVQDd7F09RID72O/UPZ0tmctqZ7kWX6EmSZnDpP8GU67SXM8XE3YSrxbKsx6UReZ4y6n/FVZfJjs9Z7stma75W5yQtkzjk5eSJxk1lv4o7+j8TlhaJ2lsKWZO6lruDPBLib3x5ZN/KGWzZ+pn///evv7OOf4iIBv3oY9L/l1wiJ9p0Tc+F1zZnOE9NxXWEus6IQhr5pMfoqxi8WPsuu0azsns4UC6WzNzHIzbeEx4P/AJ3SefgcFAAA"
|
|
21306
|
+
}
|
|
21307
|
+
}
|
|
21292
21308
|
}
|
|
21293
21309
|
}
|
|
21294
21310
|
}
|
|
@@ -70021,7 +70037,7 @@
|
|
|
70021
70037
|
]
|
|
70022
70038
|
},
|
|
70023
70039
|
"code-scanning-analysis-default": {
|
|
70024
|
-
"summary": "
|
|
70040
|
+
"summary": "application/json response",
|
|
70025
70041
|
"value": {
|
|
70026
70042
|
"ref": "refs/heads/main",
|
|
70027
70043
|
"commit_sha": "c18c69115654ff0166991962832dc2bd7756e655",
|
|
@@ -70040,6 +70056,49 @@
|
|
|
70040
70056
|
"warning": ""
|
|
70041
70057
|
}
|
|
70042
70058
|
},
|
|
70059
|
+
"code-scanning-analysis-sarif": {
|
|
70060
|
+
"summary": "application/json+sarif response",
|
|
70061
|
+
"value": {
|
|
70062
|
+
"runs": [
|
|
70063
|
+
{
|
|
70064
|
+
"tool": {
|
|
70065
|
+
"driver": {
|
|
70066
|
+
"name": "CodeQL",
|
|
70067
|
+
"organization": "GitHub",
|
|
70068
|
+
"semanticVersion": "1.0.0",
|
|
70069
|
+
"rules": [
|
|
70070
|
+
{
|
|
70071
|
+
"id": "js/unused-local-variable",
|
|
70072
|
+
"name": "js/unused-local-variable"
|
|
70073
|
+
}
|
|
70074
|
+
]
|
|
70075
|
+
}
|
|
70076
|
+
},
|
|
70077
|
+
"results": [
|
|
70078
|
+
{
|
|
70079
|
+
"guid": "326aa09f-9af8-13cf-9851-3d0e5183ec38",
|
|
70080
|
+
"message": { "text": "Unused variable foo." },
|
|
70081
|
+
"locations": [
|
|
70082
|
+
{
|
|
70083
|
+
"physicalLocation": {
|
|
70084
|
+
"artifactLocation": { "uri": "file1.js" },
|
|
70085
|
+
"region": { "startLine": 1 }
|
|
70086
|
+
}
|
|
70087
|
+
}
|
|
70088
|
+
],
|
|
70089
|
+
"ruleId": "js/unused-local-variable",
|
|
70090
|
+
"properties": [
|
|
70091
|
+
{ "github/alertNumber": 2 },
|
|
70092
|
+
{
|
|
70093
|
+
"github/alertUrl": "https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2"
|
|
70094
|
+
}
|
|
70095
|
+
]
|
|
70096
|
+
}
|
|
70097
|
+
]
|
|
70098
|
+
}
|
|
70099
|
+
]
|
|
70100
|
+
}
|
|
70101
|
+
},
|
|
70043
70102
|
"code-scanning-analysis-deletion": {
|
|
70044
70103
|
"summary": "Default response",
|
|
70045
70104
|
"value": {
|
|
@@ -5924,6 +5924,33 @@
|
|
|
5924
5924
|
}
|
|
5925
5925
|
}
|
|
5926
5926
|
},
|
|
5927
|
+
"/rate_limit": {
|
|
5928
|
+
"get": {
|
|
5929
|
+
"responses": {
|
|
5930
|
+
"changed": {
|
|
5931
|
+
"200": {
|
|
5932
|
+
"content": {
|
|
5933
|
+
"changed": {
|
|
5934
|
+
"application/json": {
|
|
5935
|
+
"schema_changed": {
|
|
5936
|
+
"properties_changed": {
|
|
5937
|
+
"changed": {
|
|
5938
|
+
"resources": {
|
|
5939
|
+
"properties_changed": {
|
|
5940
|
+
"removed": ["dependency_snapshots"]
|
|
5941
|
+
}
|
|
5942
|
+
}
|
|
5943
|
+
}
|
|
5944
|
+
}
|
|
5945
|
+
}
|
|
5946
|
+
}
|
|
5947
|
+
}
|
|
5948
|
+
}
|
|
5949
|
+
}
|
|
5950
|
+
}
|
|
5951
|
+
}
|
|
5952
|
+
}
|
|
5953
|
+
},
|
|
5927
5954
|
"/repos/{owner}/{repo}": {
|
|
5928
5955
|
"get": {
|
|
5929
5956
|
"responses": {
|
|
@@ -6691,13 +6718,13 @@
|
|
|
6691
6718
|
"style": "form"
|
|
6692
6719
|
},
|
|
6693
6720
|
{
|
|
6694
|
-
"description": "The property by which to sort the results.",
|
|
6721
|
+
"description": "The property by which to sort the results. `number` is deprecated - we recommend that you use `created` instead.",
|
|
6695
6722
|
"in": "query",
|
|
6696
6723
|
"name": "sort",
|
|
6697
6724
|
"required": false,
|
|
6698
6725
|
"schema": {
|
|
6699
|
-
"default": "
|
|
6700
|
-
"enum": ["created", "
|
|
6726
|
+
"default": "created",
|
|
6727
|
+
"enum": ["created", "number", "updated"],
|
|
6701
6728
|
"type": "string"
|
|
6702
6729
|
},
|
|
6703
6730
|
"style": "form"
|
|
@@ -7165,6 +7192,17 @@
|
|
|
7165
7192
|
}
|
|
7166
7193
|
},
|
|
7167
7194
|
"post": {
|
|
7195
|
+
"request_body": {
|
|
7196
|
+
"content_changed": {
|
|
7197
|
+
"changed": {
|
|
7198
|
+
"application/json": {
|
|
7199
|
+
"schema_changed": {
|
|
7200
|
+
"properties_changed": { "removed": ["name"] }
|
|
7201
|
+
}
|
|
7202
|
+
}
|
|
7203
|
+
}
|
|
7204
|
+
}
|
|
7205
|
+
},
|
|
7168
7206
|
"responses": {
|
|
7169
7207
|
"changed": {
|
|
7170
7208
|
"202": {
|
|
@@ -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" },
|
|
@@ -32191,6 +32191,225 @@
|
|
|
32191
32191
|
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
32192
32192
|
}
|
|
32193
32193
|
},
|
|
32194
|
+
"/rate_limit": {
|
|
32195
|
+
"get": {
|
|
32196
|
+
"summary": "Get rate limit status for the authenticated user",
|
|
32197
|
+
"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.",
|
|
32198
|
+
"tags": ["rate-limit"],
|
|
32199
|
+
"operationId": "rate-limit/get",
|
|
32200
|
+
"externalDocs": {
|
|
32201
|
+
"description": "API method documentation",
|
|
32202
|
+
"url": "https://docs.github.com/github-ae@latest/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user"
|
|
32203
|
+
},
|
|
32204
|
+
"parameters": [],
|
|
32205
|
+
"responses": {
|
|
32206
|
+
"200": {
|
|
32207
|
+
"description": "Response",
|
|
32208
|
+
"content": {
|
|
32209
|
+
"application/json": {
|
|
32210
|
+
"schema": {
|
|
32211
|
+
"title": "Rate Limit Overview",
|
|
32212
|
+
"description": "Rate Limit Overview",
|
|
32213
|
+
"type": "object",
|
|
32214
|
+
"properties": {
|
|
32215
|
+
"resources": {
|
|
32216
|
+
"type": "object",
|
|
32217
|
+
"properties": {
|
|
32218
|
+
"core": {
|
|
32219
|
+
"title": "Rate Limit",
|
|
32220
|
+
"type": "object",
|
|
32221
|
+
"properties": {
|
|
32222
|
+
"limit": { "type": "integer" },
|
|
32223
|
+
"remaining": { "type": "integer" },
|
|
32224
|
+
"reset": { "type": "integer" },
|
|
32225
|
+
"used": { "type": "integer" }
|
|
32226
|
+
},
|
|
32227
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32228
|
+
},
|
|
32229
|
+
"graphql": {
|
|
32230
|
+
"title": "Rate Limit",
|
|
32231
|
+
"type": "object",
|
|
32232
|
+
"properties": {
|
|
32233
|
+
"limit": { "type": "integer" },
|
|
32234
|
+
"remaining": { "type": "integer" },
|
|
32235
|
+
"reset": { "type": "integer" },
|
|
32236
|
+
"used": { "type": "integer" }
|
|
32237
|
+
},
|
|
32238
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32239
|
+
},
|
|
32240
|
+
"search": {
|
|
32241
|
+
"title": "Rate Limit",
|
|
32242
|
+
"type": "object",
|
|
32243
|
+
"properties": {
|
|
32244
|
+
"limit": { "type": "integer" },
|
|
32245
|
+
"remaining": { "type": "integer" },
|
|
32246
|
+
"reset": { "type": "integer" },
|
|
32247
|
+
"used": { "type": "integer" }
|
|
32248
|
+
},
|
|
32249
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32250
|
+
},
|
|
32251
|
+
"source_import": {
|
|
32252
|
+
"title": "Rate Limit",
|
|
32253
|
+
"type": "object",
|
|
32254
|
+
"properties": {
|
|
32255
|
+
"limit": { "type": "integer" },
|
|
32256
|
+
"remaining": { "type": "integer" },
|
|
32257
|
+
"reset": { "type": "integer" },
|
|
32258
|
+
"used": { "type": "integer" }
|
|
32259
|
+
},
|
|
32260
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32261
|
+
},
|
|
32262
|
+
"integration_manifest": {
|
|
32263
|
+
"title": "Rate Limit",
|
|
32264
|
+
"type": "object",
|
|
32265
|
+
"properties": {
|
|
32266
|
+
"limit": { "type": "integer" },
|
|
32267
|
+
"remaining": { "type": "integer" },
|
|
32268
|
+
"reset": { "type": "integer" },
|
|
32269
|
+
"used": { "type": "integer" }
|
|
32270
|
+
},
|
|
32271
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32272
|
+
},
|
|
32273
|
+
"code_scanning_upload": {
|
|
32274
|
+
"title": "Rate Limit",
|
|
32275
|
+
"type": "object",
|
|
32276
|
+
"properties": {
|
|
32277
|
+
"limit": { "type": "integer" },
|
|
32278
|
+
"remaining": { "type": "integer" },
|
|
32279
|
+
"reset": { "type": "integer" },
|
|
32280
|
+
"used": { "type": "integer" }
|
|
32281
|
+
},
|
|
32282
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32283
|
+
},
|
|
32284
|
+
"actions_runner_registration": {
|
|
32285
|
+
"title": "Rate Limit",
|
|
32286
|
+
"type": "object",
|
|
32287
|
+
"properties": {
|
|
32288
|
+
"limit": { "type": "integer" },
|
|
32289
|
+
"remaining": { "type": "integer" },
|
|
32290
|
+
"reset": { "type": "integer" },
|
|
32291
|
+
"used": { "type": "integer" }
|
|
32292
|
+
},
|
|
32293
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32294
|
+
},
|
|
32295
|
+
"scim": {
|
|
32296
|
+
"title": "Rate Limit",
|
|
32297
|
+
"type": "object",
|
|
32298
|
+
"properties": {
|
|
32299
|
+
"limit": { "type": "integer" },
|
|
32300
|
+
"remaining": { "type": "integer" },
|
|
32301
|
+
"reset": { "type": "integer" },
|
|
32302
|
+
"used": { "type": "integer" }
|
|
32303
|
+
},
|
|
32304
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32305
|
+
}
|
|
32306
|
+
},
|
|
32307
|
+
"required": ["core", "search"]
|
|
32308
|
+
},
|
|
32309
|
+
"rate": {
|
|
32310
|
+
"title": "Rate Limit",
|
|
32311
|
+
"type": "object",
|
|
32312
|
+
"properties": {
|
|
32313
|
+
"limit": { "type": "integer" },
|
|
32314
|
+
"remaining": { "type": "integer" },
|
|
32315
|
+
"reset": { "type": "integer" },
|
|
32316
|
+
"used": { "type": "integer" }
|
|
32317
|
+
},
|
|
32318
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
32319
|
+
}
|
|
32320
|
+
},
|
|
32321
|
+
"required": ["rate", "resources"]
|
|
32322
|
+
},
|
|
32323
|
+
"examples": {
|
|
32324
|
+
"default": {
|
|
32325
|
+
"value": {
|
|
32326
|
+
"resources": {
|
|
32327
|
+
"core": {
|
|
32328
|
+
"limit": 5000,
|
|
32329
|
+
"remaining": 4999,
|
|
32330
|
+
"reset": 1372700873,
|
|
32331
|
+
"used": 1
|
|
32332
|
+
},
|
|
32333
|
+
"search": {
|
|
32334
|
+
"limit": 30,
|
|
32335
|
+
"remaining": 18,
|
|
32336
|
+
"reset": 1372697452,
|
|
32337
|
+
"used": 12
|
|
32338
|
+
},
|
|
32339
|
+
"graphql": {
|
|
32340
|
+
"limit": 5000,
|
|
32341
|
+
"remaining": 4993,
|
|
32342
|
+
"reset": 1372700389,
|
|
32343
|
+
"used": 7
|
|
32344
|
+
},
|
|
32345
|
+
"integration_manifest": {
|
|
32346
|
+
"limit": 5000,
|
|
32347
|
+
"remaining": 4999,
|
|
32348
|
+
"reset": 1551806725,
|
|
32349
|
+
"used": 1
|
|
32350
|
+
},
|
|
32351
|
+
"code_scanning_upload": {
|
|
32352
|
+
"limit": 500,
|
|
32353
|
+
"remaining": 499,
|
|
32354
|
+
"reset": 1551806725,
|
|
32355
|
+
"used": 1
|
|
32356
|
+
}
|
|
32357
|
+
},
|
|
32358
|
+
"rate": {
|
|
32359
|
+
"limit": 5000,
|
|
32360
|
+
"remaining": 4999,
|
|
32361
|
+
"reset": 1372700873,
|
|
32362
|
+
"used": 1
|
|
32363
|
+
}
|
|
32364
|
+
}
|
|
32365
|
+
}
|
|
32366
|
+
}
|
|
32367
|
+
}
|
|
32368
|
+
},
|
|
32369
|
+
"headers": {
|
|
32370
|
+
"X-RateLimit-Limit": {
|
|
32371
|
+
"example": 5000,
|
|
32372
|
+
"schema": { "type": "integer" }
|
|
32373
|
+
},
|
|
32374
|
+
"X-RateLimit-Remaining": {
|
|
32375
|
+
"example": 4999,
|
|
32376
|
+
"schema": { "type": "integer" }
|
|
32377
|
+
},
|
|
32378
|
+
"X-RateLimit-Reset": {
|
|
32379
|
+
"example": 1590701888,
|
|
32380
|
+
"schema": { "type": "integer", "format": "timestamp" }
|
|
32381
|
+
}
|
|
32382
|
+
}
|
|
32383
|
+
},
|
|
32384
|
+
"304": { "description": "Not modified" },
|
|
32385
|
+
"404": {
|
|
32386
|
+
"description": "Resource not found",
|
|
32387
|
+
"content": {
|
|
32388
|
+
"application/json": {
|
|
32389
|
+
"schema": {
|
|
32390
|
+
"title": "Basic Error",
|
|
32391
|
+
"description": "Basic Error",
|
|
32392
|
+
"type": "object",
|
|
32393
|
+
"properties": {
|
|
32394
|
+
"message": { "type": "string" },
|
|
32395
|
+
"documentation_url": { "type": "string" },
|
|
32396
|
+
"url": { "type": "string" },
|
|
32397
|
+
"status": { "type": "string" }
|
|
32398
|
+
}
|
|
32399
|
+
}
|
|
32400
|
+
}
|
|
32401
|
+
}
|
|
32402
|
+
}
|
|
32403
|
+
},
|
|
32404
|
+
"x-github": {
|
|
32405
|
+
"githubCloudOnly": false,
|
|
32406
|
+
"enabledForGitHubApps": true,
|
|
32407
|
+
"category": "rate-limit",
|
|
32408
|
+
"subcategory": null
|
|
32409
|
+
},
|
|
32410
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
32411
|
+
}
|
|
32412
|
+
},
|
|
32194
32413
|
"/repos/{owner}/{repo}": {
|
|
32195
32414
|
"get": {
|
|
32196
32415
|
"summary": "Get a repository",
|
|
@@ -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" },
|
|
@@ -3679,6 +3679,58 @@
|
|
|
3679
3679
|
}
|
|
3680
3680
|
}
|
|
3681
3681
|
},
|
|
3682
|
+
"/rate_limit": {
|
|
3683
|
+
"get": {
|
|
3684
|
+
"summary": "Get rate limit status for the authenticated user",
|
|
3685
|
+
"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.",
|
|
3686
|
+
"tags": ["rate-limit"],
|
|
3687
|
+
"operationId": "rate-limit/get",
|
|
3688
|
+
"externalDocs": {
|
|
3689
|
+
"description": "API method documentation",
|
|
3690
|
+
"url": "https://docs.github.com/github-ae@latest/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user"
|
|
3691
|
+
},
|
|
3692
|
+
"parameters": [],
|
|
3693
|
+
"responses": {
|
|
3694
|
+
"200": {
|
|
3695
|
+
"description": "Response",
|
|
3696
|
+
"content": {
|
|
3697
|
+
"application/json": {
|
|
3698
|
+
"schema": {
|
|
3699
|
+
"$ref": "#/components/schemas/rate-limit-overview"
|
|
3700
|
+
},
|
|
3701
|
+
"examples": {
|
|
3702
|
+
"default": {
|
|
3703
|
+
"$ref": "#/components/examples/rate-limit-overview"
|
|
3704
|
+
}
|
|
3705
|
+
}
|
|
3706
|
+
}
|
|
3707
|
+
},
|
|
3708
|
+
"headers": {
|
|
3709
|
+
"X-RateLimit-Limit": {
|
|
3710
|
+
"$ref": "#/components/headers/x-rate-limit-limit"
|
|
3711
|
+
},
|
|
3712
|
+
"X-RateLimit-Remaining": {
|
|
3713
|
+
"$ref": "#/components/headers/x-rate-limit-remaining"
|
|
3714
|
+
},
|
|
3715
|
+
"X-RateLimit-Reset": {
|
|
3716
|
+
"$ref": "#/components/headers/x-rate-limit-reset"
|
|
3717
|
+
}
|
|
3718
|
+
}
|
|
3719
|
+
},
|
|
3720
|
+
"304": { "$ref": "#/components/responses/not_modified" },
|
|
3721
|
+
"404": { "$ref": "#/components/responses/not_found" }
|
|
3722
|
+
},
|
|
3723
|
+
"x-github": {
|
|
3724
|
+
"githubCloudOnly": false,
|
|
3725
|
+
"enabledForGitHubApps": true,
|
|
3726
|
+
"category": "rate-limit",
|
|
3727
|
+
"subcategory": null
|
|
3728
|
+
},
|
|
3729
|
+
"x-octokit": {
|
|
3730
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
},
|
|
3682
3734
|
"/repos/{owner}/{repo}": {
|
|
3683
3735
|
"get": {
|
|
3684
3736
|
"summary": "Get a repository",
|
|
@@ -11281,6 +11333,35 @@
|
|
|
11281
11333
|
"updated_at"
|
|
11282
11334
|
]
|
|
11283
11335
|
},
|
|
11336
|
+
"rate-limit-overview": {
|
|
11337
|
+
"title": "Rate Limit Overview",
|
|
11338
|
+
"description": "Rate Limit Overview",
|
|
11339
|
+
"type": "object",
|
|
11340
|
+
"properties": {
|
|
11341
|
+
"resources": {
|
|
11342
|
+
"type": "object",
|
|
11343
|
+
"properties": {
|
|
11344
|
+
"core": { "$ref": "#/components/schemas/rate-limit" },
|
|
11345
|
+
"graphql": { "$ref": "#/components/schemas/rate-limit" },
|
|
11346
|
+
"search": { "$ref": "#/components/schemas/rate-limit" },
|
|
11347
|
+
"source_import": { "$ref": "#/components/schemas/rate-limit" },
|
|
11348
|
+
"integration_manifest": {
|
|
11349
|
+
"$ref": "#/components/schemas/rate-limit"
|
|
11350
|
+
},
|
|
11351
|
+
"code_scanning_upload": {
|
|
11352
|
+
"$ref": "#/components/schemas/rate-limit"
|
|
11353
|
+
},
|
|
11354
|
+
"actions_runner_registration": {
|
|
11355
|
+
"$ref": "#/components/schemas/rate-limit"
|
|
11356
|
+
},
|
|
11357
|
+
"scim": { "$ref": "#/components/schemas/rate-limit" }
|
|
11358
|
+
},
|
|
11359
|
+
"required": ["core", "search"]
|
|
11360
|
+
},
|
|
11361
|
+
"rate": { "$ref": "#/components/schemas/rate-limit" }
|
|
11362
|
+
},
|
|
11363
|
+
"required": ["rate", "resources"]
|
|
11364
|
+
},
|
|
11284
11365
|
"full-repository": {
|
|
11285
11366
|
"title": "Full Repository",
|
|
11286
11367
|
"description": "Full Repository",
|
|
@@ -14278,6 +14359,17 @@
|
|
|
14278
14359
|
},
|
|
14279
14360
|
"required": ["url", "html_url", "key", "name"]
|
|
14280
14361
|
},
|
|
14362
|
+
"rate-limit": {
|
|
14363
|
+
"title": "Rate Limit",
|
|
14364
|
+
"type": "object",
|
|
14365
|
+
"properties": {
|
|
14366
|
+
"limit": { "type": "integer" },
|
|
14367
|
+
"remaining": { "type": "integer" },
|
|
14368
|
+
"reset": { "type": "integer" },
|
|
14369
|
+
"used": { "type": "integer" }
|
|
14370
|
+
},
|
|
14371
|
+
"required": ["limit", "remaining", "reset", "used"]
|
|
14372
|
+
},
|
|
14281
14373
|
"code-of-conduct-simple": {
|
|
14282
14374
|
"title": "Code Of Conduct Simple",
|
|
14283
14375
|
"description": "Code of Conduct Simple",
|
|
@@ -17732,6 +17824,48 @@
|
|
|
17732
17824
|
"watchers": 1
|
|
17733
17825
|
}
|
|
17734
17826
|
},
|
|
17827
|
+
"rate-limit-overview": {
|
|
17828
|
+
"value": {
|
|
17829
|
+
"resources": {
|
|
17830
|
+
"core": {
|
|
17831
|
+
"limit": 5000,
|
|
17832
|
+
"remaining": 4999,
|
|
17833
|
+
"reset": 1372700873,
|
|
17834
|
+
"used": 1
|
|
17835
|
+
},
|
|
17836
|
+
"search": {
|
|
17837
|
+
"limit": 30,
|
|
17838
|
+
"remaining": 18,
|
|
17839
|
+
"reset": 1372697452,
|
|
17840
|
+
"used": 12
|
|
17841
|
+
},
|
|
17842
|
+
"graphql": {
|
|
17843
|
+
"limit": 5000,
|
|
17844
|
+
"remaining": 4993,
|
|
17845
|
+
"reset": 1372700389,
|
|
17846
|
+
"used": 7
|
|
17847
|
+
},
|
|
17848
|
+
"integration_manifest": {
|
|
17849
|
+
"limit": 5000,
|
|
17850
|
+
"remaining": 4999,
|
|
17851
|
+
"reset": 1551806725,
|
|
17852
|
+
"used": 1
|
|
17853
|
+
},
|
|
17854
|
+
"code_scanning_upload": {
|
|
17855
|
+
"limit": 500,
|
|
17856
|
+
"remaining": 499,
|
|
17857
|
+
"reset": 1551806725,
|
|
17858
|
+
"used": 1
|
|
17859
|
+
}
|
|
17860
|
+
},
|
|
17861
|
+
"rate": {
|
|
17862
|
+
"limit": 5000,
|
|
17863
|
+
"remaining": 4999,
|
|
17864
|
+
"reset": 1372700873,
|
|
17865
|
+
"used": 1
|
|
17866
|
+
}
|
|
17867
|
+
}
|
|
17868
|
+
},
|
|
17735
17869
|
"full-repository-default-response": {
|
|
17736
17870
|
"summary": "Default response",
|
|
17737
17871
|
"value": {
|
|
@@ -24333,6 +24467,18 @@
|
|
|
24333
24467
|
"link": {
|
|
24334
24468
|
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
|
24335
24469
|
"schema": { "type": "string" }
|
|
24470
|
+
},
|
|
24471
|
+
"x-rate-limit-limit": {
|
|
24472
|
+
"example": 5000,
|
|
24473
|
+
"schema": { "type": "integer" }
|
|
24474
|
+
},
|
|
24475
|
+
"x-rate-limit-remaining": {
|
|
24476
|
+
"example": 4999,
|
|
24477
|
+
"schema": { "type": "integer" }
|
|
24478
|
+
},
|
|
24479
|
+
"x-rate-limit-reset": {
|
|
24480
|
+
"example": 1590701888,
|
|
24481
|
+
"schema": { "type": "integer", "format": "timestamp" }
|
|
24336
24482
|
}
|
|
24337
24483
|
},
|
|
24338
24484
|
"responses": {
|