@octokit/openapi 7.11.0 → 7.12.1
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 +87 -32
- package/generated/api.github.com.json +62 -25
- 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 +32 -14
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +22 -13
- package/generated/ghes-3.2.deref.json +61 -27
- package/generated/ghes-3.2.json +48 -23
- 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 +62 -28
- package/generated/ghes-3.3.json +48 -23
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +24 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +19 -3
- package/generated/ghes-3.4.deref.json +63 -29
- package/generated/ghes-3.4.json +48 -23
- 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 +18 -18
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +13 -13
- package/generated/ghes-3.5.deref.json +73 -30
- package/generated/ghes-3.5.json +48 -23
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +19 -3
- package/generated/ghes-3.6-diff-to-api.github.com.json +18 -2
- package/generated/ghes-3.6.deref.json +73 -30
- package/generated/ghes-3.6.json +48 -23
- package/generated/github.ae-diff-to-api.github.com.deref.json +32 -16
- package/generated/github.ae-diff-to-api.github.com.json +29 -13
- package/generated/github.ae.deref.json +71 -28
- package/generated/github.ae.json +48 -23
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.1",
|
|
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",
|
|
@@ -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.12.1",
|
|
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",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.12.1",
|
|
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": {
|
|
@@ -32618,7 +32618,7 @@
|
|
|
32618
32618
|
"description": "The REST API URL of the code locations for this alert."
|
|
32619
32619
|
},
|
|
32620
32620
|
"state": {
|
|
32621
|
-
"description": "Sets the state of the secret scanning alert.
|
|
32621
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
32622
32622
|
"type": "string",
|
|
32623
32623
|
"enum": [
|
|
32624
32624
|
"open",
|
|
@@ -48612,7 +48612,7 @@
|
|
|
48612
48612
|
},
|
|
48613
48613
|
{
|
|
48614
48614
|
"name": "state",
|
|
48615
|
-
"description": "Indicates the state of the issues to return.
|
|
48615
|
+
"description": "Indicates the state of the issues to return.",
|
|
48616
48616
|
"in": "query",
|
|
48617
48617
|
"required": false,
|
|
48618
48618
|
"schema": {
|
|
@@ -48636,7 +48636,7 @@
|
|
|
48636
48636
|
},
|
|
48637
48637
|
{
|
|
48638
48638
|
"name": "sort",
|
|
48639
|
-
"description": "What to sort results by.
|
|
48639
|
+
"description": "What to sort results by.",
|
|
48640
48640
|
"in": "query",
|
|
48641
48641
|
"required": false,
|
|
48642
48642
|
"schema": {
|
|
@@ -51868,7 +51868,7 @@
|
|
|
51868
51868
|
"type": "string"
|
|
51869
51869
|
},
|
|
51870
51870
|
"mode": {
|
|
51871
|
-
"description": "The rendering mode.
|
|
51871
|
+
"description": "The rendering mode.",
|
|
51872
51872
|
"enum": [
|
|
51873
51873
|
"markdown",
|
|
51874
51874
|
"gfm"
|
|
@@ -84343,7 +84343,7 @@
|
|
|
84343
84343
|
},
|
|
84344
84344
|
{
|
|
84345
84345
|
"name": "state",
|
|
84346
|
-
"description": "Indicates the state of the issues to return.
|
|
84346
|
+
"description": "Indicates the state of the issues to return.",
|
|
84347
84347
|
"in": "query",
|
|
84348
84348
|
"required": false,
|
|
84349
84349
|
"schema": {
|
|
@@ -84367,7 +84367,7 @@
|
|
|
84367
84367
|
},
|
|
84368
84368
|
{
|
|
84369
84369
|
"name": "sort",
|
|
84370
|
-
"description": "What to sort results by.
|
|
84370
|
+
"description": "What to sort results by.",
|
|
84371
84371
|
"in": "query",
|
|
84372
84372
|
"required": false,
|
|
84373
84373
|
"schema": {
|
|
@@ -94183,7 +94183,7 @@
|
|
|
94183
94183
|
},
|
|
94184
94184
|
{
|
|
94185
94185
|
"name": "state",
|
|
94186
|
-
"description": "Indicates the state of the projects to return.
|
|
94186
|
+
"description": "Indicates the state of the projects to return.",
|
|
94187
94187
|
"in": "query",
|
|
94188
94188
|
"required": false,
|
|
94189
94189
|
"schema": {
|
|
@@ -98938,7 +98938,7 @@
|
|
|
98938
98938
|
"description": "The REST API URL of the code locations for this alert."
|
|
98939
98939
|
},
|
|
98940
98940
|
"state": {
|
|
98941
|
-
"description": "Sets the state of the secret scanning alert.
|
|
98941
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
98942
98942
|
"type": "string",
|
|
98943
98943
|
"enum": [
|
|
98944
98944
|
"open",
|
|
@@ -129913,7 +129913,16 @@
|
|
|
129913
129913
|
"description": "The outcome of the job.",
|
|
129914
129914
|
"example": "success",
|
|
129915
129915
|
"type": "string",
|
|
129916
|
-
"nullable": true
|
|
129916
|
+
"nullable": true,
|
|
129917
|
+
"enum": [
|
|
129918
|
+
"success",
|
|
129919
|
+
"failure",
|
|
129920
|
+
"neutral",
|
|
129921
|
+
"cancelled",
|
|
129922
|
+
"skipped",
|
|
129923
|
+
"timed_out",
|
|
129924
|
+
"action_required"
|
|
129925
|
+
]
|
|
129917
129926
|
},
|
|
129918
129927
|
"started_at": {
|
|
129919
129928
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -148265,7 +148274,16 @@
|
|
|
148265
148274
|
"description": "The outcome of the job.",
|
|
148266
148275
|
"example": "success",
|
|
148267
148276
|
"type": "string",
|
|
148268
|
-
"nullable": true
|
|
148277
|
+
"nullable": true,
|
|
148278
|
+
"enum": [
|
|
148279
|
+
"success",
|
|
148280
|
+
"failure",
|
|
148281
|
+
"neutral",
|
|
148282
|
+
"cancelled",
|
|
148283
|
+
"skipped",
|
|
148284
|
+
"timed_out",
|
|
148285
|
+
"action_required"
|
|
148286
|
+
]
|
|
148269
148287
|
},
|
|
148270
148288
|
"started_at": {
|
|
148271
148289
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -148881,7 +148899,16 @@
|
|
|
148881
148899
|
"description": "The outcome of the job.",
|
|
148882
148900
|
"example": "success",
|
|
148883
148901
|
"type": "string",
|
|
148884
|
-
"nullable": true
|
|
148902
|
+
"nullable": true,
|
|
148903
|
+
"enum": [
|
|
148904
|
+
"success",
|
|
148905
|
+
"failure",
|
|
148906
|
+
"neutral",
|
|
148907
|
+
"cancelled",
|
|
148908
|
+
"skipped",
|
|
148909
|
+
"timed_out",
|
|
148910
|
+
"action_required"
|
|
148911
|
+
]
|
|
148885
148912
|
},
|
|
148886
148913
|
"started_at": {
|
|
148887
148914
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -195011,6 +195038,22 @@
|
|
|
195011
195038
|
"default": "all"
|
|
195012
195039
|
}
|
|
195013
195040
|
},
|
|
195041
|
+
{
|
|
195042
|
+
"name": "permission",
|
|
195043
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
195044
|
+
"in": "query",
|
|
195045
|
+
"required": false,
|
|
195046
|
+
"schema": {
|
|
195047
|
+
"type": "string",
|
|
195048
|
+
"enum": [
|
|
195049
|
+
"pull",
|
|
195050
|
+
"triage",
|
|
195051
|
+
"push",
|
|
195052
|
+
"maintain",
|
|
195053
|
+
"admin"
|
|
195054
|
+
]
|
|
195055
|
+
}
|
|
195056
|
+
},
|
|
195014
195057
|
{
|
|
195015
195058
|
"name": "per_page",
|
|
195016
195059
|
"description": "The number of results per page (max 100).",
|
|
@@ -215996,7 +216039,7 @@
|
|
|
215996
216039
|
},
|
|
215997
216040
|
"put": {
|
|
215998
216041
|
"summary": "Create or update file contents",
|
|
215999
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
216042
|
+
"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.",
|
|
216000
216043
|
"tags": [
|
|
216001
216044
|
"repos"
|
|
216002
216045
|
],
|
|
@@ -227723,7 +227766,7 @@
|
|
|
227723
227766
|
},
|
|
227724
227767
|
{
|
|
227725
227768
|
"name": "sort",
|
|
227726
|
-
"description": "The sort order.
|
|
227769
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
227727
227770
|
"in": "query",
|
|
227728
227771
|
"required": false,
|
|
227729
227772
|
"schema": {
|
|
@@ -237907,7 +237950,7 @@
|
|
|
237907
237950
|
"/repos/{owner}/{repo}/hooks": {
|
|
237908
237951
|
"get": {
|
|
237909
237952
|
"summary": "List repository webhooks",
|
|
237910
|
-
"description": "",
|
|
237953
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
237911
237954
|
"tags": [
|
|
237912
237955
|
"repos"
|
|
237913
237956
|
],
|
|
@@ -246066,7 +246109,7 @@
|
|
|
246066
246109
|
},
|
|
246067
246110
|
{
|
|
246068
246111
|
"name": "state",
|
|
246069
|
-
"description": "Indicates the state of the issues to return.
|
|
246112
|
+
"description": "Indicates the state of the issues to return.",
|
|
246070
246113
|
"in": "query",
|
|
246071
246114
|
"required": false,
|
|
246072
246115
|
"schema": {
|
|
@@ -246117,7 +246160,7 @@
|
|
|
246117
246160
|
},
|
|
246118
246161
|
{
|
|
246119
246162
|
"name": "sort",
|
|
246120
|
-
"description": "What to sort results by.
|
|
246163
|
+
"description": "What to sort results by.",
|
|
246121
246164
|
"in": "query",
|
|
246122
246165
|
"required": false,
|
|
246123
246166
|
"schema": {
|
|
@@ -305767,7 +305810,7 @@
|
|
|
305767
305810
|
},
|
|
305768
305811
|
{
|
|
305769
305812
|
"name": "state",
|
|
305770
|
-
"description": "Indicates the state of the projects to return.
|
|
305813
|
+
"description": "Indicates the state of the projects to return.",
|
|
305771
305814
|
"in": "query",
|
|
305772
305815
|
"required": false,
|
|
305773
305816
|
"schema": {
|
|
@@ -306747,7 +306790,7 @@
|
|
|
306747
306790
|
},
|
|
306748
306791
|
{
|
|
306749
306792
|
"name": "sort",
|
|
306750
|
-
"description": "What to sort results by.
|
|
306793
|
+
"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.",
|
|
306751
306794
|
"in": "query",
|
|
306752
306795
|
"required": false,
|
|
306753
306796
|
"schema": {
|
|
@@ -306763,7 +306806,7 @@
|
|
|
306763
306806
|
},
|
|
306764
306807
|
{
|
|
306765
306808
|
"name": "direction",
|
|
306766
|
-
"description": "The direction of the sort.
|
|
306809
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
306767
306810
|
"in": "query",
|
|
306768
306811
|
"required": false,
|
|
306769
306812
|
"schema": {
|
|
@@ -314755,7 +314798,7 @@
|
|
|
314755
314798
|
},
|
|
314756
314799
|
{
|
|
314757
314800
|
"name": "direction",
|
|
314758
|
-
"description": "
|
|
314801
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
314759
314802
|
"in": "query",
|
|
314760
314803
|
"required": false,
|
|
314761
314804
|
"schema": {
|
|
@@ -324192,7 +324235,7 @@
|
|
|
324192
324235
|
},
|
|
324193
324236
|
{
|
|
324194
324237
|
"name": "direction",
|
|
324195
|
-
"description": "
|
|
324238
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
324196
324239
|
"in": "query",
|
|
324197
324240
|
"required": false,
|
|
324198
324241
|
"schema": {
|
|
@@ -347701,7 +347744,7 @@
|
|
|
347701
347744
|
"description": "The REST API URL of the code locations for this alert."
|
|
347702
347745
|
},
|
|
347703
347746
|
"state": {
|
|
347704
|
-
"description": "Sets the state of the secret scanning alert.
|
|
347747
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
347705
347748
|
"type": "string",
|
|
347706
347749
|
"enum": [
|
|
347707
347750
|
"open",
|
|
@@ -348043,7 +348086,7 @@
|
|
|
348043
348086
|
"description": "The REST API URL of the code locations for this alert."
|
|
348044
348087
|
},
|
|
348045
348088
|
"state": {
|
|
348046
|
-
"description": "Sets the state of the secret scanning alert.
|
|
348089
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
348047
348090
|
"type": "string",
|
|
348048
348091
|
"enum": [
|
|
348049
348092
|
"open",
|
|
@@ -348312,7 +348355,7 @@
|
|
|
348312
348355
|
"type": "object",
|
|
348313
348356
|
"properties": {
|
|
348314
348357
|
"state": {
|
|
348315
|
-
"description": "Sets the state of the secret scanning alert.
|
|
348358
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
348316
348359
|
"type": "string",
|
|
348317
348360
|
"enum": [
|
|
348318
348361
|
"open",
|
|
@@ -348390,7 +348433,7 @@
|
|
|
348390
348433
|
"description": "The REST API URL of the code locations for this alert."
|
|
348391
348434
|
},
|
|
348392
348435
|
"state": {
|
|
348393
|
-
"description": "Sets the state of the secret scanning alert.
|
|
348436
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
348394
348437
|
"type": "string",
|
|
348395
348438
|
"enum": [
|
|
348396
348439
|
"open",
|
|
@@ -387598,7 +387641,7 @@
|
|
|
387598
387641
|
},
|
|
387599
387642
|
{
|
|
387600
387643
|
"name": "state",
|
|
387601
|
-
"description": "Indicates the state of the issues to return.
|
|
387644
|
+
"description": "Indicates the state of the issues to return.",
|
|
387602
387645
|
"in": "query",
|
|
387603
387646
|
"required": false,
|
|
387604
387647
|
"schema": {
|
|
@@ -387622,7 +387665,7 @@
|
|
|
387622
387665
|
},
|
|
387623
387666
|
{
|
|
387624
387667
|
"name": "sort",
|
|
387625
|
-
"description": "What to sort results by.
|
|
387668
|
+
"description": "What to sort results by.",
|
|
387626
387669
|
"in": "query",
|
|
387627
387670
|
"required": false,
|
|
387628
387671
|
"schema": {
|
|
@@ -391151,7 +391194,7 @@
|
|
|
391151
391194
|
"parameters": [
|
|
391152
391195
|
{
|
|
391153
391196
|
"name": "state",
|
|
391154
|
-
"description": "Indicates the state of the memberships to return.
|
|
391197
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
391155
391198
|
"in": "query",
|
|
391156
391199
|
"required": false,
|
|
391157
391200
|
"schema": {
|
|
@@ -422655,7 +422698,7 @@
|
|
|
422655
422698
|
},
|
|
422656
422699
|
{
|
|
422657
422700
|
"name": "state",
|
|
422658
|
-
"description": "Indicates the state of the projects to return.
|
|
422701
|
+
"description": "Indicates the state of the projects to return.",
|
|
422659
422702
|
"in": "query",
|
|
422660
422703
|
"required": false,
|
|
422661
422704
|
"schema": {
|