@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
|
@@ -12044,6 +12044,12 @@
|
|
|
12044
12044
|
"/repos/{owner}/{repo}/branches/{branch}/rename": [
|
|
12045
12045
|
"post"
|
|
12046
12046
|
],
|
|
12047
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases": [
|
|
12048
|
+
"get"
|
|
12049
|
+
],
|
|
12050
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": [
|
|
12051
|
+
"get"
|
|
12052
|
+
],
|
|
12047
12053
|
"/repos/{owner}/{repo}/codespaces": [
|
|
12048
12054
|
"get",
|
|
12049
12055
|
"post"
|
|
@@ -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": {
|
|
@@ -16546,7 +16546,7 @@
|
|
|
16546
16546
|
},
|
|
16547
16547
|
{
|
|
16548
16548
|
"name": "state",
|
|
16549
|
-
"description": "Indicates the state of the issues to return.
|
|
16549
|
+
"description": "Indicates the state of the issues to return.",
|
|
16550
16550
|
"in": "query",
|
|
16551
16551
|
"required": false,
|
|
16552
16552
|
"schema": {
|
|
@@ -16570,7 +16570,7 @@
|
|
|
16570
16570
|
},
|
|
16571
16571
|
{
|
|
16572
16572
|
"name": "sort",
|
|
16573
|
-
"description": "What to sort results by.
|
|
16573
|
+
"description": "What to sort results by.",
|
|
16574
16574
|
"in": "query",
|
|
16575
16575
|
"required": false,
|
|
16576
16576
|
"schema": {
|
|
@@ -32009,7 +32009,7 @@
|
|
|
32009
32009
|
},
|
|
32010
32010
|
{
|
|
32011
32011
|
"name": "state",
|
|
32012
|
-
"description": "Indicates the state of the issues to return.
|
|
32012
|
+
"description": "Indicates the state of the issues to return.",
|
|
32013
32013
|
"in": "query",
|
|
32014
32014
|
"required": false,
|
|
32015
32015
|
"schema": {
|
|
@@ -32033,7 +32033,7 @@
|
|
|
32033
32033
|
},
|
|
32034
32034
|
{
|
|
32035
32035
|
"name": "sort",
|
|
32036
|
-
"description": "What to sort results by.
|
|
32036
|
+
"description": "What to sort results by.",
|
|
32037
32037
|
"in": "query",
|
|
32038
32038
|
"required": false,
|
|
32039
32039
|
"schema": {
|
|
@@ -89184,7 +89184,7 @@
|
|
|
89184
89184
|
}
|
|
89185
89185
|
},
|
|
89186
89186
|
"403": {
|
|
89187
|
-
"description": "Response if the repository is archived or if
|
|
89187
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
89188
89188
|
"content": {
|
|
89189
89189
|
"application/json": {
|
|
89190
89190
|
"schema": {
|
|
@@ -104928,7 +104928,7 @@
|
|
|
104928
104928
|
},
|
|
104929
104929
|
{
|
|
104930
104930
|
"name": "sort",
|
|
104931
|
-
"description": "The sort order.
|
|
104931
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
104932
104932
|
"in": "query",
|
|
104933
104933
|
"required": false,
|
|
104934
104934
|
"schema": {
|
|
@@ -117106,7 +117106,7 @@
|
|
|
117106
117106
|
},
|
|
117107
117107
|
{
|
|
117108
117108
|
"name": "state",
|
|
117109
|
-
"description": "Indicates the state of the issues to return.
|
|
117109
|
+
"description": "Indicates the state of the issues to return.",
|
|
117110
117110
|
"in": "query",
|
|
117111
117111
|
"required": false,
|
|
117112
117112
|
"schema": {
|
|
@@ -117157,7 +117157,7 @@
|
|
|
117157
117157
|
},
|
|
117158
117158
|
{
|
|
117159
117159
|
"name": "sort",
|
|
117160
|
-
"description": "What to sort results by.
|
|
117160
|
+
"description": "What to sort results by.",
|
|
117161
117161
|
"in": "query",
|
|
117162
117162
|
"required": false,
|
|
117163
117163
|
"schema": {
|
|
@@ -141117,7 +141117,7 @@
|
|
|
141117
141117
|
},
|
|
141118
141118
|
{
|
|
141119
141119
|
"name": "sort",
|
|
141120
|
-
"description": "What to sort results by.
|
|
141120
|
+
"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.",
|
|
141121
141121
|
"in": "query",
|
|
141122
141122
|
"required": false,
|
|
141123
141123
|
"schema": {
|
|
@@ -141133,7 +141133,7 @@
|
|
|
141133
141133
|
},
|
|
141134
141134
|
{
|
|
141135
141135
|
"name": "direction",
|
|
141136
|
-
"description": "The direction of the sort.
|
|
141136
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
141137
141137
|
"in": "query",
|
|
141138
141138
|
"required": false,
|
|
141139
141139
|
"schema": {
|
|
@@ -152129,7 +152129,7 @@
|
|
|
152129
152129
|
"description": "The REST API URL of the code locations for this alert."
|
|
152130
152130
|
},
|
|
152131
152131
|
"state": {
|
|
152132
|
-
"description": "Sets the state of the secret scanning alert.
|
|
152132
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
152133
152133
|
"type": "string",
|
|
152134
152134
|
"enum": [
|
|
152135
152135
|
"open",
|
|
@@ -152463,7 +152463,7 @@
|
|
|
152463
152463
|
"description": "The REST API URL of the code locations for this alert."
|
|
152464
152464
|
},
|
|
152465
152465
|
"state": {
|
|
152466
|
-
"description": "Sets the state of the secret scanning alert.
|
|
152466
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
152467
152467
|
"type": "string",
|
|
152468
152468
|
"enum": [
|
|
152469
152469
|
"open",
|
|
@@ -152727,7 +152727,7 @@
|
|
|
152727
152727
|
"type": "object",
|
|
152728
152728
|
"properties": {
|
|
152729
152729
|
"state": {
|
|
152730
|
-
"description": "Sets the state of the secret scanning alert.
|
|
152730
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
152731
152731
|
"type": "string",
|
|
152732
152732
|
"enum": [
|
|
152733
152733
|
"open",
|
|
@@ -152805,7 +152805,7 @@
|
|
|
152805
152805
|
"description": "The REST API URL of the code locations for this alert."
|
|
152806
152806
|
},
|
|
152807
152807
|
"state": {
|
|
152808
|
-
"description": "Sets the state of the secret scanning alert.
|
|
152808
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
152809
152809
|
"type": "string",
|
|
152810
152810
|
"enum": [
|
|
152811
152811
|
"open",
|
|
@@ -170817,7 +170817,7 @@
|
|
|
170817
170817
|
},
|
|
170818
170818
|
{
|
|
170819
170819
|
"name": "state",
|
|
170820
|
-
"description": "Indicates the state of the issues to return.
|
|
170820
|
+
"description": "Indicates the state of the issues to return.",
|
|
170821
170821
|
"in": "query",
|
|
170822
170822
|
"required": false,
|
|
170823
170823
|
"schema": {
|
|
@@ -170841,7 +170841,7 @@
|
|
|
170841
170841
|
},
|
|
170842
170842
|
{
|
|
170843
170843
|
"name": "sort",
|
|
170844
|
-
"description": "What to sort results by.
|
|
170844
|
+
"description": "What to sort results by.",
|
|
170845
170845
|
"in": "query",
|
|
170846
170846
|
"required": false,
|
|
170847
170847
|
"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": {
|
|
@@ -3299,7 +3299,7 @@
|
|
|
3299
3299
|
},
|
|
3300
3300
|
{
|
|
3301
3301
|
"name": "state",
|
|
3302
|
-
"description": "Indicates the state of the issues to return.
|
|
3302
|
+
"description": "Indicates the state of the issues to return.",
|
|
3303
3303
|
"in": "query",
|
|
3304
3304
|
"required": false,
|
|
3305
3305
|
"schema": {
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
},
|
|
3318
3318
|
{
|
|
3319
3319
|
"name": "sort",
|
|
3320
|
-
"description": "What to sort results by.
|
|
3320
|
+
"description": "What to sort results by.",
|
|
3321
3321
|
"in": "query",
|
|
3322
3322
|
"required": false,
|
|
3323
3323
|
"schema": {
|
|
@@ -4525,7 +4525,7 @@
|
|
|
4525
4525
|
},
|
|
4526
4526
|
{
|
|
4527
4527
|
"name": "state",
|
|
4528
|
-
"description": "Indicates the state of the issues to return.
|
|
4528
|
+
"description": "Indicates the state of the issues to return.",
|
|
4529
4529
|
"in": "query",
|
|
4530
4530
|
"required": false,
|
|
4531
4531
|
"schema": {
|
|
@@ -4543,7 +4543,7 @@
|
|
|
4543
4543
|
},
|
|
4544
4544
|
{
|
|
4545
4545
|
"name": "sort",
|
|
4546
|
-
"description": "What to sort results by.
|
|
4546
|
+
"description": "What to sort results by.",
|
|
4547
4547
|
"in": "query",
|
|
4548
4548
|
"required": false,
|
|
4549
4549
|
"schema": {
|
|
@@ -7623,7 +7623,7 @@
|
|
|
7623
7623
|
},
|
|
7624
7624
|
{
|
|
7625
7625
|
"name": "sort",
|
|
7626
|
-
"description": "The sort order.
|
|
7626
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
7627
7627
|
"in": "query",
|
|
7628
7628
|
"required": false,
|
|
7629
7629
|
"schema": {
|
|
@@ -8006,7 +8006,7 @@
|
|
|
8006
8006
|
},
|
|
8007
8007
|
{
|
|
8008
8008
|
"name": "state",
|
|
8009
|
-
"description": "Indicates the state of the issues to return.
|
|
8009
|
+
"description": "Indicates the state of the issues to return.",
|
|
8010
8010
|
"in": "query",
|
|
8011
8011
|
"required": false,
|
|
8012
8012
|
"schema": {
|
|
@@ -8051,7 +8051,7 @@
|
|
|
8051
8051
|
},
|
|
8052
8052
|
{
|
|
8053
8053
|
"name": "sort",
|
|
8054
|
-
"description": "What to sort results by.
|
|
8054
|
+
"description": "What to sort results by.",
|
|
8055
8055
|
"in": "query",
|
|
8056
8056
|
"required": false,
|
|
8057
8057
|
"schema": {
|
|
@@ -9130,7 +9130,7 @@
|
|
|
9130
9130
|
},
|
|
9131
9131
|
{
|
|
9132
9132
|
"name": "sort",
|
|
9133
|
-
"description": "What to sort results by.
|
|
9133
|
+
"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.",
|
|
9134
9134
|
"in": "query",
|
|
9135
9135
|
"required": false,
|
|
9136
9136
|
"schema": {
|
|
@@ -9146,7 +9146,7 @@
|
|
|
9146
9146
|
},
|
|
9147
9147
|
{
|
|
9148
9148
|
"name": "direction",
|
|
9149
|
-
"description": "The direction of the sort.
|
|
9149
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
9150
9150
|
"in": "query",
|
|
9151
9151
|
"required": false,
|
|
9152
9152
|
"schema": {
|
|
@@ -10973,7 +10973,7 @@
|
|
|
10973
10973
|
},
|
|
10974
10974
|
{
|
|
10975
10975
|
"name": "state",
|
|
10976
|
-
"description": "Indicates the state of the issues to return.
|
|
10976
|
+
"description": "Indicates the state of the issues to return.",
|
|
10977
10977
|
"in": "query",
|
|
10978
10978
|
"required": false,
|
|
10979
10979
|
"schema": {
|
|
@@ -10991,7 +10991,7 @@
|
|
|
10991
10991
|
},
|
|
10992
10992
|
{
|
|
10993
10993
|
"name": "sort",
|
|
10994
|
-
"description": "What to sort results by.
|
|
10994
|
+
"description": "What to sort results by.",
|
|
10995
10995
|
"in": "query",
|
|
10996
10996
|
"required": false,
|
|
10997
10997
|
"schema": {
|
|
@@ -18879,7 +18879,7 @@
|
|
|
18879
18879
|
}
|
|
18880
18880
|
},
|
|
18881
18881
|
"secret-scanning-alert-state": {
|
|
18882
|
-
"description": "Sets the state of the secret scanning alert.
|
|
18882
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
18883
18883
|
"type": "string",
|
|
18884
18884
|
"enum": [
|
|
18885
18885
|
"open",
|
|
@@ -32766,7 +32766,7 @@
|
|
|
32766
32766
|
}
|
|
32767
32767
|
},
|
|
32768
32768
|
"code_scanning_forbidden_write": {
|
|
32769
|
-
"description": "Response if the repository is archived or if
|
|
32769
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
32770
32770
|
"content": {
|
|
32771
32771
|
"application/json": {
|
|
32772
32772
|
"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": {
|
|
@@ -33520,7 +33520,7 @@
|
|
|
33520
33520
|
},
|
|
33521
33521
|
{
|
|
33522
33522
|
"name": "state",
|
|
33523
|
-
"description": "Indicates the state of the issues to return.
|
|
33523
|
+
"description": "Indicates the state of the issues to return.",
|
|
33524
33524
|
"in": "query",
|
|
33525
33525
|
"required": false,
|
|
33526
33526
|
"schema": {
|
|
@@ -33544,7 +33544,7 @@
|
|
|
33544
33544
|
},
|
|
33545
33545
|
{
|
|
33546
33546
|
"name": "sort",
|
|
33547
|
-
"description": "What to sort results by.
|
|
33547
|
+
"description": "What to sort results by.",
|
|
33548
33548
|
"in": "query",
|
|
33549
33549
|
"required": false,
|
|
33550
33550
|
"schema": {
|
|
@@ -36781,7 +36781,7 @@
|
|
|
36781
36781
|
"type": "string"
|
|
36782
36782
|
},
|
|
36783
36783
|
"mode": {
|
|
36784
|
-
"description": "The rendering mode.
|
|
36784
|
+
"description": "The rendering mode.",
|
|
36785
36785
|
"enum": [
|
|
36786
36786
|
"markdown",
|
|
36787
36787
|
"gfm"
|
|
@@ -55721,7 +55721,7 @@
|
|
|
55721
55721
|
},
|
|
55722
55722
|
{
|
|
55723
55723
|
"name": "state",
|
|
55724
|
-
"description": "Indicates the state of the issues to return.
|
|
55724
|
+
"description": "Indicates the state of the issues to return.",
|
|
55725
55725
|
"in": "query",
|
|
55726
55726
|
"required": false,
|
|
55727
55727
|
"schema": {
|
|
@@ -55745,7 +55745,7 @@
|
|
|
55745
55745
|
},
|
|
55746
55746
|
{
|
|
55747
55747
|
"name": "sort",
|
|
55748
|
-
"description": "What to sort results by.
|
|
55748
|
+
"description": "What to sort results by.",
|
|
55749
55749
|
"in": "query",
|
|
55750
55750
|
"required": false,
|
|
55751
55751
|
"schema": {
|
|
@@ -65191,7 +65191,7 @@
|
|
|
65191
65191
|
},
|
|
65192
65192
|
{
|
|
65193
65193
|
"name": "state",
|
|
65194
|
-
"description": "Indicates the state of the projects to return.
|
|
65194
|
+
"description": "Indicates the state of the projects to return.",
|
|
65195
65195
|
"in": "query",
|
|
65196
65196
|
"required": false,
|
|
65197
65197
|
"schema": {
|
|
@@ -99590,7 +99590,16 @@
|
|
|
99590
99590
|
"description": "The outcome of the job.",
|
|
99591
99591
|
"example": "success",
|
|
99592
99592
|
"type": "string",
|
|
99593
|
-
"nullable": true
|
|
99593
|
+
"nullable": true,
|
|
99594
|
+
"enum": [
|
|
99595
|
+
"success",
|
|
99596
|
+
"failure",
|
|
99597
|
+
"neutral",
|
|
99598
|
+
"cancelled",
|
|
99599
|
+
"skipped",
|
|
99600
|
+
"timed_out",
|
|
99601
|
+
"action_required"
|
|
99602
|
+
]
|
|
99594
99603
|
},
|
|
99595
99604
|
"started_at": {
|
|
99596
99605
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -116630,7 +116639,16 @@
|
|
|
116630
116639
|
"description": "The outcome of the job.",
|
|
116631
116640
|
"example": "success",
|
|
116632
116641
|
"type": "string",
|
|
116633
|
-
"nullable": true
|
|
116642
|
+
"nullable": true,
|
|
116643
|
+
"enum": [
|
|
116644
|
+
"success",
|
|
116645
|
+
"failure",
|
|
116646
|
+
"neutral",
|
|
116647
|
+
"cancelled",
|
|
116648
|
+
"skipped",
|
|
116649
|
+
"timed_out",
|
|
116650
|
+
"action_required"
|
|
116651
|
+
]
|
|
116634
116652
|
},
|
|
116635
116653
|
"started_at": {
|
|
116636
116654
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -117246,7 +117264,16 @@
|
|
|
117246
117264
|
"description": "The outcome of the job.",
|
|
117247
117265
|
"example": "success",
|
|
117248
117266
|
"type": "string",
|
|
117249
|
-
"nullable": true
|
|
117267
|
+
"nullable": true,
|
|
117268
|
+
"enum": [
|
|
117269
|
+
"success",
|
|
117270
|
+
"failure",
|
|
117271
|
+
"neutral",
|
|
117272
|
+
"cancelled",
|
|
117273
|
+
"skipped",
|
|
117274
|
+
"timed_out",
|
|
117275
|
+
"action_required"
|
|
117276
|
+
]
|
|
117250
117277
|
},
|
|
117251
117278
|
"started_at": {
|
|
117252
117279
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -158256,7 +158283,7 @@
|
|
|
158256
158283
|
}
|
|
158257
158284
|
},
|
|
158258
158285
|
"403": {
|
|
158259
|
-
"description": "Response if the repository is archived or if
|
|
158286
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
158260
158287
|
"content": {
|
|
158261
158288
|
"application/json": {
|
|
158262
158289
|
"schema": {
|
|
@@ -159482,7 +159509,7 @@
|
|
|
159482
159509
|
}
|
|
159483
159510
|
},
|
|
159484
159511
|
"403": {
|
|
159485
|
-
"description": "Response if the repository is archived or if
|
|
159512
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
159486
159513
|
"content": {
|
|
159487
159514
|
"application/json": {
|
|
159488
159515
|
"schema": {
|
|
@@ -159688,7 +159715,7 @@
|
|
|
159688
159715
|
"description": "Bad Request if the sarif field is invalid"
|
|
159689
159716
|
},
|
|
159690
159717
|
"403": {
|
|
159691
|
-
"description": "Response if the repository is archived or if
|
|
159718
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
159692
159719
|
"content": {
|
|
159693
159720
|
"application/json": {
|
|
159694
159721
|
"schema": {
|
|
@@ -181208,7 +181235,7 @@
|
|
|
181208
181235
|
},
|
|
181209
181236
|
"put": {
|
|
181210
181237
|
"summary": "Create or update file contents",
|
|
181211
|
-
"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.",
|
|
181238
|
+
"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.",
|
|
181212
181239
|
"tags": [
|
|
181213
181240
|
"repos"
|
|
181214
181241
|
],
|
|
@@ -181913,7 +181940,7 @@
|
|
|
181913
181940
|
},
|
|
181914
181941
|
"delete": {
|
|
181915
181942
|
"summary": "Delete a file",
|
|
181916
|
-
"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.",
|
|
181943
|
+
"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.",
|
|
181917
181944
|
"tags": [
|
|
181918
181945
|
"repos"
|
|
181919
181946
|
],
|
|
@@ -192479,7 +192506,7 @@
|
|
|
192479
192506
|
},
|
|
192480
192507
|
{
|
|
192481
192508
|
"name": "sort",
|
|
192482
|
-
"description": "The sort order.
|
|
192509
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
192483
192510
|
"in": "query",
|
|
192484
192511
|
"required": false,
|
|
192485
192512
|
"schema": {
|
|
@@ -210879,7 +210906,7 @@
|
|
|
210879
210906
|
},
|
|
210880
210907
|
{
|
|
210881
210908
|
"name": "state",
|
|
210882
|
-
"description": "Indicates the state of the issues to return.
|
|
210909
|
+
"description": "Indicates the state of the issues to return.",
|
|
210883
210910
|
"in": "query",
|
|
210884
210911
|
"required": false,
|
|
210885
210912
|
"schema": {
|
|
@@ -210930,7 +210957,7 @@
|
|
|
210930
210957
|
},
|
|
210931
210958
|
{
|
|
210932
210959
|
"name": "sort",
|
|
210933
|
-
"description": "What to sort results by.
|
|
210960
|
+
"description": "What to sort results by.",
|
|
210934
210961
|
"in": "query",
|
|
210935
210962
|
"required": false,
|
|
210936
210963
|
"schema": {
|
|
@@ -270268,7 +270295,7 @@
|
|
|
270268
270295
|
},
|
|
270269
270296
|
{
|
|
270270
270297
|
"name": "state",
|
|
270271
|
-
"description": "Indicates the state of the projects to return.
|
|
270298
|
+
"description": "Indicates the state of the projects to return.",
|
|
270272
270299
|
"in": "query",
|
|
270273
270300
|
"required": false,
|
|
270274
270301
|
"schema": {
|
|
@@ -271248,7 +271275,7 @@
|
|
|
271248
271275
|
},
|
|
271249
271276
|
{
|
|
271250
271277
|
"name": "sort",
|
|
271251
|
-
"description": "What to sort results by.
|
|
271278
|
+
"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.",
|
|
271252
271279
|
"in": "query",
|
|
271253
271280
|
"required": false,
|
|
271254
271281
|
"schema": {
|
|
@@ -271264,7 +271291,7 @@
|
|
|
271264
271291
|
},
|
|
271265
271292
|
{
|
|
271266
271293
|
"name": "direction",
|
|
271267
|
-
"description": "The direction of the sort.
|
|
271294
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
271268
271295
|
"in": "query",
|
|
271269
271296
|
"required": false,
|
|
271270
271297
|
"schema": {
|
|
@@ -279266,7 +279293,7 @@
|
|
|
279266
279293
|
},
|
|
279267
279294
|
{
|
|
279268
279295
|
"name": "direction",
|
|
279269
|
-
"description": "
|
|
279296
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
279270
279297
|
"in": "query",
|
|
279271
279298
|
"required": false,
|
|
279272
279299
|
"schema": {
|
|
@@ -288718,7 +288745,7 @@
|
|
|
288718
288745
|
},
|
|
288719
288746
|
{
|
|
288720
288747
|
"name": "direction",
|
|
288721
|
-
"description": "
|
|
288748
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
288722
288749
|
"in": "query",
|
|
288723
288750
|
"required": false,
|
|
288724
288751
|
"schema": {
|
|
@@ -311981,7 +312008,7 @@
|
|
|
311981
312008
|
"description": "The REST API URL of the code locations for this alert."
|
|
311982
312009
|
},
|
|
311983
312010
|
"state": {
|
|
311984
|
-
"description": "Sets the state of the secret scanning alert.
|
|
312011
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
311985
312012
|
"type": "string",
|
|
311986
312013
|
"enum": [
|
|
311987
312014
|
"open",
|
|
@@ -312315,7 +312342,7 @@
|
|
|
312315
312342
|
"description": "The REST API URL of the code locations for this alert."
|
|
312316
312343
|
},
|
|
312317
312344
|
"state": {
|
|
312318
|
-
"description": "Sets the state of the secret scanning alert.
|
|
312345
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
312319
312346
|
"type": "string",
|
|
312320
312347
|
"enum": [
|
|
312321
312348
|
"open",
|
|
@@ -312579,7 +312606,7 @@
|
|
|
312579
312606
|
"type": "object",
|
|
312580
312607
|
"properties": {
|
|
312581
312608
|
"state": {
|
|
312582
|
-
"description": "Sets the state of the secret scanning alert.
|
|
312609
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
312583
312610
|
"type": "string",
|
|
312584
312611
|
"enum": [
|
|
312585
312612
|
"open",
|
|
@@ -312657,7 +312684,7 @@
|
|
|
312657
312684
|
"description": "The REST API URL of the code locations for this alert."
|
|
312658
312685
|
},
|
|
312659
312686
|
"state": {
|
|
312660
|
-
"description": "Sets the state of the secret scanning alert.
|
|
312687
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
312661
312688
|
"type": "string",
|
|
312662
312689
|
"enum": [
|
|
312663
312690
|
"open",
|
|
@@ -346563,7 +346590,7 @@
|
|
|
346563
346590
|
},
|
|
346564
346591
|
{
|
|
346565
346592
|
"name": "state",
|
|
346566
|
-
"description": "Indicates the state of the issues to return.
|
|
346593
|
+
"description": "Indicates the state of the issues to return.",
|
|
346567
346594
|
"in": "query",
|
|
346568
346595
|
"required": false,
|
|
346569
346596
|
"schema": {
|
|
@@ -346587,7 +346614,7 @@
|
|
|
346587
346614
|
},
|
|
346588
346615
|
{
|
|
346589
346616
|
"name": "sort",
|
|
346590
|
-
"description": "What to sort results by.
|
|
346617
|
+
"description": "What to sort results by.",
|
|
346591
346618
|
"in": "query",
|
|
346592
346619
|
"required": false,
|
|
346593
346620
|
"schema": {
|
|
@@ -350121,7 +350148,7 @@
|
|
|
350121
350148
|
"parameters": [
|
|
350122
350149
|
{
|
|
350123
350150
|
"name": "state",
|
|
350124
|
-
"description": "Indicates the state of the memberships to return.
|
|
350151
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
350125
350152
|
"in": "query",
|
|
350126
350153
|
"required": false,
|
|
350127
350154
|
"schema": {
|
|
@@ -378379,7 +378406,7 @@
|
|
|
378379
378406
|
},
|
|
378380
378407
|
{
|
|
378381
378408
|
"name": "state",
|
|
378382
|
-
"description": "Indicates the state of the projects to return.
|
|
378409
|
+
"description": "Indicates the state of the projects to return.",
|
|
378383
378410
|
"in": "query",
|
|
378384
378411
|
"required": false,
|
|
378385
378412
|
"schema": {
|
|
@@ -390021,6 +390048,50 @@
|
|
|
390021
390048
|
}
|
|
390022
390049
|
}
|
|
390023
390050
|
},
|
|
390051
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases": {
|
|
390052
|
+
"get": {
|
|
390053
|
+
"summary": "List CodeQL databases for a repository",
|
|
390054
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
390055
|
+
"tags": [
|
|
390056
|
+
"code-scanning"
|
|
390057
|
+
],
|
|
390058
|
+
"operationId": "code-scanning/list-codeql-databases",
|
|
390059
|
+
"externalDocs": {
|
|
390060
|
+
"description": "API method documentation",
|
|
390061
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases"
|
|
390062
|
+
},
|
|
390063
|
+
"x-octokit": {
|
|
390064
|
+
"api.github.com": "removed"
|
|
390065
|
+
},
|
|
390066
|
+
"responses": {
|
|
390067
|
+
"501": {
|
|
390068
|
+
"description": "Not Implemented"
|
|
390069
|
+
}
|
|
390070
|
+
}
|
|
390071
|
+
}
|
|
390072
|
+
},
|
|
390073
|
+
"/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": {
|
|
390074
|
+
"get": {
|
|
390075
|
+
"summary": "Get a CodeQL database for a repository",
|
|
390076
|
+
"description": "This endpoint is currently not supported by GitHub AE. It only exists in api.github.com right now.",
|
|
390077
|
+
"tags": [
|
|
390078
|
+
"code-scanning"
|
|
390079
|
+
],
|
|
390080
|
+
"operationId": "code-scanning/get-codeql-database",
|
|
390081
|
+
"externalDocs": {
|
|
390082
|
+
"description": "API method documentation",
|
|
390083
|
+
"url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database"
|
|
390084
|
+
},
|
|
390085
|
+
"x-octokit": {
|
|
390086
|
+
"api.github.com": "removed"
|
|
390087
|
+
},
|
|
390088
|
+
"responses": {
|
|
390089
|
+
"501": {
|
|
390090
|
+
"description": "Not Implemented"
|
|
390091
|
+
}
|
|
390092
|
+
}
|
|
390093
|
+
}
|
|
390094
|
+
},
|
|
390024
390095
|
"/repos/{owner}/{repo}/codespaces": {
|
|
390025
390096
|
"get": {
|
|
390026
390097
|
"summary": "List codespaces in a repository for the authenticated user",
|