@octokit/openapi 7.12.0 → 7.13.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 +767 -33
- package/generated/api.github.com.json +312 -24
- 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 +33 -15
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +23 -14
- package/generated/ghes-3.2.deref.json +48 -30
- package/generated/ghes-3.2.json +33 -24
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
- package/generated/ghes-3.3.deref.json +49 -31
- package/generated/ghes-3.3.json +33 -24
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +8 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +3 -3
- package/generated/ghes-3.4.deref.json +50 -32
- package/generated/ghes-3.4.json +33 -24
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +19 -19
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +14 -14
- package/generated/ghes-3.5.deref.json +166 -33
- package/generated/ghes-3.5.json +139 -24
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +3 -3
- package/generated/ghes-3.6-diff-to-api.github.com.json +2 -2
- package/generated/ghes-3.6.deref.json +815 -139
- package/generated/ghes-3.6.json +556 -130
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +17 -17
- package/generated/github.ae-diff-to-api.github.com.json +14 -14
- package/generated/github.ae.deref.json +102 -31
- package/generated/github.ae.json +77 -24
- package/package.json +1 -1
package/generated/github.ae.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.13.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": {
|
|
@@ -6350,7 +6350,7 @@
|
|
|
6350
6350
|
},
|
|
6351
6351
|
{
|
|
6352
6352
|
"name": "state",
|
|
6353
|
-
"description": "Indicates the state of the issues to return.
|
|
6353
|
+
"description": "Indicates the state of the issues to return.",
|
|
6354
6354
|
"in": "query",
|
|
6355
6355
|
"required": false,
|
|
6356
6356
|
"schema": {
|
|
@@ -6368,7 +6368,7 @@
|
|
|
6368
6368
|
},
|
|
6369
6369
|
{
|
|
6370
6370
|
"name": "sort",
|
|
6371
|
-
"description": "What to sort results by.
|
|
6371
|
+
"description": "What to sort results by.",
|
|
6372
6372
|
"in": "query",
|
|
6373
6373
|
"required": false,
|
|
6374
6374
|
"schema": {
|
|
@@ -6616,7 +6616,7 @@
|
|
|
6616
6616
|
"type": "string"
|
|
6617
6617
|
},
|
|
6618
6618
|
"mode": {
|
|
6619
|
-
"description": "The rendering mode.
|
|
6619
|
+
"description": "The rendering mode.",
|
|
6620
6620
|
"enum": [
|
|
6621
6621
|
"markdown",
|
|
6622
6622
|
"gfm"
|
|
@@ -10230,7 +10230,7 @@
|
|
|
10230
10230
|
},
|
|
10231
10231
|
{
|
|
10232
10232
|
"name": "state",
|
|
10233
|
-
"description": "Indicates the state of the issues to return.
|
|
10233
|
+
"description": "Indicates the state of the issues to return.",
|
|
10234
10234
|
"in": "query",
|
|
10235
10235
|
"required": false,
|
|
10236
10236
|
"schema": {
|
|
@@ -10248,7 +10248,7 @@
|
|
|
10248
10248
|
},
|
|
10249
10249
|
{
|
|
10250
10250
|
"name": "sort",
|
|
10251
|
-
"description": "What to sort results by.
|
|
10251
|
+
"description": "What to sort results by.",
|
|
10252
10252
|
"in": "query",
|
|
10253
10253
|
"required": false,
|
|
10254
10254
|
"schema": {
|
|
@@ -11176,7 +11176,7 @@
|
|
|
11176
11176
|
},
|
|
11177
11177
|
{
|
|
11178
11178
|
"name": "state",
|
|
11179
|
-
"description": "Indicates the state of the projects to return.
|
|
11179
|
+
"description": "Indicates the state of the projects to return.",
|
|
11180
11180
|
"in": "query",
|
|
11181
11181
|
"required": false,
|
|
11182
11182
|
"schema": {
|
|
@@ -25185,7 +25185,7 @@
|
|
|
25185
25185
|
},
|
|
25186
25186
|
"put": {
|
|
25187
25187
|
"summary": "Create or update file contents",
|
|
25188
|
-
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
|
|
25188
|
+
"description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/github-ae@latest/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
25189
25189
|
"tags": [
|
|
25190
25190
|
"repos"
|
|
25191
25191
|
],
|
|
@@ -25364,7 +25364,7 @@
|
|
|
25364
25364
|
},
|
|
25365
25365
|
"delete": {
|
|
25366
25366
|
"summary": "Delete a file",
|
|
25367
|
-
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
|
|
25367
|
+
"description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/github-ae@latest/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
|
|
25368
25368
|
"tags": [
|
|
25369
25369
|
"repos"
|
|
25370
25370
|
],
|
|
@@ -26919,7 +26919,7 @@
|
|
|
26919
26919
|
},
|
|
26920
26920
|
{
|
|
26921
26921
|
"name": "sort",
|
|
26922
|
-
"description": "The sort order.
|
|
26922
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
26923
26923
|
"in": "query",
|
|
26924
26924
|
"required": false,
|
|
26925
26925
|
"schema": {
|
|
@@ -29258,7 +29258,7 @@
|
|
|
29258
29258
|
},
|
|
29259
29259
|
{
|
|
29260
29260
|
"name": "state",
|
|
29261
|
-
"description": "Indicates the state of the issues to return.
|
|
29261
|
+
"description": "Indicates the state of the issues to return.",
|
|
29262
29262
|
"in": "query",
|
|
29263
29263
|
"required": false,
|
|
29264
29264
|
"schema": {
|
|
@@ -29303,7 +29303,7 @@
|
|
|
29303
29303
|
},
|
|
29304
29304
|
{
|
|
29305
29305
|
"name": "sort",
|
|
29306
|
-
"description": "What to sort results by.
|
|
29306
|
+
"description": "What to sort results by.",
|
|
29307
29307
|
"in": "query",
|
|
29308
29308
|
"required": false,
|
|
29309
29309
|
"schema": {
|
|
@@ -33755,7 +33755,7 @@
|
|
|
33755
33755
|
},
|
|
33756
33756
|
{
|
|
33757
33757
|
"name": "state",
|
|
33758
|
-
"description": "Indicates the state of the projects to return.
|
|
33758
|
+
"description": "Indicates the state of the projects to return.",
|
|
33759
33759
|
"in": "query",
|
|
33760
33760
|
"required": false,
|
|
33761
33761
|
"schema": {
|
|
@@ -33968,7 +33968,7 @@
|
|
|
33968
33968
|
},
|
|
33969
33969
|
{
|
|
33970
33970
|
"name": "sort",
|
|
33971
|
-
"description": "What to sort results by.
|
|
33971
|
+
"description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
|
|
33972
33972
|
"in": "query",
|
|
33973
33973
|
"required": false,
|
|
33974
33974
|
"schema": {
|
|
@@ -33984,7 +33984,7 @@
|
|
|
33984
33984
|
},
|
|
33985
33985
|
{
|
|
33986
33986
|
"name": "direction",
|
|
33987
|
-
"description": "The direction of the sort.
|
|
33987
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
33988
33988
|
"in": "query",
|
|
33989
33989
|
"required": false,
|
|
33990
33990
|
"schema": {
|
|
@@ -34196,7 +34196,7 @@
|
|
|
34196
34196
|
},
|
|
34197
34197
|
{
|
|
34198
34198
|
"name": "direction",
|
|
34199
|
-
"description": "
|
|
34199
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
34200
34200
|
"in": "query",
|
|
34201
34201
|
"required": false,
|
|
34202
34202
|
"schema": {
|
|
@@ -34845,7 +34845,7 @@
|
|
|
34845
34845
|
},
|
|
34846
34846
|
{
|
|
34847
34847
|
"name": "direction",
|
|
34848
|
-
"description": "
|
|
34848
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
34849
34849
|
"in": "query",
|
|
34850
34850
|
"required": false,
|
|
34851
34851
|
"schema": {
|
|
@@ -43051,7 +43051,7 @@
|
|
|
43051
43051
|
},
|
|
43052
43052
|
{
|
|
43053
43053
|
"name": "state",
|
|
43054
|
-
"description": "Indicates the state of the issues to return.
|
|
43054
|
+
"description": "Indicates the state of the issues to return.",
|
|
43055
43055
|
"in": "query",
|
|
43056
43056
|
"required": false,
|
|
43057
43057
|
"schema": {
|
|
@@ -43069,7 +43069,7 @@
|
|
|
43069
43069
|
},
|
|
43070
43070
|
{
|
|
43071
43071
|
"name": "sort",
|
|
43072
|
-
"description": "What to sort results by.
|
|
43072
|
+
"description": "What to sort results by.",
|
|
43073
43073
|
"in": "query",
|
|
43074
43074
|
"required": false,
|
|
43075
43075
|
"schema": {
|
|
@@ -43435,7 +43435,7 @@
|
|
|
43435
43435
|
"parameters": [
|
|
43436
43436
|
{
|
|
43437
43437
|
"name": "state",
|
|
43438
|
-
"description": "Indicates the state of the memberships to return.
|
|
43438
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
43439
43439
|
"in": "query",
|
|
43440
43440
|
"required": false,
|
|
43441
43441
|
"schema": {
|
|
@@ -45773,7 +45773,7 @@
|
|
|
45773
45773
|
},
|
|
45774
45774
|
{
|
|
45775
45775
|
"name": "state",
|
|
45776
|
-
"description": "Indicates the state of the projects to return.
|
|
45776
|
+
"description": "Indicates the state of the projects to return.",
|
|
45777
45777
|
"in": "query",
|
|
45778
45778
|
"required": false,
|
|
45779
45779
|
"schema": {
|
|
@@ -49155,6 +49155,50 @@
|
|
|
49155
49155
|
}
|
|
49156
49156
|
}
|
|
49157
49157
|
},
|
|
49158
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases": {
|
|
49159
|
+
"get": {
|
|
49160
|
+
"summary": "List CodeQL databases for a repository",
|
|
49161
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
49162
|
+
"tags": [
|
|
49163
|
+
"code-scanning"
|
|
49164
|
+
],
|
|
49165
|
+
"operationId": "code-scanning/list-codeql-databases",
|
|
49166
|
+
"externalDocs": {
|
|
49167
|
+
"description": "API method documentation",
|
|
49168
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases"
|
|
49169
|
+
},
|
|
49170
|
+
"x-octokit": {
|
|
49171
|
+
"api.github.com": "removed"
|
|
49172
|
+
},
|
|
49173
|
+
"responses": {
|
|
49174
|
+
"501": {
|
|
49175
|
+
"description": "Not Implemented"
|
|
49176
|
+
}
|
|
49177
|
+
}
|
|
49178
|
+
}
|
|
49179
|
+
},
|
|
49180
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": {
|
|
49181
|
+
"get": {
|
|
49182
|
+
"summary": "Get a CodeQL database for a repository",
|
|
49183
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
49184
|
+
"tags": [
|
|
49185
|
+
"code-scanning"
|
|
49186
|
+
],
|
|
49187
|
+
"operationId": "code-scanning/get-codeql-database",
|
|
49188
|
+
"externalDocs": {
|
|
49189
|
+
"description": "API method documentation",
|
|
49190
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database"
|
|
49191
|
+
},
|
|
49192
|
+
"x-octokit": {
|
|
49193
|
+
"api.github.com": "removed"
|
|
49194
|
+
},
|
|
49195
|
+
"responses": {
|
|
49196
|
+
"501": {
|
|
49197
|
+
"description": "Not Implemented"
|
|
49198
|
+
}
|
|
49199
|
+
}
|
|
49200
|
+
}
|
|
49201
|
+
},
|
|
49158
49202
|
"/repos/{owner}/{repo}/codespaces": {
|
|
49159
49203
|
"get": {
|
|
49160
49204
|
"summary": "List codespaces in a repository for the authenticated user",
|
|
@@ -61769,7 +61813,16 @@
|
|
|
61769
61813
|
"description": "The outcome of the job.",
|
|
61770
61814
|
"example": "success",
|
|
61771
61815
|
"type": "string",
|
|
61772
|
-
"nullable": true
|
|
61816
|
+
"nullable": true,
|
|
61817
|
+
"enum": [
|
|
61818
|
+
"success",
|
|
61819
|
+
"failure",
|
|
61820
|
+
"neutral",
|
|
61821
|
+
"cancelled",
|
|
61822
|
+
"skipped",
|
|
61823
|
+
"timed_out",
|
|
61824
|
+
"action_required"
|
|
61825
|
+
]
|
|
61773
61826
|
},
|
|
61774
61827
|
"started_at": {
|
|
61775
61828
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -72947,7 +73000,7 @@
|
|
|
72947
73000
|
"readOnly": true
|
|
72948
73001
|
},
|
|
72949
73002
|
"secret-scanning-alert-state": {
|
|
72950
|
-
"description": "Sets the state of the secret scanning alert.
|
|
73003
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
72951
73004
|
"type": "string",
|
|
72952
73005
|
"enum": [
|
|
72953
73006
|
"open",
|
|
@@ -96641,7 +96694,7 @@
|
|
|
96641
96694
|
}
|
|
96642
96695
|
},
|
|
96643
96696
|
"code_scanning_forbidden_write": {
|
|
96644
|
-
"description": "Response if the repository is archived or if
|
|
96697
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
96645
96698
|
"content": {
|
|
96646
96699
|
"application/json": {
|
|
96647
96700
|
"schema": {
|