@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
package/generated/ghes-3.3.json
CHANGED
|
@@ -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": {
|
|
@@ -8237,7 +8237,7 @@
|
|
|
8237
8237
|
},
|
|
8238
8238
|
{
|
|
8239
8239
|
"name": "state",
|
|
8240
|
-
"description": "Indicates the state of the issues to return.
|
|
8240
|
+
"description": "Indicates the state of the issues to return.",
|
|
8241
8241
|
"in": "query",
|
|
8242
8242
|
"required": false,
|
|
8243
8243
|
"schema": {
|
|
@@ -8255,7 +8255,7 @@
|
|
|
8255
8255
|
},
|
|
8256
8256
|
{
|
|
8257
8257
|
"name": "sort",
|
|
8258
|
-
"description": "What to sort results by.
|
|
8258
|
+
"description": "What to sort results by.",
|
|
8259
8259
|
"in": "query",
|
|
8260
8260
|
"required": false,
|
|
8261
8261
|
"schema": {
|
|
@@ -8497,7 +8497,7 @@
|
|
|
8497
8497
|
"type": "string"
|
|
8498
8498
|
},
|
|
8499
8499
|
"mode": {
|
|
8500
|
-
"description": "The rendering mode.
|
|
8500
|
+
"description": "The rendering mode.",
|
|
8501
8501
|
"enum": [
|
|
8502
8502
|
"markdown",
|
|
8503
8503
|
"gfm"
|
|
@@ -12392,7 +12392,7 @@
|
|
|
12392
12392
|
},
|
|
12393
12393
|
{
|
|
12394
12394
|
"name": "state",
|
|
12395
|
-
"description": "Indicates the state of the issues to return.
|
|
12395
|
+
"description": "Indicates the state of the issues to return.",
|
|
12396
12396
|
"in": "query",
|
|
12397
12397
|
"required": false,
|
|
12398
12398
|
"schema": {
|
|
@@ -12410,7 +12410,7 @@
|
|
|
12410
12410
|
},
|
|
12411
12411
|
{
|
|
12412
12412
|
"name": "sort",
|
|
12413
|
-
"description": "What to sort results by.
|
|
12413
|
+
"description": "What to sort results by.",
|
|
12414
12414
|
"in": "query",
|
|
12415
12415
|
"required": false,
|
|
12416
12416
|
"schema": {
|
|
@@ -13278,7 +13278,7 @@
|
|
|
13278
13278
|
},
|
|
13279
13279
|
{
|
|
13280
13280
|
"name": "state",
|
|
13281
|
-
"description": "Indicates the state of the projects to return.
|
|
13281
|
+
"description": "Indicates the state of the projects to return.",
|
|
13282
13282
|
"in": "query",
|
|
13283
13283
|
"required": false,
|
|
13284
13284
|
"schema": {
|
|
@@ -25497,6 +25497,22 @@
|
|
|
25497
25497
|
"default": "all"
|
|
25498
25498
|
}
|
|
25499
25499
|
},
|
|
25500
|
+
{
|
|
25501
|
+
"name": "permission",
|
|
25502
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
25503
|
+
"in": "query",
|
|
25504
|
+
"required": false,
|
|
25505
|
+
"schema": {
|
|
25506
|
+
"type": "string",
|
|
25507
|
+
"enum": [
|
|
25508
|
+
"pull",
|
|
25509
|
+
"triage",
|
|
25510
|
+
"push",
|
|
25511
|
+
"maintain",
|
|
25512
|
+
"admin"
|
|
25513
|
+
]
|
|
25514
|
+
}
|
|
25515
|
+
},
|
|
25500
25516
|
{
|
|
25501
25517
|
"$ref": "#/components/parameters/per-page"
|
|
25502
25518
|
},
|
|
@@ -27304,7 +27320,7 @@
|
|
|
27304
27320
|
},
|
|
27305
27321
|
"put": {
|
|
27306
27322
|
"summary": "Create or update file contents",
|
|
27307
|
-
"description": "Creates a new file or replaces an existing file in a repository.",
|
|
27323
|
+
"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.",
|
|
27308
27324
|
"tags": [
|
|
27309
27325
|
"repos"
|
|
27310
27326
|
],
|
|
@@ -29032,7 +29048,7 @@
|
|
|
29032
29048
|
},
|
|
29033
29049
|
{
|
|
29034
29050
|
"name": "sort",
|
|
29035
|
-
"description": "The sort order.
|
|
29051
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
29036
29052
|
"in": "query",
|
|
29037
29053
|
"required": false,
|
|
29038
29054
|
"schema": {
|
|
@@ -30289,7 +30305,7 @@
|
|
|
30289
30305
|
"/repos/{owner}/{repo}/hooks": {
|
|
30290
30306
|
"get": {
|
|
30291
30307
|
"summary": "List repository webhooks",
|
|
30292
|
-
"description": "",
|
|
30308
|
+
"description": "Lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.",
|
|
30293
30309
|
"tags": [
|
|
30294
30310
|
"repos"
|
|
30295
30311
|
],
|
|
@@ -31347,7 +31363,7 @@
|
|
|
31347
31363
|
},
|
|
31348
31364
|
{
|
|
31349
31365
|
"name": "state",
|
|
31350
|
-
"description": "Indicates the state of the issues to return.
|
|
31366
|
+
"description": "Indicates the state of the issues to return.",
|
|
31351
31367
|
"in": "query",
|
|
31352
31368
|
"required": false,
|
|
31353
31369
|
"schema": {
|
|
@@ -31392,7 +31408,7 @@
|
|
|
31392
31408
|
},
|
|
31393
31409
|
{
|
|
31394
31410
|
"name": "sort",
|
|
31395
|
-
"description": "What to sort results by.
|
|
31411
|
+
"description": "What to sort results by.",
|
|
31396
31412
|
"in": "query",
|
|
31397
31413
|
"required": false,
|
|
31398
31414
|
"schema": {
|
|
@@ -35984,7 +36000,7 @@
|
|
|
35984
36000
|
},
|
|
35985
36001
|
{
|
|
35986
36002
|
"name": "state",
|
|
35987
|
-
"description": "Indicates the state of the projects to return.
|
|
36003
|
+
"description": "Indicates the state of the projects to return.",
|
|
35988
36004
|
"in": "query",
|
|
35989
36005
|
"required": false,
|
|
35990
36006
|
"schema": {
|
|
@@ -36197,7 +36213,7 @@
|
|
|
36197
36213
|
},
|
|
36198
36214
|
{
|
|
36199
36215
|
"name": "sort",
|
|
36200
|
-
"description": "What to sort results by.
|
|
36216
|
+
"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.",
|
|
36201
36217
|
"in": "query",
|
|
36202
36218
|
"required": false,
|
|
36203
36219
|
"schema": {
|
|
@@ -36213,7 +36229,7 @@
|
|
|
36213
36229
|
},
|
|
36214
36230
|
{
|
|
36215
36231
|
"name": "direction",
|
|
36216
|
-
"description": "The direction of the sort.
|
|
36232
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
36217
36233
|
"in": "query",
|
|
36218
36234
|
"required": false,
|
|
36219
36235
|
"schema": {
|
|
@@ -36419,7 +36435,7 @@
|
|
|
36419
36435
|
},
|
|
36420
36436
|
{
|
|
36421
36437
|
"name": "direction",
|
|
36422
|
-
"description": "
|
|
36438
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
36423
36439
|
"in": "query",
|
|
36424
36440
|
"required": false,
|
|
36425
36441
|
"schema": {
|
|
@@ -37050,7 +37066,7 @@
|
|
|
37050
37066
|
},
|
|
37051
37067
|
{
|
|
37052
37068
|
"name": "direction",
|
|
37053
|
-
"description": "
|
|
37069
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
37054
37070
|
"in": "query",
|
|
37055
37071
|
"required": false,
|
|
37056
37072
|
"schema": {
|
|
@@ -46499,7 +46515,7 @@
|
|
|
46499
46515
|
},
|
|
46500
46516
|
{
|
|
46501
46517
|
"name": "state",
|
|
46502
|
-
"description": "Indicates the state of the issues to return.
|
|
46518
|
+
"description": "Indicates the state of the issues to return.",
|
|
46503
46519
|
"in": "query",
|
|
46504
46520
|
"required": false,
|
|
46505
46521
|
"schema": {
|
|
@@ -46517,7 +46533,7 @@
|
|
|
46517
46533
|
},
|
|
46518
46534
|
{
|
|
46519
46535
|
"name": "sort",
|
|
46520
|
-
"description": "What to sort results by.
|
|
46536
|
+
"description": "What to sort results by.",
|
|
46521
46537
|
"in": "query",
|
|
46522
46538
|
"required": false,
|
|
46523
46539
|
"schema": {
|
|
@@ -46877,7 +46893,7 @@
|
|
|
46877
46893
|
"parameters": [
|
|
46878
46894
|
{
|
|
46879
46895
|
"name": "state",
|
|
46880
|
-
"description": "Indicates the state of the memberships to return.
|
|
46896
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
46881
46897
|
"in": "query",
|
|
46882
46898
|
"required": false,
|
|
46883
46899
|
"schema": {
|
|
@@ -48971,7 +48987,7 @@
|
|
|
48971
48987
|
},
|
|
48972
48988
|
{
|
|
48973
48989
|
"name": "state",
|
|
48974
|
-
"description": "Indicates the state of the projects to return.
|
|
48990
|
+
"description": "Indicates the state of the projects to return.",
|
|
48975
48991
|
"in": "query",
|
|
48976
48992
|
"required": false,
|
|
48977
48993
|
"schema": {
|
|
@@ -58550,7 +58566,7 @@
|
|
|
58550
58566
|
"readOnly": true
|
|
58551
58567
|
},
|
|
58552
58568
|
"secret-scanning-alert-state": {
|
|
58553
|
-
"description": "Sets the state of the secret scanning alert.
|
|
58569
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
58554
58570
|
"type": "string",
|
|
58555
58571
|
"enum": [
|
|
58556
58572
|
"open",
|
|
@@ -61247,7 +61263,16 @@
|
|
|
61247
61263
|
"description": "The outcome of the job.",
|
|
61248
61264
|
"example": "success",
|
|
61249
61265
|
"type": "string",
|
|
61250
|
-
"nullable": true
|
|
61266
|
+
"nullable": true,
|
|
61267
|
+
"enum": [
|
|
61268
|
+
"success",
|
|
61269
|
+
"failure",
|
|
61270
|
+
"neutral",
|
|
61271
|
+
"cancelled",
|
|
61272
|
+
"skipped",
|
|
61273
|
+
"timed_out",
|
|
61274
|
+
"action_required"
|
|
61275
|
+
]
|
|
61251
61276
|
},
|
|
61252
61277
|
"started_at": {
|
|
61253
61278
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -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": {
|
|
@@ -853,7 +853,7 @@
|
|
|
853
853
|
"description": "The REST API URL of the code locations for this alert."
|
|
854
854
|
},
|
|
855
855
|
"state": {
|
|
856
|
-
"description": "Sets the state of the secret scanning alert.
|
|
856
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
857
857
|
"type": "string",
|
|
858
858
|
"enum": [
|
|
859
859
|
"open",
|
|
@@ -13997,7 +13997,7 @@
|
|
|
13997
13997
|
"description": "The REST API URL of the code locations for this alert."
|
|
13998
13998
|
},
|
|
13999
13999
|
"state": {
|
|
14000
|
-
"description": "Sets the state of the secret scanning alert.
|
|
14000
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
14001
14001
|
"type": "string",
|
|
14002
14002
|
"enum": [
|
|
14003
14003
|
"open",
|
|
@@ -40600,6 +40600,22 @@
|
|
|
40600
40600
|
"default": "all"
|
|
40601
40601
|
}
|
|
40602
40602
|
},
|
|
40603
|
+
{
|
|
40604
|
+
"name": "permission",
|
|
40605
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
40606
|
+
"in": "query",
|
|
40607
|
+
"required": false,
|
|
40608
|
+
"schema": {
|
|
40609
|
+
"type": "string",
|
|
40610
|
+
"enum": [
|
|
40611
|
+
"pull",
|
|
40612
|
+
"triage",
|
|
40613
|
+
"push",
|
|
40614
|
+
"maintain",
|
|
40615
|
+
"admin"
|
|
40616
|
+
]
|
|
40617
|
+
}
|
|
40618
|
+
},
|
|
40603
40619
|
{
|
|
40604
40620
|
"name": "per_page",
|
|
40605
40621
|
"description": "The number of results per page (max 100).",
|
|
@@ -47923,7 +47939,7 @@
|
|
|
47923
47939
|
},
|
|
47924
47940
|
{
|
|
47925
47941
|
"name": "sort",
|
|
47926
|
-
"description": "The sort order.
|
|
47942
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
47927
47943
|
"in": "query",
|
|
47928
47944
|
"required": false,
|
|
47929
47945
|
"schema": {
|
|
@@ -56302,7 +56318,7 @@
|
|
|
56302
56318
|
"description": "The REST API URL of the code locations for this alert."
|
|
56303
56319
|
},
|
|
56304
56320
|
"state": {
|
|
56305
|
-
"description": "Sets the state of the secret scanning alert.
|
|
56321
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
56306
56322
|
"type": "string",
|
|
56307
56323
|
"enum": [
|
|
56308
56324
|
"open",
|
|
@@ -56640,7 +56656,7 @@
|
|
|
56640
56656
|
"description": "The REST API URL of the code locations for this alert."
|
|
56641
56657
|
},
|
|
56642
56658
|
"state": {
|
|
56643
|
-
"description": "Sets the state of the secret scanning alert.
|
|
56659
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
56644
56660
|
"type": "string",
|
|
56645
56661
|
"enum": [
|
|
56646
56662
|
"open",
|
|
@@ -56904,7 +56920,7 @@
|
|
|
56904
56920
|
"type": "object",
|
|
56905
56921
|
"properties": {
|
|
56906
56922
|
"state": {
|
|
56907
|
-
"description": "Sets the state of the secret scanning alert.
|
|
56923
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
56908
56924
|
"type": "string",
|
|
56909
56925
|
"enum": [
|
|
56910
56926
|
"open",
|
|
@@ -56982,7 +56998,7 @@
|
|
|
56982
56998
|
"description": "The REST API URL of the code locations for this alert."
|
|
56983
56999
|
},
|
|
56984
57000
|
"state": {
|
|
56985
|
-
"description": "Sets the state of the secret scanning alert.
|
|
57001
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
56986
57002
|
"type": "string",
|
|
56987
57003
|
"enum": [
|
|
56988
57004
|
"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": {
|
|
@@ -2178,6 +2178,22 @@
|
|
|
2178
2178
|
"default": "all"
|
|
2179
2179
|
}
|
|
2180
2180
|
},
|
|
2181
|
+
{
|
|
2182
|
+
"name": "permission",
|
|
2183
|
+
"description": "Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned.",
|
|
2184
|
+
"in": "query",
|
|
2185
|
+
"required": false,
|
|
2186
|
+
"schema": {
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"enum": [
|
|
2189
|
+
"pull",
|
|
2190
|
+
"triage",
|
|
2191
|
+
"push",
|
|
2192
|
+
"maintain",
|
|
2193
|
+
"admin"
|
|
2194
|
+
]
|
|
2195
|
+
}
|
|
2196
|
+
},
|
|
2181
2197
|
{
|
|
2182
2198
|
"$ref": "#/components/parameters/per-page"
|
|
2183
2199
|
},
|
|
@@ -2566,7 +2582,7 @@
|
|
|
2566
2582
|
},
|
|
2567
2583
|
{
|
|
2568
2584
|
"name": "sort",
|
|
2569
|
-
"description": "The sort order.
|
|
2585
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
2570
2586
|
"in": "query",
|
|
2571
2587
|
"required": false,
|
|
2572
2588
|
"schema": {
|
|
@@ -6109,7 +6125,7 @@
|
|
|
6109
6125
|
}
|
|
6110
6126
|
},
|
|
6111
6127
|
"secret-scanning-alert-state": {
|
|
6112
|
-
"description": "Sets the state of the secret scanning alert.
|
|
6128
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
6113
6129
|
"type": "string",
|
|
6114
6130
|
"enum": [
|
|
6115
6131
|
"open",
|