@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.2.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": {
|
|
@@ -8270,7 +8270,7 @@
|
|
|
8270
8270
|
},
|
|
8271
8271
|
{
|
|
8272
8272
|
"name": "state",
|
|
8273
|
-
"description": "Indicates the state of the issues to return.
|
|
8273
|
+
"description": "Indicates the state of the issues to return.",
|
|
8274
8274
|
"in": "query",
|
|
8275
8275
|
"required": false,
|
|
8276
8276
|
"schema": {
|
|
@@ -8288,7 +8288,7 @@
|
|
|
8288
8288
|
},
|
|
8289
8289
|
{
|
|
8290
8290
|
"name": "sort",
|
|
8291
|
-
"description": "What to sort results by.
|
|
8291
|
+
"description": "What to sort results by.",
|
|
8292
8292
|
"in": "query",
|
|
8293
8293
|
"required": false,
|
|
8294
8294
|
"schema": {
|
|
@@ -8547,7 +8547,7 @@
|
|
|
8547
8547
|
"type": "string"
|
|
8548
8548
|
},
|
|
8549
8549
|
"mode": {
|
|
8550
|
-
"description": "The rendering mode.
|
|
8550
|
+
"description": "The rendering mode.",
|
|
8551
8551
|
"enum": [
|
|
8552
8552
|
"markdown",
|
|
8553
8553
|
"gfm"
|
|
@@ -12408,7 +12408,7 @@
|
|
|
12408
12408
|
},
|
|
12409
12409
|
{
|
|
12410
12410
|
"name": "state",
|
|
12411
|
-
"description": "Indicates the state of the issues to return.
|
|
12411
|
+
"description": "Indicates the state of the issues to return.",
|
|
12412
12412
|
"in": "query",
|
|
12413
12413
|
"required": false,
|
|
12414
12414
|
"schema": {
|
|
@@ -12426,7 +12426,7 @@
|
|
|
12426
12426
|
},
|
|
12427
12427
|
{
|
|
12428
12428
|
"name": "sort",
|
|
12429
|
-
"description": "What to sort results by.
|
|
12429
|
+
"description": "What to sort results by.",
|
|
12430
12430
|
"in": "query",
|
|
12431
12431
|
"required": false,
|
|
12432
12432
|
"schema": {
|
|
@@ -13339,7 +13339,7 @@
|
|
|
13339
13339
|
},
|
|
13340
13340
|
{
|
|
13341
13341
|
"name": "state",
|
|
13342
|
-
"description": "Indicates the state of the projects to return.
|
|
13342
|
+
"description": "Indicates the state of the projects to return.",
|
|
13343
13343
|
"in": "query",
|
|
13344
13344
|
"required": false,
|
|
13345
13345
|
"schema": {
|
|
@@ -27447,7 +27447,7 @@
|
|
|
27447
27447
|
},
|
|
27448
27448
|
"put": {
|
|
27449
27449
|
"summary": "Create or update file contents",
|
|
27450
|
-
"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.",
|
|
27450
|
+
"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.2/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.",
|
|
27451
27451
|
"tags": [
|
|
27452
27452
|
"repos"
|
|
27453
27453
|
],
|
|
@@ -27626,7 +27626,7 @@
|
|
|
27626
27626
|
},
|
|
27627
27627
|
"delete": {
|
|
27628
27628
|
"summary": "Delete a file",
|
|
27629
|
-
"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.",
|
|
27629
|
+
"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.2/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.",
|
|
27630
27630
|
"tags": [
|
|
27631
27631
|
"repos"
|
|
27632
27632
|
],
|
|
@@ -29243,7 +29243,7 @@
|
|
|
29243
29243
|
},
|
|
29244
29244
|
{
|
|
29245
29245
|
"name": "sort",
|
|
29246
|
-
"description": "The sort order.
|
|
29246
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
29247
29247
|
"in": "query",
|
|
29248
29248
|
"required": false,
|
|
29249
29249
|
"schema": {
|
|
@@ -31576,7 +31576,7 @@
|
|
|
31576
31576
|
},
|
|
31577
31577
|
{
|
|
31578
31578
|
"name": "state",
|
|
31579
|
-
"description": "Indicates the state of the issues to return.
|
|
31579
|
+
"description": "Indicates the state of the issues to return.",
|
|
31580
31580
|
"in": "query",
|
|
31581
31581
|
"required": false,
|
|
31582
31582
|
"schema": {
|
|
@@ -31621,7 +31621,7 @@
|
|
|
31621
31621
|
},
|
|
31622
31622
|
{
|
|
31623
31623
|
"name": "sort",
|
|
31624
|
-
"description": "What to sort results by.
|
|
31624
|
+
"description": "What to sort results by.",
|
|
31625
31625
|
"in": "query",
|
|
31626
31626
|
"required": false,
|
|
31627
31627
|
"schema": {
|
|
@@ -36268,7 +36268,7 @@
|
|
|
36268
36268
|
},
|
|
36269
36269
|
{
|
|
36270
36270
|
"name": "state",
|
|
36271
|
-
"description": "Indicates the state of the projects to return.
|
|
36271
|
+
"description": "Indicates the state of the projects to return.",
|
|
36272
36272
|
"in": "query",
|
|
36273
36273
|
"required": false,
|
|
36274
36274
|
"schema": {
|
|
@@ -36493,7 +36493,7 @@
|
|
|
36493
36493
|
},
|
|
36494
36494
|
{
|
|
36495
36495
|
"name": "sort",
|
|
36496
|
-
"description": "What to sort results by.
|
|
36496
|
+
"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.",
|
|
36497
36497
|
"in": "query",
|
|
36498
36498
|
"required": false,
|
|
36499
36499
|
"schema": {
|
|
@@ -36509,7 +36509,7 @@
|
|
|
36509
36509
|
},
|
|
36510
36510
|
{
|
|
36511
36511
|
"name": "direction",
|
|
36512
|
-
"description": "The direction of the sort.
|
|
36512
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
36513
36513
|
"in": "query",
|
|
36514
36514
|
"required": false,
|
|
36515
36515
|
"schema": {
|
|
@@ -36721,7 +36721,7 @@
|
|
|
36721
36721
|
},
|
|
36722
36722
|
{
|
|
36723
36723
|
"name": "direction",
|
|
36724
|
-
"description": "
|
|
36724
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
36725
36725
|
"in": "query",
|
|
36726
36726
|
"required": false,
|
|
36727
36727
|
"schema": {
|
|
@@ -37401,7 +37401,7 @@
|
|
|
37401
37401
|
},
|
|
37402
37402
|
{
|
|
37403
37403
|
"name": "direction",
|
|
37404
|
-
"description": "
|
|
37404
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
37405
37405
|
"in": "query",
|
|
37406
37406
|
"required": false,
|
|
37407
37407
|
"schema": {
|
|
@@ -46946,7 +46946,7 @@
|
|
|
46946
46946
|
},
|
|
46947
46947
|
{
|
|
46948
46948
|
"name": "state",
|
|
46949
|
-
"description": "Indicates the state of the issues to return.
|
|
46949
|
+
"description": "Indicates the state of the issues to return.",
|
|
46950
46950
|
"in": "query",
|
|
46951
46951
|
"required": false,
|
|
46952
46952
|
"schema": {
|
|
@@ -46964,7 +46964,7 @@
|
|
|
46964
46964
|
},
|
|
46965
46965
|
{
|
|
46966
46966
|
"name": "sort",
|
|
46967
|
-
"description": "What to sort results by.
|
|
46967
|
+
"description": "What to sort results by.",
|
|
46968
46968
|
"in": "query",
|
|
46969
46969
|
"required": false,
|
|
46970
46970
|
"schema": {
|
|
@@ -47341,7 +47341,7 @@
|
|
|
47341
47341
|
"parameters": [
|
|
47342
47342
|
{
|
|
47343
47343
|
"name": "state",
|
|
47344
|
-
"description": "Indicates the state of the memberships to return.
|
|
47344
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
47345
47345
|
"in": "query",
|
|
47346
47346
|
"required": false,
|
|
47347
47347
|
"schema": {
|
|
@@ -49480,7 +49480,7 @@
|
|
|
49480
49480
|
},
|
|
49481
49481
|
{
|
|
49482
49482
|
"name": "state",
|
|
49483
|
-
"description": "Indicates the state of the projects to return.
|
|
49483
|
+
"description": "Indicates the state of the projects to return.",
|
|
49484
49484
|
"in": "query",
|
|
49485
49485
|
"required": false,
|
|
49486
49486
|
"schema": {
|
|
@@ -60611,7 +60611,16 @@
|
|
|
60611
60611
|
"description": "The outcome of the job.",
|
|
60612
60612
|
"example": "success",
|
|
60613
60613
|
"type": "string",
|
|
60614
|
-
"nullable": true
|
|
60614
|
+
"nullable": true,
|
|
60615
|
+
"enum": [
|
|
60616
|
+
"success",
|
|
60617
|
+
"failure",
|
|
60618
|
+
"neutral",
|
|
60619
|
+
"cancelled",
|
|
60620
|
+
"skipped",
|
|
60621
|
+
"timed_out",
|
|
60622
|
+
"action_required"
|
|
60623
|
+
]
|
|
60615
60624
|
},
|
|
60616
60625
|
"started_at": {
|
|
60617
60626
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -71305,7 +71314,7 @@
|
|
|
71305
71314
|
"readOnly": true
|
|
71306
71315
|
},
|
|
71307
71316
|
"secret-scanning-alert-state": {
|
|
71308
|
-
"description": "Sets the state of the secret scanning alert.
|
|
71317
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
71309
71318
|
"type": "string",
|
|
71310
71319
|
"enum": [
|
|
71311
71320
|
"open",
|
|
@@ -96045,7 +96054,7 @@
|
|
|
96045
96054
|
}
|
|
96046
96055
|
},
|
|
96047
96056
|
"code_scanning_forbidden_write": {
|
|
96048
|
-
"description": "Response if the repository is archived or if
|
|
96057
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
96049
96058
|
"content": {
|
|
96050
96059
|
"application/json": {
|
|
96051
96060
|
"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": {
|
|
@@ -34403,7 +34403,7 @@
|
|
|
34403
34403
|
}
|
|
34404
34404
|
},
|
|
34405
34405
|
"403": {
|
|
34406
|
-
"description": "Response if the repository is archived or if
|
|
34406
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
34407
34407
|
"content": {
|
|
34408
34408
|
"application/json": {
|
|
34409
34409
|
"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": {
|
|
@@ -11511,7 +11511,7 @@
|
|
|
11511
11511
|
}
|
|
11512
11512
|
},
|
|
11513
11513
|
"code_scanning_forbidden_write": {
|
|
11514
|
-
"description": "Response if the repository is archived or if
|
|
11514
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
11515
11515
|
"content": {
|
|
11516
11516
|
"application/json": {
|
|
11517
11517
|
"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": {
|
|
@@ -48043,7 +48043,7 @@
|
|
|
48043
48043
|
},
|
|
48044
48044
|
{
|
|
48045
48045
|
"name": "state",
|
|
48046
|
-
"description": "Indicates the state of the issues to return.
|
|
48046
|
+
"description": "Indicates the state of the issues to return.",
|
|
48047
48047
|
"in": "query",
|
|
48048
48048
|
"required": false,
|
|
48049
48049
|
"schema": {
|
|
@@ -48067,7 +48067,7 @@
|
|
|
48067
48067
|
},
|
|
48068
48068
|
{
|
|
48069
48069
|
"name": "sort",
|
|
48070
|
-
"description": "What to sort results by.
|
|
48070
|
+
"description": "What to sort results by.",
|
|
48071
48071
|
"in": "query",
|
|
48072
48072
|
"required": false,
|
|
48073
48073
|
"schema": {
|
|
@@ -51293,7 +51293,7 @@
|
|
|
51293
51293
|
"type": "string"
|
|
51294
51294
|
},
|
|
51295
51295
|
"mode": {
|
|
51296
|
-
"description": "The rendering mode.
|
|
51296
|
+
"description": "The rendering mode.",
|
|
51297
51297
|
"enum": [
|
|
51298
51298
|
"markdown",
|
|
51299
51299
|
"gfm"
|
|
@@ -78453,7 +78453,7 @@
|
|
|
78453
78453
|
},
|
|
78454
78454
|
{
|
|
78455
78455
|
"name": "state",
|
|
78456
|
-
"description": "Indicates the state of the issues to return.
|
|
78456
|
+
"description": "Indicates the state of the issues to return.",
|
|
78457
78457
|
"in": "query",
|
|
78458
78458
|
"required": false,
|
|
78459
78459
|
"schema": {
|
|
@@ -78477,7 +78477,7 @@
|
|
|
78477
78477
|
},
|
|
78478
78478
|
{
|
|
78479
78479
|
"name": "sort",
|
|
78480
|
-
"description": "What to sort results by.
|
|
78480
|
+
"description": "What to sort results by.",
|
|
78481
78481
|
"in": "query",
|
|
78482
78482
|
"required": false,
|
|
78483
78483
|
"schema": {
|
|
@@ -83427,7 +83427,7 @@
|
|
|
83427
83427
|
},
|
|
83428
83428
|
{
|
|
83429
83429
|
"name": "state",
|
|
83430
|
-
"description": "Indicates the state of the projects to return.
|
|
83430
|
+
"description": "Indicates the state of the projects to return.",
|
|
83431
83431
|
"in": "query",
|
|
83432
83432
|
"required": false,
|
|
83433
83433
|
"schema": {
|
|
@@ -88166,7 +88166,7 @@
|
|
|
88166
88166
|
"description": "The REST API URL of the code locations for this alert."
|
|
88167
88167
|
},
|
|
88168
88168
|
"state": {
|
|
88169
|
-
"description": "Sets the state of the secret scanning alert.
|
|
88169
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
88170
88170
|
"type": "string",
|
|
88171
88171
|
"enum": [
|
|
88172
88172
|
"open",
|
|
@@ -118792,7 +118792,16 @@
|
|
|
118792
118792
|
"description": "The outcome of the job.",
|
|
118793
118793
|
"example": "success",
|
|
118794
118794
|
"type": "string",
|
|
118795
|
-
"nullable": true
|
|
118795
|
+
"nullable": true,
|
|
118796
|
+
"enum": [
|
|
118797
|
+
"success",
|
|
118798
|
+
"failure",
|
|
118799
|
+
"neutral",
|
|
118800
|
+
"cancelled",
|
|
118801
|
+
"skipped",
|
|
118802
|
+
"timed_out",
|
|
118803
|
+
"action_required"
|
|
118804
|
+
]
|
|
118796
118805
|
},
|
|
118797
118806
|
"started_at": {
|
|
118798
118807
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -131175,7 +131184,16 @@
|
|
|
131175
131184
|
"description": "The outcome of the job.",
|
|
131176
131185
|
"example": "success",
|
|
131177
131186
|
"type": "string",
|
|
131178
|
-
"nullable": true
|
|
131187
|
+
"nullable": true,
|
|
131188
|
+
"enum": [
|
|
131189
|
+
"success",
|
|
131190
|
+
"failure",
|
|
131191
|
+
"neutral",
|
|
131192
|
+
"cancelled",
|
|
131193
|
+
"skipped",
|
|
131194
|
+
"timed_out",
|
|
131195
|
+
"action_required"
|
|
131196
|
+
]
|
|
131179
131197
|
},
|
|
131180
131198
|
"started_at": {
|
|
131181
131199
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -170952,7 +170970,7 @@
|
|
|
170952
170970
|
}
|
|
170953
170971
|
},
|
|
170954
170972
|
"403": {
|
|
170955
|
-
"description": "Response if the repository is archived or if
|
|
170973
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
170956
170974
|
"content": {
|
|
170957
170975
|
"application/json": {
|
|
170958
170976
|
"schema": {
|
|
@@ -172151,7 +172169,7 @@
|
|
|
172151
172169
|
}
|
|
172152
172170
|
},
|
|
172153
172171
|
"403": {
|
|
172154
|
-
"description": "Response if the repository is archived or if
|
|
172172
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
172155
172173
|
"content": {
|
|
172156
172174
|
"application/json": {
|
|
172157
172175
|
"schema": {
|
|
@@ -172357,7 +172375,7 @@
|
|
|
172357
172375
|
"description": "Bad Request if the sarif field is invalid"
|
|
172358
172376
|
},
|
|
172359
172377
|
"403": {
|
|
172360
|
-
"description": "Response if the repository is archived or if
|
|
172378
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
172361
172379
|
"content": {
|
|
172362
172380
|
"application/json": {
|
|
172363
172381
|
"schema": {
|
|
@@ -193892,7 +193910,7 @@
|
|
|
193892
193910
|
},
|
|
193893
193911
|
"put": {
|
|
193894
193912
|
"summary": "Create or update file contents",
|
|
193895
|
-
"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.",
|
|
193913
|
+
"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.3/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.",
|
|
193896
193914
|
"tags": [
|
|
193897
193915
|
"repos"
|
|
193898
193916
|
],
|
|
@@ -194597,7 +194615,7 @@
|
|
|
194597
194615
|
},
|
|
194598
194616
|
"delete": {
|
|
194599
194617
|
"summary": "Delete a file",
|
|
194600
|
-
"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.",
|
|
194618
|
+
"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.3/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.",
|
|
194601
194619
|
"tags": [
|
|
194602
194620
|
"repos"
|
|
194603
194621
|
],
|
|
@@ -205152,7 +205170,7 @@
|
|
|
205152
205170
|
},
|
|
205153
205171
|
{
|
|
205154
205172
|
"name": "sort",
|
|
205155
|
-
"description": "The sort order.
|
|
205173
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
205156
205174
|
"in": "query",
|
|
205157
205175
|
"required": false,
|
|
205158
205176
|
"schema": {
|
|
@@ -223473,7 +223491,7 @@
|
|
|
223473
223491
|
},
|
|
223474
223492
|
{
|
|
223475
223493
|
"name": "state",
|
|
223476
|
-
"description": "Indicates the state of the issues to return.
|
|
223494
|
+
"description": "Indicates the state of the issues to return.",
|
|
223477
223495
|
"in": "query",
|
|
223478
223496
|
"required": false,
|
|
223479
223497
|
"schema": {
|
|
@@ -223524,7 +223542,7 @@
|
|
|
223524
223542
|
},
|
|
223525
223543
|
{
|
|
223526
223544
|
"name": "sort",
|
|
223527
|
-
"description": "What to sort results by.
|
|
223545
|
+
"description": "What to sort results by.",
|
|
223528
223546
|
"in": "query",
|
|
223529
223547
|
"required": false,
|
|
223530
223548
|
"schema": {
|
|
@@ -283122,7 +283140,7 @@
|
|
|
283122
283140
|
},
|
|
283123
283141
|
{
|
|
283124
283142
|
"name": "state",
|
|
283125
|
-
"description": "Indicates the state of the projects to return.
|
|
283143
|
+
"description": "Indicates the state of the projects to return.",
|
|
283126
283144
|
"in": "query",
|
|
283127
283145
|
"required": false,
|
|
283128
283146
|
"schema": {
|
|
@@ -284102,7 +284120,7 @@
|
|
|
284102
284120
|
},
|
|
284103
284121
|
{
|
|
284104
284122
|
"name": "sort",
|
|
284105
|
-
"description": "What to sort results by.
|
|
284123
|
+
"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.",
|
|
284106
284124
|
"in": "query",
|
|
284107
284125
|
"required": false,
|
|
284108
284126
|
"schema": {
|
|
@@ -284118,7 +284136,7 @@
|
|
|
284118
284136
|
},
|
|
284119
284137
|
{
|
|
284120
284138
|
"name": "direction",
|
|
284121
|
-
"description": "The direction of the sort.
|
|
284139
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
284122
284140
|
"in": "query",
|
|
284123
284141
|
"required": false,
|
|
284124
284142
|
"schema": {
|
|
@@ -292098,7 +292116,7 @@
|
|
|
292098
292116
|
},
|
|
292099
292117
|
{
|
|
292100
292118
|
"name": "direction",
|
|
292101
|
-
"description": "
|
|
292119
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
292102
292120
|
"in": "query",
|
|
292103
292121
|
"required": false,
|
|
292104
292122
|
"schema": {
|
|
@@ -301523,7 +301541,7 @@
|
|
|
301523
301541
|
},
|
|
301524
301542
|
{
|
|
301525
301543
|
"name": "direction",
|
|
301526
|
-
"description": "
|
|
301544
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
301527
301545
|
"in": "query",
|
|
301528
301546
|
"required": false,
|
|
301529
301547
|
"schema": {
|
|
@@ -324826,7 +324844,7 @@
|
|
|
324826
324844
|
"description": "The REST API URL of the code locations for this alert."
|
|
324827
324845
|
},
|
|
324828
324846
|
"state": {
|
|
324829
|
-
"description": "Sets the state of the secret scanning alert.
|
|
324847
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
324830
324848
|
"type": "string",
|
|
324831
324849
|
"enum": [
|
|
324832
324850
|
"open",
|
|
@@ -325158,7 +325176,7 @@
|
|
|
325158
325176
|
"description": "The REST API URL of the code locations for this alert."
|
|
325159
325177
|
},
|
|
325160
325178
|
"state": {
|
|
325161
|
-
"description": "Sets the state of the secret scanning alert.
|
|
325179
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
325162
325180
|
"type": "string",
|
|
325163
325181
|
"enum": [
|
|
325164
325182
|
"open",
|
|
@@ -325416,7 +325434,7 @@
|
|
|
325416
325434
|
"type": "object",
|
|
325417
325435
|
"properties": {
|
|
325418
325436
|
"state": {
|
|
325419
|
-
"description": "Sets the state of the secret scanning alert.
|
|
325437
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
325420
325438
|
"type": "string",
|
|
325421
325439
|
"enum": [
|
|
325422
325440
|
"open",
|
|
@@ -325494,7 +325512,7 @@
|
|
|
325494
325512
|
"description": "The REST API URL of the code locations for this alert."
|
|
325495
325513
|
},
|
|
325496
325514
|
"state": {
|
|
325497
|
-
"description": "Sets the state of the secret scanning alert.
|
|
325515
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
325498
325516
|
"type": "string",
|
|
325499
325517
|
"enum": [
|
|
325500
325518
|
"open",
|
|
@@ -364174,7 +364192,7 @@
|
|
|
364174
364192
|
},
|
|
364175
364193
|
{
|
|
364176
364194
|
"name": "state",
|
|
364177
|
-
"description": "Indicates the state of the issues to return.
|
|
364195
|
+
"description": "Indicates the state of the issues to return.",
|
|
364178
364196
|
"in": "query",
|
|
364179
364197
|
"required": false,
|
|
364180
364198
|
"schema": {
|
|
@@ -364198,7 +364216,7 @@
|
|
|
364198
364216
|
},
|
|
364199
364217
|
{
|
|
364200
364218
|
"name": "sort",
|
|
364201
|
-
"description": "What to sort results by.
|
|
364219
|
+
"description": "What to sort results by.",
|
|
364202
364220
|
"in": "query",
|
|
364203
364221
|
"required": false,
|
|
364204
364222
|
"schema": {
|
|
@@ -367721,7 +367739,7 @@
|
|
|
367721
367739
|
"parameters": [
|
|
367722
367740
|
{
|
|
367723
367741
|
"name": "state",
|
|
367724
|
-
"description": "Indicates the state of the memberships to return.
|
|
367742
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
367725
367743
|
"in": "query",
|
|
367726
367744
|
"required": false,
|
|
367727
367745
|
"schema": {
|
|
@@ -393840,7 +393858,7 @@
|
|
|
393840
393858
|
},
|
|
393841
393859
|
{
|
|
393842
393860
|
"name": "state",
|
|
393843
|
-
"description": "Indicates the state of the projects to return.
|
|
393861
|
+
"description": "Indicates the state of the projects to return.",
|
|
393844
393862
|
"in": "query",
|
|
393845
393863
|
"required": false,
|
|
393846
393864
|
"schema": {
|