@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/ghes-3.4.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": {
|
|
@@ -8375,7 +8375,7 @@
|
|
|
8375
8375
|
},
|
|
8376
8376
|
{
|
|
8377
8377
|
"name": "state",
|
|
8378
|
-
"description": "Indicates the state of the issues to return.
|
|
8378
|
+
"description": "Indicates the state of the issues to return.",
|
|
8379
8379
|
"in": "query",
|
|
8380
8380
|
"required": false,
|
|
8381
8381
|
"schema": {
|
|
@@ -8393,7 +8393,7 @@
|
|
|
8393
8393
|
},
|
|
8394
8394
|
{
|
|
8395
8395
|
"name": "sort",
|
|
8396
|
-
"description": "What to sort results by.
|
|
8396
|
+
"description": "What to sort results by.",
|
|
8397
8397
|
"in": "query",
|
|
8398
8398
|
"required": false,
|
|
8399
8399
|
"schema": {
|
|
@@ -8635,7 +8635,7 @@
|
|
|
8635
8635
|
"type": "string"
|
|
8636
8636
|
},
|
|
8637
8637
|
"mode": {
|
|
8638
|
-
"description": "The rendering mode.
|
|
8638
|
+
"description": "The rendering mode.",
|
|
8639
8639
|
"enum": [
|
|
8640
8640
|
"markdown",
|
|
8641
8641
|
"gfm"
|
|
@@ -13399,7 +13399,7 @@
|
|
|
13399
13399
|
},
|
|
13400
13400
|
{
|
|
13401
13401
|
"name": "state",
|
|
13402
|
-
"description": "Indicates the state of the issues to return.
|
|
13402
|
+
"description": "Indicates the state of the issues to return.",
|
|
13403
13403
|
"in": "query",
|
|
13404
13404
|
"required": false,
|
|
13405
13405
|
"schema": {
|
|
@@ -13417,7 +13417,7 @@
|
|
|
13417
13417
|
},
|
|
13418
13418
|
{
|
|
13419
13419
|
"name": "sort",
|
|
13420
|
-
"description": "What to sort results by.
|
|
13420
|
+
"description": "What to sort results by.",
|
|
13421
13421
|
"in": "query",
|
|
13422
13422
|
"required": false,
|
|
13423
13423
|
"schema": {
|
|
@@ -14552,7 +14552,7 @@
|
|
|
14552
14552
|
},
|
|
14553
14553
|
{
|
|
14554
14554
|
"name": "state",
|
|
14555
|
-
"description": "Indicates the state of the projects to return.
|
|
14555
|
+
"description": "Indicates the state of the projects to return.",
|
|
14556
14556
|
"in": "query",
|
|
14557
14557
|
"required": false,
|
|
14558
14558
|
"schema": {
|
|
@@ -28880,7 +28880,7 @@
|
|
|
28880
28880
|
},
|
|
28881
28881
|
"put": {
|
|
28882
28882
|
"summary": "Create or update file contents",
|
|
28883
|
-
"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.",
|
|
28883
|
+
"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/enterprise-server@3.4/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.",
|
|
28884
28884
|
"tags": [
|
|
28885
28885
|
"repos"
|
|
28886
28886
|
],
|
|
@@ -29059,7 +29059,7 @@
|
|
|
29059
29059
|
},
|
|
29060
29060
|
"delete": {
|
|
29061
29061
|
"summary": "Delete a file",
|
|
29062
|
-
"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.",
|
|
29062
|
+
"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/enterprise-server@3.4/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.",
|
|
29063
29063
|
"tags": [
|
|
29064
29064
|
"repos"
|
|
29065
29065
|
],
|
|
@@ -30889,7 +30889,7 @@
|
|
|
30889
30889
|
},
|
|
30890
30890
|
{
|
|
30891
30891
|
"name": "sort",
|
|
30892
|
-
"description": "The sort order.
|
|
30892
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
30893
30893
|
"in": "query",
|
|
30894
30894
|
"required": false,
|
|
30895
30895
|
"schema": {
|
|
@@ -33216,7 +33216,7 @@
|
|
|
33216
33216
|
},
|
|
33217
33217
|
{
|
|
33218
33218
|
"name": "state",
|
|
33219
|
-
"description": "Indicates the state of the issues to return.
|
|
33219
|
+
"description": "Indicates the state of the issues to return.",
|
|
33220
33220
|
"in": "query",
|
|
33221
33221
|
"required": false,
|
|
33222
33222
|
"schema": {
|
|
@@ -33261,7 +33261,7 @@
|
|
|
33261
33261
|
},
|
|
33262
33262
|
{
|
|
33263
33263
|
"name": "sort",
|
|
33264
|
-
"description": "What to sort results by.
|
|
33264
|
+
"description": "What to sort results by.",
|
|
33265
33265
|
"in": "query",
|
|
33266
33266
|
"required": false,
|
|
33267
33267
|
"schema": {
|
|
@@ -37859,7 +37859,7 @@
|
|
|
37859
37859
|
},
|
|
37860
37860
|
{
|
|
37861
37861
|
"name": "state",
|
|
37862
|
-
"description": "Indicates the state of the projects to return.
|
|
37862
|
+
"description": "Indicates the state of the projects to return.",
|
|
37863
37863
|
"in": "query",
|
|
37864
37864
|
"required": false,
|
|
37865
37865
|
"schema": {
|
|
@@ -38072,7 +38072,7 @@
|
|
|
38072
38072
|
},
|
|
38073
38073
|
{
|
|
38074
38074
|
"name": "sort",
|
|
38075
|
-
"description": "What to sort results by.
|
|
38075
|
+
"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.",
|
|
38076
38076
|
"in": "query",
|
|
38077
38077
|
"required": false,
|
|
38078
38078
|
"schema": {
|
|
@@ -38088,7 +38088,7 @@
|
|
|
38088
38088
|
},
|
|
38089
38089
|
{
|
|
38090
38090
|
"name": "direction",
|
|
38091
|
-
"description": "The direction of the sort.
|
|
38091
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
38092
38092
|
"in": "query",
|
|
38093
38093
|
"required": false,
|
|
38094
38094
|
"schema": {
|
|
@@ -38294,7 +38294,7 @@
|
|
|
38294
38294
|
},
|
|
38295
38295
|
{
|
|
38296
38296
|
"name": "direction",
|
|
38297
|
-
"description": "
|
|
38297
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
38298
38298
|
"in": "query",
|
|
38299
38299
|
"required": false,
|
|
38300
38300
|
"schema": {
|
|
@@ -38925,7 +38925,7 @@
|
|
|
38925
38925
|
},
|
|
38926
38926
|
{
|
|
38927
38927
|
"name": "direction",
|
|
38928
|
-
"description": "
|
|
38928
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
38929
38929
|
"in": "query",
|
|
38930
38930
|
"required": false,
|
|
38931
38931
|
"schema": {
|
|
@@ -48537,7 +48537,7 @@
|
|
|
48537
48537
|
},
|
|
48538
48538
|
{
|
|
48539
48539
|
"name": "state",
|
|
48540
|
-
"description": "Indicates the state of the issues to return.
|
|
48540
|
+
"description": "Indicates the state of the issues to return.",
|
|
48541
48541
|
"in": "query",
|
|
48542
48542
|
"required": false,
|
|
48543
48543
|
"schema": {
|
|
@@ -48555,7 +48555,7 @@
|
|
|
48555
48555
|
},
|
|
48556
48556
|
{
|
|
48557
48557
|
"name": "sort",
|
|
48558
|
-
"description": "What to sort results by.
|
|
48558
|
+
"description": "What to sort results by.",
|
|
48559
48559
|
"in": "query",
|
|
48560
48560
|
"required": false,
|
|
48561
48561
|
"schema": {
|
|
@@ -48915,7 +48915,7 @@
|
|
|
48915
48915
|
"parameters": [
|
|
48916
48916
|
{
|
|
48917
48917
|
"name": "state",
|
|
48918
|
-
"description": "Indicates the state of the memberships to return.
|
|
48918
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
48919
48919
|
"in": "query",
|
|
48920
48920
|
"required": false,
|
|
48921
48921
|
"schema": {
|
|
@@ -51327,7 +51327,7 @@
|
|
|
51327
51327
|
},
|
|
51328
51328
|
{
|
|
51329
51329
|
"name": "state",
|
|
51330
|
-
"description": "Indicates the state of the projects to return.
|
|
51330
|
+
"description": "Indicates the state of the projects to return.",
|
|
51331
51331
|
"in": "query",
|
|
51332
51332
|
"required": false,
|
|
51333
51333
|
"schema": {
|
|
@@ -56453,7 +56453,7 @@
|
|
|
56453
56453
|
"readOnly": true
|
|
56454
56454
|
},
|
|
56455
56455
|
"secret-scanning-alert-state": {
|
|
56456
|
-
"description": "Sets the state of the secret scanning alert.
|
|
56456
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
56457
56457
|
"type": "string",
|
|
56458
56458
|
"enum": [
|
|
56459
56459
|
"open",
|
|
@@ -63190,7 +63190,16 @@
|
|
|
63190
63190
|
"description": "The outcome of the job.",
|
|
63191
63191
|
"example": "success",
|
|
63192
63192
|
"type": "string",
|
|
63193
|
-
"nullable": true
|
|
63193
|
+
"nullable": true,
|
|
63194
|
+
"enum": [
|
|
63195
|
+
"success",
|
|
63196
|
+
"failure",
|
|
63197
|
+
"neutral",
|
|
63198
|
+
"cancelled",
|
|
63199
|
+
"skipped",
|
|
63200
|
+
"timed_out",
|
|
63201
|
+
"action_required"
|
|
63202
|
+
]
|
|
63194
63203
|
},
|
|
63195
63204
|
"started_at": {
|
|
63196
63205
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -99934,7 +99943,7 @@
|
|
|
99934
99943
|
}
|
|
99935
99944
|
},
|
|
99936
99945
|
"code_scanning_forbidden_write": {
|
|
99937
|
-
"description": "Response if the repository is archived or if
|
|
99946
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
99938
99947
|
"content": {
|
|
99939
99948
|
"application/json": {
|
|
99940
99949
|
"schema": {
|
|
@@ -5733,6 +5733,17 @@
|
|
|
5733
5733
|
"get",
|
|
5734
5734
|
"put"
|
|
5735
5735
|
],
|
|
5736
|
+
"/orgs/{org}/external-group/{group_id}": [
|
|
5737
|
+
"get"
|
|
5738
|
+
],
|
|
5739
|
+
"/orgs/{org}/external-groups": [
|
|
5740
|
+
"get"
|
|
5741
|
+
],
|
|
5742
|
+
"/orgs/{org}/teams/{team_slug}/external-groups": [
|
|
5743
|
+
"get",
|
|
5744
|
+
"delete",
|
|
5745
|
+
"patch"
|
|
5746
|
+
],
|
|
5736
5747
|
"/repos/{owner}/{repo}/actions/permissions/workflow": [
|
|
5737
5748
|
"get",
|
|
5738
5749
|
"put"
|
|
@@ -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": {
|
|
@@ -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": {
|
|
@@ -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": {
|
|
@@ -4954,7 +4954,7 @@
|
|
|
4954
4954
|
"description": "The REST API URL of the code locations for this alert."
|
|
4955
4955
|
},
|
|
4956
4956
|
"state": {
|
|
4957
|
-
"description": "Sets the state of the secret scanning alert.
|
|
4957
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
4958
4958
|
"type": "string",
|
|
4959
4959
|
"enum": [
|
|
4960
4960
|
"open",
|
|
@@ -10362,7 +10362,7 @@
|
|
|
10362
10362
|
},
|
|
10363
10363
|
{
|
|
10364
10364
|
"name": "state",
|
|
10365
|
-
"description": "Indicates the state of the issues to return.
|
|
10365
|
+
"description": "Indicates the state of the issues to return.",
|
|
10366
10366
|
"in": "query",
|
|
10367
10367
|
"required": false,
|
|
10368
10368
|
"schema": {
|
|
@@ -10386,7 +10386,7 @@
|
|
|
10386
10386
|
},
|
|
10387
10387
|
{
|
|
10388
10388
|
"name": "sort",
|
|
10389
|
-
"description": "What to sort results by.
|
|
10389
|
+
"description": "What to sort results by.",
|
|
10390
10390
|
"in": "query",
|
|
10391
10391
|
"required": false,
|
|
10392
10392
|
"schema": {
|
|
@@ -35499,7 +35499,7 @@
|
|
|
35499
35499
|
},
|
|
35500
35500
|
{
|
|
35501
35501
|
"name": "state",
|
|
35502
|
-
"description": "Indicates the state of the issues to return.
|
|
35502
|
+
"description": "Indicates the state of the issues to return.",
|
|
35503
35503
|
"in": "query",
|
|
35504
35504
|
"required": false,
|
|
35505
35505
|
"schema": {
|
|
@@ -35523,7 +35523,7 @@
|
|
|
35523
35523
|
},
|
|
35524
35524
|
{
|
|
35525
35525
|
"name": "sort",
|
|
35526
|
-
"description": "What to sort results by.
|
|
35526
|
+
"description": "What to sort results by.",
|
|
35527
35527
|
"in": "query",
|
|
35528
35528
|
"required": false,
|
|
35529
35529
|
"schema": {
|
|
@@ -46682,7 +46682,7 @@
|
|
|
46682
46682
|
"description": "The REST API URL of the code locations for this alert."
|
|
46683
46683
|
},
|
|
46684
46684
|
"state": {
|
|
46685
|
-
"description": "Sets the state of the secret scanning alert.
|
|
46685
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
46686
46686
|
"type": "string",
|
|
46687
46687
|
"enum": [
|
|
46688
46688
|
"open",
|
|
@@ -94570,7 +94570,7 @@
|
|
|
94570
94570
|
}
|
|
94571
94571
|
},
|
|
94572
94572
|
"403": {
|
|
94573
|
-
"description": "Response if the repository is archived or if
|
|
94573
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
94574
94574
|
"content": {
|
|
94575
94575
|
"application/json": {
|
|
94576
94576
|
"schema": {
|
|
@@ -109083,7 +109083,7 @@
|
|
|
109083
109083
|
},
|
|
109084
109084
|
{
|
|
109085
109085
|
"name": "sort",
|
|
109086
|
-
"description": "The sort order.
|
|
109086
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
109087
109087
|
"in": "query",
|
|
109088
109088
|
"required": false,
|
|
109089
109089
|
"schema": {
|
|
@@ -120369,7 +120369,7 @@
|
|
|
120369
120369
|
},
|
|
120370
120370
|
{
|
|
120371
120371
|
"name": "state",
|
|
120372
|
-
"description": "Indicates the state of the issues to return.
|
|
120372
|
+
"description": "Indicates the state of the issues to return.",
|
|
120373
120373
|
"in": "query",
|
|
120374
120374
|
"required": false,
|
|
120375
120375
|
"schema": {
|
|
@@ -120420,7 +120420,7 @@
|
|
|
120420
120420
|
},
|
|
120421
120421
|
{
|
|
120422
120422
|
"name": "sort",
|
|
120423
|
-
"description": "What to sort results by.
|
|
120423
|
+
"description": "What to sort results by.",
|
|
120424
120424
|
"in": "query",
|
|
120425
120425
|
"required": false,
|
|
120426
120426
|
"schema": {
|
|
@@ -143851,7 +143851,7 @@
|
|
|
143851
143851
|
},
|
|
143852
143852
|
{
|
|
143853
143853
|
"name": "sort",
|
|
143854
|
-
"description": "What to sort results by.
|
|
143854
|
+
"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.",
|
|
143855
143855
|
"in": "query",
|
|
143856
143856
|
"required": false,
|
|
143857
143857
|
"schema": {
|
|
@@ -143867,7 +143867,7 @@
|
|
|
143867
143867
|
},
|
|
143868
143868
|
{
|
|
143869
143869
|
"name": "direction",
|
|
143870
|
-
"description": "The direction of the sort.
|
|
143870
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
143871
143871
|
"in": "query",
|
|
143872
143872
|
"required": false,
|
|
143873
143873
|
"schema": {
|
|
@@ -163274,7 +163274,7 @@
|
|
|
163274
163274
|
"description": "The REST API URL of the code locations for this alert."
|
|
163275
163275
|
},
|
|
163276
163276
|
"state": {
|
|
163277
|
-
"description": "Sets the state of the secret scanning alert.
|
|
163277
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
163278
163278
|
"type": "string",
|
|
163279
163279
|
"enum": [
|
|
163280
163280
|
"open",
|
|
@@ -163616,7 +163616,7 @@
|
|
|
163616
163616
|
"description": "The REST API URL of the code locations for this alert."
|
|
163617
163617
|
},
|
|
163618
163618
|
"state": {
|
|
163619
|
-
"description": "Sets the state of the secret scanning alert.
|
|
163619
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
163620
163620
|
"type": "string",
|
|
163621
163621
|
"enum": [
|
|
163622
163622
|
"open",
|
|
@@ -163885,7 +163885,7 @@
|
|
|
163885
163885
|
"type": "object",
|
|
163886
163886
|
"properties": {
|
|
163887
163887
|
"state": {
|
|
163888
|
-
"description": "Sets the state of the secret scanning alert.
|
|
163888
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
163889
163889
|
"type": "string",
|
|
163890
163890
|
"enum": [
|
|
163891
163891
|
"open",
|
|
@@ -163963,7 +163963,7 @@
|
|
|
163963
163963
|
"description": "The REST API URL of the code locations for this alert."
|
|
163964
163964
|
},
|
|
163965
163965
|
"state": {
|
|
163966
|
-
"description": "Sets the state of the secret scanning alert.
|
|
163966
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
163967
163967
|
"type": "string",
|
|
163968
163968
|
"enum": [
|
|
163969
163969
|
"open",
|
|
@@ -185591,7 +185591,7 @@
|
|
|
185591
185591
|
},
|
|
185592
185592
|
{
|
|
185593
185593
|
"name": "state",
|
|
185594
|
-
"description": "Indicates the state of the issues to return.
|
|
185594
|
+
"description": "Indicates the state of the issues to return.",
|
|
185595
185595
|
"in": "query",
|
|
185596
185596
|
"required": false,
|
|
185597
185597
|
"schema": {
|
|
@@ -185615,7 +185615,7 @@
|
|
|
185615
185615
|
},
|
|
185616
185616
|
{
|
|
185617
185617
|
"name": "sort",
|
|
185618
|
-
"description": "What to sort results by.
|
|
185618
|
+
"description": "What to sort results by.",
|
|
185619
185619
|
"in": "query",
|
|
185620
185620
|
"required": false,
|
|
185621
185621
|
"schema": {
|
|
@@ -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": {
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
},
|
|
717
717
|
{
|
|
718
718
|
"name": "state",
|
|
719
|
-
"description": "Indicates the state of the issues to return.
|
|
719
|
+
"description": "Indicates the state of the issues to return.",
|
|
720
720
|
"in": "query",
|
|
721
721
|
"required": false,
|
|
722
722
|
"schema": {
|
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
},
|
|
735
735
|
{
|
|
736
736
|
"name": "sort",
|
|
737
|
-
"description": "What to sort results by.
|
|
737
|
+
"description": "What to sort results by.",
|
|
738
738
|
"in": "query",
|
|
739
739
|
"required": false,
|
|
740
740
|
"schema": {
|
|
@@ -1957,7 +1957,7 @@
|
|
|
1957
1957
|
},
|
|
1958
1958
|
{
|
|
1959
1959
|
"name": "state",
|
|
1960
|
-
"description": "Indicates the state of the issues to return.
|
|
1960
|
+
"description": "Indicates the state of the issues to return.",
|
|
1961
1961
|
"in": "query",
|
|
1962
1962
|
"required": false,
|
|
1963
1963
|
"schema": {
|
|
@@ -1975,7 +1975,7 @@
|
|
|
1975
1975
|
},
|
|
1976
1976
|
{
|
|
1977
1977
|
"name": "sort",
|
|
1978
|
-
"description": "What to sort results by.
|
|
1978
|
+
"description": "What to sort results by.",
|
|
1979
1979
|
"in": "query",
|
|
1980
1980
|
"required": false,
|
|
1981
1981
|
"schema": {
|
|
@@ -4952,7 +4952,7 @@
|
|
|
4952
4952
|
},
|
|
4953
4953
|
{
|
|
4954
4954
|
"name": "sort",
|
|
4955
|
-
"description": "The sort order.
|
|
4955
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
4956
4956
|
"in": "query",
|
|
4957
4957
|
"required": false,
|
|
4958
4958
|
"schema": {
|
|
@@ -5277,7 +5277,7 @@
|
|
|
5277
5277
|
},
|
|
5278
5278
|
{
|
|
5279
5279
|
"name": "state",
|
|
5280
|
-
"description": "Indicates the state of the issues to return.
|
|
5280
|
+
"description": "Indicates the state of the issues to return.",
|
|
5281
5281
|
"in": "query",
|
|
5282
5282
|
"required": false,
|
|
5283
5283
|
"schema": {
|
|
@@ -5322,7 +5322,7 @@
|
|
|
5322
5322
|
},
|
|
5323
5323
|
{
|
|
5324
5324
|
"name": "sort",
|
|
5325
|
-
"description": "What to sort results by.
|
|
5325
|
+
"description": "What to sort results by.",
|
|
5326
5326
|
"in": "query",
|
|
5327
5327
|
"required": false,
|
|
5328
5328
|
"schema": {
|
|
@@ -6180,7 +6180,7 @@
|
|
|
6180
6180
|
},
|
|
6181
6181
|
{
|
|
6182
6182
|
"name": "sort",
|
|
6183
|
-
"description": "What to sort results by.
|
|
6183
|
+
"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.",
|
|
6184
6184
|
"in": "query",
|
|
6185
6185
|
"required": false,
|
|
6186
6186
|
"schema": {
|
|
@@ -6196,7 +6196,7 @@
|
|
|
6196
6196
|
},
|
|
6197
6197
|
{
|
|
6198
6198
|
"name": "direction",
|
|
6199
|
-
"description": "The direction of the sort.
|
|
6199
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
6200
6200
|
"in": "query",
|
|
6201
6201
|
"required": false,
|
|
6202
6202
|
"schema": {
|
|
@@ -8294,7 +8294,7 @@
|
|
|
8294
8294
|
},
|
|
8295
8295
|
{
|
|
8296
8296
|
"name": "state",
|
|
8297
|
-
"description": "Indicates the state of the issues to return.
|
|
8297
|
+
"description": "Indicates the state of the issues to return.",
|
|
8298
8298
|
"in": "query",
|
|
8299
8299
|
"required": false,
|
|
8300
8300
|
"schema": {
|
|
@@ -8312,7 +8312,7 @@
|
|
|
8312
8312
|
},
|
|
8313
8313
|
{
|
|
8314
8314
|
"name": "sort",
|
|
8315
|
-
"description": "What to sort results by.
|
|
8315
|
+
"description": "What to sort results by.",
|
|
8316
8316
|
"in": "query",
|
|
8317
8317
|
"required": false,
|
|
8318
8318
|
"schema": {
|
|
@@ -16698,7 +16698,7 @@
|
|
|
16698
16698
|
}
|
|
16699
16699
|
},
|
|
16700
16700
|
"secret-scanning-alert-state": {
|
|
16701
|
-
"description": "Sets the state of the secret scanning alert.
|
|
16701
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
16702
16702
|
"type": "string",
|
|
16703
16703
|
"enum": [
|
|
16704
16704
|
"open",
|
|
@@ -31870,7 +31870,7 @@
|
|
|
31870
31870
|
}
|
|
31871
31871
|
},
|
|
31872
31872
|
"code_scanning_forbidden_write": {
|
|
31873
|
-
"description": "Response if the repository is archived or if
|
|
31873
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
31874
31874
|
"content": {
|
|
31875
31875
|
"application/json": {
|
|
31876
31876
|
"schema": {
|