@octokit/openapi 6.6.1 → 6.7.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 +294 -11
- package/generated/api.github.com.json +123 -13
- 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 +40 -6
- package/generated/ghes-3.2.json +46 -4
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +39 -5
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +45 -3
- package/generated/ghes-3.3.deref.json +40 -6
- package/generated/ghes-3.3.json +46 -4
- 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 +46 -9
- package/generated/ghes-3.4.json +50 -11
- package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +1 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +3 -3
- package/generated/ghes-3.5-diff-to-api.github.com.json +3 -3
- package/generated/ghes-3.5.deref.json +62 -11
- package/generated/ghes-3.5.json +66 -13
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +1 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +16 -2
- package/generated/github.ae.json +16 -2
- 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.7.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" },
|
|
@@ -2941,6 +2941,18 @@
|
|
|
2941
2941
|
"type": "string"
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
|
+
},
|
|
2945
|
+
"examples": {
|
|
2946
|
+
"default": {
|
|
2947
|
+
"summary": "Create an authorization",
|
|
2948
|
+
"value": {
|
|
2949
|
+
"scopes": ["public_repo"],
|
|
2950
|
+
"note": "optional note",
|
|
2951
|
+
"note_url": "http://optional/note/url",
|
|
2952
|
+
"client_id": "abcde12345fghij67890",
|
|
2953
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f"
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2944
2956
|
}
|
|
2945
2957
|
}
|
|
2946
2958
|
}
|
|
@@ -2991,7 +3003,7 @@
|
|
|
2991
3003
|
"description": "API method documentation",
|
|
2992
3004
|
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app"
|
|
2993
3005
|
},
|
|
2994
|
-
"parameters": [{ "$ref": "#/components/parameters/client-id" }],
|
|
3006
|
+
"parameters": [{ "$ref": "#/components/parameters/oauth-client-id" }],
|
|
2995
3007
|
"requestBody": {
|
|
2996
3008
|
"required": true,
|
|
2997
3009
|
"content": {
|
|
@@ -3026,6 +3038,17 @@
|
|
|
3026
3038
|
},
|
|
3027
3039
|
"required": ["client_secret"],
|
|
3028
3040
|
"type": "object"
|
|
3041
|
+
},
|
|
3042
|
+
"examples": {
|
|
3043
|
+
"default": {
|
|
3044
|
+
"summary": "Create an authorization for an app",
|
|
3045
|
+
"value": {
|
|
3046
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3047
|
+
"scopes": ["public_repo"],
|
|
3048
|
+
"note": "optional note",
|
|
3049
|
+
"note_url": "http://optional/note/url"
|
|
3050
|
+
}
|
|
3051
|
+
}
|
|
3029
3052
|
}
|
|
3030
3053
|
}
|
|
3031
3054
|
}
|
|
@@ -3095,7 +3118,7 @@
|
|
|
3095
3118
|
"url": "https://docs.github.com/enterprise-server@3.5/rest/reference/oauth-authorizations#get-or-create-an-authorization-for-a-specific-app-and-fingerprint"
|
|
3096
3119
|
},
|
|
3097
3120
|
"parameters": [
|
|
3098
|
-
{ "$ref": "#/components/parameters/client-id" },
|
|
3121
|
+
{ "$ref": "#/components/parameters/oauth-client-id" },
|
|
3099
3122
|
{
|
|
3100
3123
|
"name": "fingerprint",
|
|
3101
3124
|
"in": "path",
|
|
@@ -3133,6 +3156,17 @@
|
|
|
3133
3156
|
},
|
|
3134
3157
|
"required": ["client_secret"],
|
|
3135
3158
|
"type": "object"
|
|
3159
|
+
},
|
|
3160
|
+
"examples": {
|
|
3161
|
+
"default": {
|
|
3162
|
+
"summary": "Create an authorization for an app and fingerprint",
|
|
3163
|
+
"value": {
|
|
3164
|
+
"client_secret": "3ef4ad510c59ad37bac6bb4f80047fb3aee3cc7f",
|
|
3165
|
+
"scopes": ["public_repo"],
|
|
3166
|
+
"note": "optional note",
|
|
3167
|
+
"note_url": "http://optional/note/url"
|
|
3168
|
+
}
|
|
3169
|
+
}
|
|
3136
3170
|
}
|
|
3137
3171
|
}
|
|
3138
3172
|
}
|
|
@@ -5408,7 +5442,7 @@
|
|
|
5408
5442
|
"/enterprises/{enterprise}/settings/billing/advanced-security": {
|
|
5409
5443
|
"get": {
|
|
5410
5444
|
"summary": "Get GitHub Advanced Security active committers for an enterprise",
|
|
5411
|
-
"description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of active_users for each repository.",
|
|
5445
|
+
"description": "Gets the GitHub Advanced Security active committers for an enterprise per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.",
|
|
5412
5446
|
"tags": ["billing"],
|
|
5413
5447
|
"operationId": "billing/get-github-advanced-security-billing-ghe",
|
|
5414
5448
|
"externalDocs": {
|
|
@@ -9484,7 +9518,7 @@
|
|
|
9484
9518
|
"/orgs/{org}/code-scanning/alerts": {
|
|
9485
9519
|
"get": {
|
|
9486
9520
|
"summary": "List code scanning alerts for an organization",
|
|
9487
|
-
"description": "Lists
|
|
9521
|
+
"description": "Lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see \"[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).\"\n\nTo use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.\n\nGitHub Apps must have the `security_events` read permission to use this endpoint.",
|
|
9488
9522
|
"tags": ["code-scanning"],
|
|
9489
9523
|
"operationId": "code-scanning/list-alerts-for-org",
|
|
9490
9524
|
"externalDocs": {
|
|
@@ -9502,7 +9536,7 @@
|
|
|
9502
9536
|
{ "$ref": "#/components/parameters/direction" },
|
|
9503
9537
|
{
|
|
9504
9538
|
"name": "state",
|
|
9505
|
-
"description": "
|
|
9539
|
+
"description": "If specified, only code scanning alerts with this state will be returned.",
|
|
9506
9540
|
"in": "query",
|
|
9507
9541
|
"required": false,
|
|
9508
9542
|
"schema": {
|
|
@@ -12081,7 +12115,7 @@
|
|
|
12081
12115
|
"/orgs/{org}/settings/billing/advanced-security": {
|
|
12082
12116
|
"get": {
|
|
12083
12117
|
"summary": "Get GitHub Advanced Security active committers for an organization",
|
|
12084
|
-
"description": "Gets the GitHub Advanced Security active committers for an organization per repository.\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the total_advanced_security_committers is not the sum of advanced_security_committers for each repository.\nIf this organization defers to an enterprise for billing, the total_advanced_security_committers returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.",
|
|
12118
|
+
"description": "Gets the GitHub Advanced Security active committers for an organization per repository.\n\nEach distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.\n\nIf this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.\n\nThe total number of repositories with committer information is tracked by the `total_count` field.",
|
|
12085
12119
|
"tags": ["billing"],
|
|
12086
12120
|
"operationId": "billing/get-github-advanced-security-billing-org",
|
|
12087
12121
|
"externalDocs": {
|
|
@@ -23084,11 +23118,8 @@
|
|
|
23084
23118
|
"description": "Response when creating a secret",
|
|
23085
23119
|
"content": {
|
|
23086
23120
|
"application/json": {
|
|
23087
|
-
"schema": {
|
|
23088
|
-
|
|
23089
|
-
"properties": {},
|
|
23090
|
-
"additionalProperties": false
|
|
23091
|
-
}
|
|
23121
|
+
"schema": { "$ref": "#/components/schemas/empty-object" },
|
|
23122
|
+
"examples": { "default": { "value": null } }
|
|
23092
23123
|
}
|
|
23093
23124
|
}
|
|
23094
23125
|
},
|
|
@@ -30281,7 +30312,7 @@
|
|
|
30281
30312
|
"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
|
|
30282
30313
|
"get": {
|
|
30283
30314
|
"summary": "List requested reviewers for a pull request",
|
|
30284
|
-
"description": "",
|
|
30315
|
+
"description": "Lists the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.5/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.",
|
|
30285
30316
|
"tags": ["pulls"],
|
|
30286
30317
|
"operationId": "pulls/list-requested-reviewers",
|
|
30287
30318
|
"externalDocs": {
|
|
@@ -40785,6 +40816,20 @@
|
|
|
40785
40816
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
40786
40817
|
}
|
|
40787
40818
|
},
|
|
40819
|
+
"/repos/{owner}/{repo}/codespaces/new": {
|
|
40820
|
+
"get": {
|
|
40821
|
+
"summary": "Get default attributes for a codespace",
|
|
40822
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.5. It was added in api.github.com",
|
|
40823
|
+
"tags": ["codespaces"],
|
|
40824
|
+
"operationId": "codespaces/pre-flight-with-repo-for-authenticated-user",
|
|
40825
|
+
"externalDocs": {
|
|
40826
|
+
"description": "API method documentation",
|
|
40827
|
+
"url": "https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace"
|
|
40828
|
+
},
|
|
40829
|
+
"x-octokit": { "api.github.com": "removed" },
|
|
40830
|
+
"responses": { "501": { "description": "Not Implemented" } }
|
|
40831
|
+
}
|
|
40832
|
+
},
|
|
40788
40833
|
"/repos/{owner}/{repo}/codespaces/secrets": {
|
|
40789
40834
|
"get": {
|
|
40790
40835
|
"summary": "List repository secrets",
|
|
@@ -79446,6 +79491,14 @@
|
|
|
79446
79491
|
"required": true,
|
|
79447
79492
|
"schema": { "type": "string" }
|
|
79448
79493
|
},
|
|
79494
|
+
"oauth-client-id": {
|
|
79495
|
+
"name": "client_id",
|
|
79496
|
+
"in": "path",
|
|
79497
|
+
"required": true,
|
|
79498
|
+
"description": "The client ID of the OAuth app.",
|
|
79499
|
+
"schema": { "type": "string" },
|
|
79500
|
+
"examples": { "default": { "value": "abcde12345fghij67890" } }
|
|
79501
|
+
},
|
|
79449
79502
|
"authorization-id": {
|
|
79450
79503
|
"name": "authorization_id",
|
|
79451
79504
|
"description": "The unique identifier of the authorization.",
|
|
@@ -9152,6 +9152,7 @@
|
|
|
9152
9152
|
"/repos/{owner}/{repo}/codespaces": ["get", "post"],
|
|
9153
9153
|
"/repos/{owner}/{repo}/codespaces/devcontainers": ["get"],
|
|
9154
9154
|
"/repos/{owner}/{repo}/codespaces/machines": ["get"],
|
|
9155
|
+
"/repos/{owner}/{repo}/codespaces/new": ["get"],
|
|
9155
9156
|
"/repos/{owner}/{repo}/codespaces/secrets": ["get"],
|
|
9156
9157
|
"/repos/{owner}/{repo}/codespaces/secrets/public-key": ["get"],
|
|
9157
9158
|
"/repos/{owner}/{repo}/codespaces/secrets/{secret_name}": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "6.
|
|
4
|
+
"version": "6.7.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.7.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.7.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" },
|
|
@@ -233172,7 +233172,7 @@
|
|
|
233172
233172
|
"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
|
|
233173
233173
|
"get": {
|
|
233174
233174
|
"summary": "List requested reviewers for a pull request",
|
|
233175
|
-
"description": "",
|
|
233175
|
+
"description": "Lists the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/github-ae@latest/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.",
|
|
233176
233176
|
"tags": ["pulls"],
|
|
233177
233177
|
"operationId": "pulls/list-requested-reviewers",
|
|
233178
233178
|
"externalDocs": {
|
|
@@ -310314,6 +310314,20 @@
|
|
|
310314
310314
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
310315
310315
|
}
|
|
310316
310316
|
},
|
|
310317
|
+
"/repos/{owner}/{repo}/codespaces/new": {
|
|
310318
|
+
"get": {
|
|
310319
|
+
"summary": "Get default attributes for a codespace",
|
|
310320
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
310321
|
+
"tags": ["codespaces"],
|
|
310322
|
+
"operationId": "codespaces/pre-flight-with-repo-for-authenticated-user",
|
|
310323
|
+
"externalDocs": {
|
|
310324
|
+
"description": "API method documentation",
|
|
310325
|
+
"url": "https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace"
|
|
310326
|
+
},
|
|
310327
|
+
"x-octokit": { "api.github.com": "removed" },
|
|
310328
|
+
"responses": { "501": { "description": "Not Implemented" } }
|
|
310329
|
+
}
|
|
310330
|
+
},
|
|
310317
310331
|
"/repos/{owner}/{repo}/codespaces/secrets": {
|
|
310318
310332
|
"get": {
|
|
310319
310333
|
"summary": "List repository secrets",
|
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.7.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" },
|
|
@@ -25970,7 +25970,7 @@
|
|
|
25970
25970
|
"/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers": {
|
|
25971
25971
|
"get": {
|
|
25972
25972
|
"summary": "List requested reviewers for a pull request",
|
|
25973
|
-
"description": "",
|
|
25973
|
+
"description": "Lists the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/github-ae@latest/rest/pulls/reviews#list-reviews-for-a-pull-request) operation.",
|
|
25974
25974
|
"tags": ["pulls"],
|
|
25975
25975
|
"operationId": "pulls/list-requested-reviewers",
|
|
25976
25976
|
"externalDocs": {
|
|
@@ -35809,6 +35809,20 @@
|
|
|
35809
35809
|
"responses": { "501": { "description": "Not Implemented" } }
|
|
35810
35810
|
}
|
|
35811
35811
|
},
|
|
35812
|
+
"/repos/{owner}/{repo}/codespaces/new": {
|
|
35813
|
+
"get": {
|
|
35814
|
+
"summary": "Get default attributes for a codespace",
|
|
35815
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
35816
|
+
"tags": ["codespaces"],
|
|
35817
|
+
"operationId": "codespaces/pre-flight-with-repo-for-authenticated-user",
|
|
35818
|
+
"externalDocs": {
|
|
35819
|
+
"description": "API method documentation",
|
|
35820
|
+
"url": "https://docs.github.com/rest/reference/codespaces#preview-attributes-for-a-new-codespace"
|
|
35821
|
+
},
|
|
35822
|
+
"x-octokit": { "api.github.com": "removed" },
|
|
35823
|
+
"responses": { "501": { "description": "Not Implemented" } }
|
|
35824
|
+
}
|
|
35825
|
+
},
|
|
35812
35826
|
"/repos/{owner}/{repo}/codespaces/secrets": {
|
|
35813
35827
|
"get": {
|
|
35814
35828
|
"summary": "List repository secrets",
|