@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" },
|
|
@@ -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": {
|
|
@@ -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" },
|
|
@@ -69606,7 +69606,7 @@
|
|
|
69606
69606
|
"category": "rate-limit",
|
|
69607
69607
|
"subcategory": null
|
|
69608
69608
|
},
|
|
69609
|
-
"x-octokit": {}
|
|
69609
|
+
"x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
|
|
69610
69610
|
}
|
|
69611
69611
|
},
|
|
69612
69612
|
"/repos/{owner}/{repo}": {
|
package/generated/github.ae.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" },
|
|
@@ -11635,7 +11635,9 @@
|
|
|
11635
11635
|
"category": "rate-limit",
|
|
11636
11636
|
"subcategory": null
|
|
11637
11637
|
},
|
|
11638
|
-
"x-octokit": {
|
|
11638
|
+
"x-octokit": {
|
|
11639
|
+
"diff": { "api.github.com.json": { "type": "changed" } }
|
|
11640
|
+
}
|
|
11639
11641
|
}
|
|
11640
11642
|
},
|
|
11641
11643
|
"/repos/{owner}/{repo}": {
|