@octokit/openapi 7.2.0 → 7.5.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 +9605 -6
- package/generated/api.github.com.json +405 -33
- 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 +119 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +111 -1
- package/generated/ghes-3.2.deref.json +348 -1
- package/generated/ghes-3.2.json +145 -10
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +16 -0
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +209 -1
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +9 -1
- package/generated/ghes-3.3.deref.json +348 -3
- package/generated/ghes-3.3.json +145 -11
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
- package/generated/ghes-3.4.deref.json +333 -3
- package/generated/ghes-3.4.json +146 -11
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +1548 -135
- 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 +53558 -37094
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +8076 -3526
- package/generated/ghes-3.5.deref.json +427 -15
- package/generated/ghes-3.5.json +240 -23
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +88 -0
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +442 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +212 -1
- package/generated/ghes-3.6.deref.json +7923 -1
- package/generated/ghes-3.6.json +380 -10
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +733 -3
- package/generated/github.ae-diff-to-api.github.com.deref.json +751 -1
- package/generated/github.ae-diff-to-api.github.com.json +152 -4
- package/generated/github.ae.deref.json +926 -1
- package/generated/github.ae.json +184 -10
- 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.5.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": {
|
|
@@ -4087,6 +4087,14 @@
|
|
|
4087
4087
|
"write"
|
|
4088
4088
|
]
|
|
4089
4089
|
},
|
|
4090
|
+
"organization_custom_roles": {
|
|
4091
|
+
"type": "string",
|
|
4092
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4093
|
+
"enum": [
|
|
4094
|
+
"read",
|
|
4095
|
+
"write"
|
|
4096
|
+
]
|
|
4097
|
+
},
|
|
4090
4098
|
"deployments": {
|
|
4091
4099
|
"type": "string",
|
|
4092
4100
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5169,6 +5177,14 @@
|
|
|
5169
5177
|
"write"
|
|
5170
5178
|
]
|
|
5171
5179
|
},
|
|
5180
|
+
"organization_custom_roles": {
|
|
5181
|
+
"type": "string",
|
|
5182
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5183
|
+
"enum": [
|
|
5184
|
+
"read",
|
|
5185
|
+
"write"
|
|
5186
|
+
]
|
|
5187
|
+
},
|
|
5172
5188
|
"deployments": {
|
|
5173
5189
|
"type": "string",
|
|
5174
5190
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5833,6 +5849,14 @@
|
|
|
5833
5849
|
"write"
|
|
5834
5850
|
]
|
|
5835
5851
|
},
|
|
5852
|
+
"organization_custom_roles": {
|
|
5853
|
+
"type": "string",
|
|
5854
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5855
|
+
"enum": [
|
|
5856
|
+
"read",
|
|
5857
|
+
"write"
|
|
5858
|
+
]
|
|
5859
|
+
},
|
|
5836
5860
|
"deployments": {
|
|
5837
5861
|
"type": "string",
|
|
5838
5862
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8402,6 +8426,14 @@
|
|
|
8402
8426
|
"write"
|
|
8403
8427
|
]
|
|
8404
8428
|
},
|
|
8429
|
+
"organization_custom_roles": {
|
|
8430
|
+
"type": "string",
|
|
8431
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8432
|
+
"enum": [
|
|
8433
|
+
"read",
|
|
8434
|
+
"write"
|
|
8435
|
+
]
|
|
8436
|
+
},
|
|
8405
8437
|
"deployments": {
|
|
8406
8438
|
"type": "string",
|
|
8407
8439
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9191,6 +9223,14 @@
|
|
|
9191
9223
|
"write"
|
|
9192
9224
|
]
|
|
9193
9225
|
},
|
|
9226
|
+
"organization_custom_roles": {
|
|
9227
|
+
"type": "string",
|
|
9228
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9229
|
+
"enum": [
|
|
9230
|
+
"read",
|
|
9231
|
+
"write"
|
|
9232
|
+
]
|
|
9233
|
+
},
|
|
9194
9234
|
"deployments": {
|
|
9195
9235
|
"type": "string",
|
|
9196
9236
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9844,6 +9884,14 @@
|
|
|
9844
9884
|
"write"
|
|
9845
9885
|
]
|
|
9846
9886
|
},
|
|
9887
|
+
"organization_custom_roles": {
|
|
9888
|
+
"type": "string",
|
|
9889
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9890
|
+
"enum": [
|
|
9891
|
+
"read",
|
|
9892
|
+
"write"
|
|
9893
|
+
]
|
|
9894
|
+
},
|
|
9847
9895
|
"deployments": {
|
|
9848
9896
|
"type": "string",
|
|
9849
9897
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10129,6 +10177,14 @@
|
|
|
10129
10177
|
"write"
|
|
10130
10178
|
]
|
|
10131
10179
|
},
|
|
10180
|
+
"organization_custom_roles": {
|
|
10181
|
+
"type": "string",
|
|
10182
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10183
|
+
"enum": [
|
|
10184
|
+
"read",
|
|
10185
|
+
"write"
|
|
10186
|
+
]
|
|
10187
|
+
},
|
|
10132
10188
|
"deployments": {
|
|
10133
10189
|
"type": "string",
|
|
10134
10190
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -13104,6 +13160,14 @@
|
|
|
13104
13160
|
"write"
|
|
13105
13161
|
]
|
|
13106
13162
|
},
|
|
13163
|
+
"organization_custom_roles": {
|
|
13164
|
+
"type": "string",
|
|
13165
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13166
|
+
"enum": [
|
|
13167
|
+
"read",
|
|
13168
|
+
"write"
|
|
13169
|
+
]
|
|
13170
|
+
},
|
|
13107
13171
|
"deployments": {
|
|
13108
13172
|
"type": "string",
|
|
13109
13173
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -13947,6 +14011,14 @@
|
|
|
13947
14011
|
"write"
|
|
13948
14012
|
]
|
|
13949
14013
|
},
|
|
14014
|
+
"organization_custom_roles": {
|
|
14015
|
+
"type": "string",
|
|
14016
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14017
|
+
"enum": [
|
|
14018
|
+
"read",
|
|
14019
|
+
"write"
|
|
14020
|
+
]
|
|
14021
|
+
},
|
|
13950
14022
|
"deployments": {
|
|
13951
14023
|
"type": "string",
|
|
13952
14024
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14714,6 +14786,14 @@
|
|
|
14714
14786
|
"write"
|
|
14715
14787
|
]
|
|
14716
14788
|
},
|
|
14789
|
+
"organization_custom_roles": {
|
|
14790
|
+
"type": "string",
|
|
14791
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14792
|
+
"enum": [
|
|
14793
|
+
"read",
|
|
14794
|
+
"write"
|
|
14795
|
+
]
|
|
14796
|
+
},
|
|
14717
14797
|
"deployments": {
|
|
14718
14798
|
"type": "string",
|
|
14719
14799
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15189,6 +15269,14 @@
|
|
|
15189
15269
|
"write"
|
|
15190
15270
|
]
|
|
15191
15271
|
},
|
|
15272
|
+
"organization_custom_roles": {
|
|
15273
|
+
"type": "string",
|
|
15274
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15275
|
+
"enum": [
|
|
15276
|
+
"read",
|
|
15277
|
+
"write"
|
|
15278
|
+
]
|
|
15279
|
+
},
|
|
15192
15280
|
"deployments": {
|
|
15193
15281
|
"type": "string",
|
|
15194
15282
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16486,6 +16574,14 @@
|
|
|
16486
16574
|
"write"
|
|
16487
16575
|
]
|
|
16488
16576
|
},
|
|
16577
|
+
"organization_custom_roles": {
|
|
16578
|
+
"type": "string",
|
|
16579
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16580
|
+
"enum": [
|
|
16581
|
+
"read",
|
|
16582
|
+
"write"
|
|
16583
|
+
]
|
|
16584
|
+
},
|
|
16489
16585
|
"deployments": {
|
|
16490
16586
|
"type": "string",
|
|
16491
16587
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17339,6 +17435,14 @@
|
|
|
17339
17435
|
"write"
|
|
17340
17436
|
]
|
|
17341
17437
|
},
|
|
17438
|
+
"organization_custom_roles": {
|
|
17439
|
+
"type": "string",
|
|
17440
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
17441
|
+
"enum": [
|
|
17442
|
+
"read",
|
|
17443
|
+
"write"
|
|
17444
|
+
]
|
|
17445
|
+
},
|
|
17342
17446
|
"deployments": {
|
|
17343
17447
|
"type": "string",
|
|
17344
17448
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18261,6 +18365,14 @@
|
|
|
18261
18365
|
"write"
|
|
18262
18366
|
]
|
|
18263
18367
|
},
|
|
18368
|
+
"organization_custom_roles": {
|
|
18369
|
+
"type": "string",
|
|
18370
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
18371
|
+
"enum": [
|
|
18372
|
+
"read",
|
|
18373
|
+
"write"
|
|
18374
|
+
]
|
|
18375
|
+
},
|
|
18264
18376
|
"deployments": {
|
|
18265
18377
|
"type": "string",
|
|
18266
18378
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18933,6 +19045,14 @@
|
|
|
18933
19045
|
"write"
|
|
18934
19046
|
]
|
|
18935
19047
|
},
|
|
19048
|
+
"organization_custom_roles": {
|
|
19049
|
+
"type": "string",
|
|
19050
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19051
|
+
"enum": [
|
|
19052
|
+
"read",
|
|
19053
|
+
"write"
|
|
19054
|
+
]
|
|
19055
|
+
},
|
|
18936
19056
|
"deployments": {
|
|
18937
19057
|
"type": "string",
|
|
18938
19058
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19833,6 +19953,14 @@
|
|
|
19833
19953
|
"write"
|
|
19834
19954
|
]
|
|
19835
19955
|
},
|
|
19956
|
+
"organization_custom_roles": {
|
|
19957
|
+
"type": "string",
|
|
19958
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19959
|
+
"enum": [
|
|
19960
|
+
"read",
|
|
19961
|
+
"write"
|
|
19962
|
+
]
|
|
19963
|
+
},
|
|
19836
19964
|
"deployments": {
|
|
19837
19965
|
"type": "string",
|
|
19838
19966
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20505,6 +20633,14 @@
|
|
|
20505
20633
|
"write"
|
|
20506
20634
|
]
|
|
20507
20635
|
},
|
|
20636
|
+
"organization_custom_roles": {
|
|
20637
|
+
"type": "string",
|
|
20638
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20639
|
+
"enum": [
|
|
20640
|
+
"read",
|
|
20641
|
+
"write"
|
|
20642
|
+
]
|
|
20643
|
+
},
|
|
20508
20644
|
"deployments": {
|
|
20509
20645
|
"type": "string",
|
|
20510
20646
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21283,6 +21419,14 @@
|
|
|
21283
21419
|
"write"
|
|
21284
21420
|
]
|
|
21285
21421
|
},
|
|
21422
|
+
"organization_custom_roles": {
|
|
21423
|
+
"type": "string",
|
|
21424
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
21425
|
+
"enum": [
|
|
21426
|
+
"read",
|
|
21427
|
+
"write"
|
|
21428
|
+
]
|
|
21429
|
+
},
|
|
21286
21430
|
"deployments": {
|
|
21287
21431
|
"type": "string",
|
|
21288
21432
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22088,6 +22232,14 @@
|
|
|
22088
22232
|
"write"
|
|
22089
22233
|
]
|
|
22090
22234
|
},
|
|
22235
|
+
"organization_custom_roles": {
|
|
22236
|
+
"type": "string",
|
|
22237
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
22238
|
+
"enum": [
|
|
22239
|
+
"read",
|
|
22240
|
+
"write"
|
|
22241
|
+
]
|
|
22242
|
+
},
|
|
22091
22243
|
"deployments": {
|
|
22092
22244
|
"type": "string",
|
|
22093
22245
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -60079,6 +60231,7 @@
|
|
|
60079
60231
|
"parameters": [
|
|
60080
60232
|
{
|
|
60081
60233
|
"name": "organization_id",
|
|
60234
|
+
"description": "The unique identifier of the organization.",
|
|
60082
60235
|
"in": "path",
|
|
60083
60236
|
"required": true,
|
|
60084
60237
|
"schema": {
|
|
@@ -60532,7 +60685,13 @@
|
|
|
60532
60685
|
"category": "orgs",
|
|
60533
60686
|
"subcategory": null
|
|
60534
60687
|
},
|
|
60535
|
-
"x-octokit": {
|
|
60688
|
+
"x-octokit": {
|
|
60689
|
+
"diff": {
|
|
60690
|
+
"ghes-3.6": {
|
|
60691
|
+
"type": "changed"
|
|
60692
|
+
}
|
|
60693
|
+
}
|
|
60694
|
+
}
|
|
60536
60695
|
},
|
|
60537
60696
|
"patch": {
|
|
60538
60697
|
"summary": "Update an organization",
|
|
@@ -61122,7 +61281,13 @@
|
|
|
61122
61281
|
"category": "orgs",
|
|
61123
61282
|
"subcategory": null
|
|
61124
61283
|
},
|
|
61125
|
-
"x-octokit": {
|
|
61284
|
+
"x-octokit": {
|
|
61285
|
+
"diff": {
|
|
61286
|
+
"ghes-3.6": {
|
|
61287
|
+
"type": "changed"
|
|
61288
|
+
}
|
|
61289
|
+
}
|
|
61290
|
+
}
|
|
61126
61291
|
}
|
|
61127
61292
|
},
|
|
61128
61293
|
"/orgs/{org}/actions/cache/usage": {
|
|
@@ -82908,6 +83073,14 @@
|
|
|
82908
83073
|
"write"
|
|
82909
83074
|
]
|
|
82910
83075
|
},
|
|
83076
|
+
"organization_custom_roles": {
|
|
83077
|
+
"type": "string",
|
|
83078
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
83079
|
+
"enum": [
|
|
83080
|
+
"read",
|
|
83081
|
+
"write"
|
|
83082
|
+
]
|
|
83083
|
+
},
|
|
82911
83084
|
"deployments": {
|
|
82912
83085
|
"type": "string",
|
|
82913
83086
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -83711,6 +83884,14 @@
|
|
|
83711
83884
|
"write"
|
|
83712
83885
|
]
|
|
83713
83886
|
},
|
|
83887
|
+
"organization_custom_roles": {
|
|
83888
|
+
"type": "string",
|
|
83889
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
83890
|
+
"enum": [
|
|
83891
|
+
"read",
|
|
83892
|
+
"write"
|
|
83893
|
+
]
|
|
83894
|
+
},
|
|
83714
83895
|
"deployments": {
|
|
83715
83896
|
"type": "string",
|
|
83716
83897
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -97280,6 +97461,40 @@
|
|
|
97280
97461
|
"type": "boolean",
|
|
97281
97462
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
97282
97463
|
"default": false
|
|
97464
|
+
},
|
|
97465
|
+
"squash_merge_commit_title": {
|
|
97466
|
+
"type": "string",
|
|
97467
|
+
"enum": [
|
|
97468
|
+
"PR_TITLE",
|
|
97469
|
+
"COMMIT_OR_PR_TITLE"
|
|
97470
|
+
],
|
|
97471
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
97472
|
+
},
|
|
97473
|
+
"squash_merge_commit_message": {
|
|
97474
|
+
"type": "string",
|
|
97475
|
+
"enum": [
|
|
97476
|
+
"PR_BODY",
|
|
97477
|
+
"COMMIT_MESSAGES",
|
|
97478
|
+
"BLANK"
|
|
97479
|
+
],
|
|
97480
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
97481
|
+
},
|
|
97482
|
+
"merge_commit_title": {
|
|
97483
|
+
"type": "string",
|
|
97484
|
+
"enum": [
|
|
97485
|
+
"PR_TITLE",
|
|
97486
|
+
"MERGE_MESSAGE"
|
|
97487
|
+
],
|
|
97488
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
97489
|
+
},
|
|
97490
|
+
"merge_commit_message": {
|
|
97491
|
+
"type": "string",
|
|
97492
|
+
"enum": [
|
|
97493
|
+
"PR_BODY",
|
|
97494
|
+
"PR_TITLE",
|
|
97495
|
+
"BLANK"
|
|
97496
|
+
],
|
|
97497
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
97283
97498
|
}
|
|
97284
97499
|
},
|
|
97285
97500
|
"required": [
|
|
@@ -100766,7 +100981,13 @@
|
|
|
100766
100981
|
"category": "teams",
|
|
100767
100982
|
"subcategory": null
|
|
100768
100983
|
},
|
|
100769
|
-
"x-octokit": {
|
|
100984
|
+
"x-octokit": {
|
|
100985
|
+
"diff": {
|
|
100986
|
+
"ghes-3.6": {
|
|
100987
|
+
"type": "changed"
|
|
100988
|
+
}
|
|
100989
|
+
}
|
|
100990
|
+
}
|
|
100770
100991
|
}
|
|
100771
100992
|
},
|
|
100772
100993
|
"/orgs/{org}/teams/{team_slug}": {
|
|
@@ -101333,7 +101554,13 @@
|
|
|
101333
101554
|
"category": "teams",
|
|
101334
101555
|
"subcategory": null
|
|
101335
101556
|
},
|
|
101336
|
-
"x-octokit": {
|
|
101557
|
+
"x-octokit": {
|
|
101558
|
+
"diff": {
|
|
101559
|
+
"ghes-3.6": {
|
|
101560
|
+
"type": "changed"
|
|
101561
|
+
}
|
|
101562
|
+
}
|
|
101563
|
+
}
|
|
101337
101564
|
},
|
|
101338
101565
|
"patch": {
|
|
101339
101566
|
"summary": "Update a team",
|
|
@@ -101924,7 +102151,13 @@
|
|
|
101924
102151
|
"category": "teams",
|
|
101925
102152
|
"subcategory": null
|
|
101926
102153
|
},
|
|
101927
|
-
"x-octokit": {
|
|
102154
|
+
"x-octokit": {
|
|
102155
|
+
"diff": {
|
|
102156
|
+
"ghes-3.6": {
|
|
102157
|
+
"type": "changed"
|
|
102158
|
+
}
|
|
102159
|
+
}
|
|
102160
|
+
}
|
|
101928
102161
|
},
|
|
101929
102162
|
"delete": {
|
|
101930
102163
|
"summary": "Delete a team",
|
|
@@ -123200,6 +123433,40 @@
|
|
|
123200
123433
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
123201
123434
|
"default": false
|
|
123202
123435
|
},
|
|
123436
|
+
"squash_merge_commit_title": {
|
|
123437
|
+
"type": "string",
|
|
123438
|
+
"enum": [
|
|
123439
|
+
"PR_TITLE",
|
|
123440
|
+
"COMMIT_OR_PR_TITLE"
|
|
123441
|
+
],
|
|
123442
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
123443
|
+
},
|
|
123444
|
+
"squash_merge_commit_message": {
|
|
123445
|
+
"type": "string",
|
|
123446
|
+
"enum": [
|
|
123447
|
+
"PR_BODY",
|
|
123448
|
+
"COMMIT_MESSAGES",
|
|
123449
|
+
"BLANK"
|
|
123450
|
+
],
|
|
123451
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
123452
|
+
},
|
|
123453
|
+
"merge_commit_title": {
|
|
123454
|
+
"type": "string",
|
|
123455
|
+
"enum": [
|
|
123456
|
+
"PR_TITLE",
|
|
123457
|
+
"MERGE_MESSAGE"
|
|
123458
|
+
],
|
|
123459
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
123460
|
+
},
|
|
123461
|
+
"merge_commit_message": {
|
|
123462
|
+
"type": "string",
|
|
123463
|
+
"enum": [
|
|
123464
|
+
"PR_BODY",
|
|
123465
|
+
"PR_TITLE",
|
|
123466
|
+
"BLANK"
|
|
123467
|
+
],
|
|
123468
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
123469
|
+
},
|
|
123203
123470
|
"archived": {
|
|
123204
123471
|
"type": "boolean",
|
|
123205
123472
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -127474,7 +127741,6 @@
|
|
|
127474
127741
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
127475
127742
|
"html_url": "https://github.com/licenses/mit"
|
|
127476
127743
|
},
|
|
127477
|
-
"language": null,
|
|
127478
127744
|
"forks_count": 9,
|
|
127479
127745
|
"forks": 9,
|
|
127480
127746
|
"stargazers_count": 80,
|
|
@@ -129425,6 +129691,11 @@
|
|
|
129425
129691
|
"schema": {
|
|
129426
129692
|
"type": "object",
|
|
129427
129693
|
"nullable": true
|
|
129694
|
+
},
|
|
129695
|
+
"examples": {
|
|
129696
|
+
"default": {
|
|
129697
|
+
"value": null
|
|
129698
|
+
}
|
|
129428
129699
|
}
|
|
129429
129700
|
}
|
|
129430
129701
|
}
|
|
@@ -147790,9 +148061,16 @@
|
|
|
147790
148061
|
"content": {
|
|
147791
148062
|
"application/json": {
|
|
147792
148063
|
"schema": {
|
|
148064
|
+
"title": "Empty Object",
|
|
148065
|
+
"description": "An object without any properties.",
|
|
147793
148066
|
"type": "object",
|
|
147794
148067
|
"properties": {},
|
|
147795
148068
|
"additionalProperties": false
|
|
148069
|
+
},
|
|
148070
|
+
"examples": {
|
|
148071
|
+
"default": {
|
|
148072
|
+
"value": null
|
|
148073
|
+
}
|
|
147796
148074
|
}
|
|
147797
148075
|
}
|
|
147798
148076
|
}
|
|
@@ -148985,6 +149263,17 @@
|
|
|
148985
149263
|
"state",
|
|
148986
149264
|
"comment"
|
|
148987
149265
|
]
|
|
149266
|
+
},
|
|
149267
|
+
"examples": {
|
|
149268
|
+
"default": {
|
|
149269
|
+
"value": {
|
|
149270
|
+
"environment_ids": [
|
|
149271
|
+
161171787
|
|
149272
|
+
],
|
|
149273
|
+
"state": "approved",
|
|
149274
|
+
"comment": "Ship it!"
|
|
149275
|
+
}
|
|
149276
|
+
}
|
|
148988
149277
|
}
|
|
148989
149278
|
}
|
|
148990
149279
|
}
|
|
@@ -149574,6 +149863,11 @@
|
|
|
149574
149863
|
"schema": {
|
|
149575
149864
|
"type": "object",
|
|
149576
149865
|
"nullable": true
|
|
149866
|
+
},
|
|
149867
|
+
"examples": {
|
|
149868
|
+
"default": {
|
|
149869
|
+
"value": null
|
|
149870
|
+
}
|
|
149577
149871
|
}
|
|
149578
149872
|
}
|
|
149579
149873
|
}
|
|
@@ -149584,9 +149878,16 @@
|
|
|
149584
149878
|
"content": {
|
|
149585
149879
|
"application/json": {
|
|
149586
149880
|
"schema": {
|
|
149881
|
+
"title": "Empty Object",
|
|
149882
|
+
"description": "An object without any properties.",
|
|
149587
149883
|
"type": "object",
|
|
149588
149884
|
"properties": {},
|
|
149589
149885
|
"additionalProperties": false
|
|
149886
|
+
},
|
|
149887
|
+
"examples": {
|
|
149888
|
+
"default": {
|
|
149889
|
+
"value": null
|
|
149890
|
+
}
|
|
149590
149891
|
}
|
|
149591
149892
|
}
|
|
149592
149893
|
}
|
|
@@ -149655,6 +149956,11 @@
|
|
|
149655
149956
|
"schema": {
|
|
149656
149957
|
"type": "object",
|
|
149657
149958
|
"nullable": true
|
|
149959
|
+
},
|
|
149960
|
+
"examples": {
|
|
149961
|
+
"default": {
|
|
149962
|
+
"value": null
|
|
149963
|
+
}
|
|
149658
149964
|
}
|
|
149659
149965
|
}
|
|
149660
149966
|
}
|
|
@@ -150092,9 +150398,16 @@
|
|
|
150092
150398
|
"content": {
|
|
150093
150399
|
"application/json": {
|
|
150094
150400
|
"schema": {
|
|
150401
|
+
"title": "Empty Object",
|
|
150402
|
+
"description": "An object without any properties.",
|
|
150095
150403
|
"type": "object",
|
|
150096
150404
|
"properties": {},
|
|
150097
150405
|
"additionalProperties": false
|
|
150406
|
+
},
|
|
150407
|
+
"examples": {
|
|
150408
|
+
"default": {
|
|
150409
|
+
"value": null
|
|
150410
|
+
}
|
|
150098
150411
|
}
|
|
150099
150412
|
}
|
|
150100
150413
|
}
|
|
@@ -232626,7 +232939,6 @@
|
|
|
232626
232939
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
232627
232940
|
"html_url": "https://github.com/licenses/mit"
|
|
232628
232941
|
},
|
|
232629
|
-
"language": null,
|
|
232630
232942
|
"forks_count": 9,
|
|
232631
232943
|
"forks": 9,
|
|
232632
232944
|
"stargazers_count": 80,
|
|
@@ -239738,6 +240050,14 @@
|
|
|
239738
240050
|
"write"
|
|
239739
240051
|
]
|
|
239740
240052
|
},
|
|
240053
|
+
"organization_custom_roles": {
|
|
240054
|
+
"type": "string",
|
|
240055
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
240056
|
+
"enum": [
|
|
240057
|
+
"read",
|
|
240058
|
+
"write"
|
|
240059
|
+
]
|
|
240060
|
+
},
|
|
239741
240061
|
"deployments": {
|
|
239742
240062
|
"type": "string",
|
|
239743
240063
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -313252,7 +313572,13 @@
|
|
|
313252
313572
|
"category": "pulls",
|
|
313253
313573
|
"subcategory": null
|
|
313254
313574
|
},
|
|
313255
|
-
"x-octokit": {
|
|
313575
|
+
"x-octokit": {
|
|
313576
|
+
"diff": {
|
|
313577
|
+
"ghes-3.6": {
|
|
313578
|
+
"type": "changed"
|
|
313579
|
+
}
|
|
313580
|
+
}
|
|
313581
|
+
}
|
|
313256
313582
|
}
|
|
313257
313583
|
},
|
|
313258
313584
|
"/repos/{owner}/{repo}/pulls/comments": {
|
|
@@ -319239,7 +319565,13 @@
|
|
|
319239
319565
|
"category": "pulls",
|
|
319240
319566
|
"subcategory": null
|
|
319241
319567
|
},
|
|
319242
|
-
"x-octokit": {
|
|
319568
|
+
"x-octokit": {
|
|
319569
|
+
"diff": {
|
|
319570
|
+
"ghes-3.6": {
|
|
319571
|
+
"type": "changed"
|
|
319572
|
+
}
|
|
319573
|
+
}
|
|
319574
|
+
}
|
|
319243
319575
|
},
|
|
319244
319576
|
"patch": {
|
|
319245
319577
|
"summary": "Update a pull request",
|
|
@@ -322646,7 +322978,13 @@
|
|
|
322646
322978
|
"category": "pulls",
|
|
322647
322979
|
"subcategory": null
|
|
322648
322980
|
},
|
|
322649
|
-
"x-octokit": {
|
|
322981
|
+
"x-octokit": {
|
|
322982
|
+
"diff": {
|
|
322983
|
+
"ghes-3.6": {
|
|
322984
|
+
"type": "changed"
|
|
322985
|
+
}
|
|
322986
|
+
}
|
|
322987
|
+
}
|
|
322650
322988
|
}
|
|
322651
322989
|
},
|
|
322652
322990
|
"/repos/{owner}/{repo}/pulls/{pull_number}/comments": {
|
|
@@ -364581,7 +364919,13 @@
|
|
|
364581
364919
|
"category": "search",
|
|
364582
364920
|
"subcategory": null
|
|
364583
364921
|
},
|
|
364584
|
-
"x-octokit": {
|
|
364922
|
+
"x-octokit": {
|
|
364923
|
+
"diff": {
|
|
364924
|
+
"ghes-3.6": {
|
|
364925
|
+
"type": "changed"
|
|
364926
|
+
}
|
|
364927
|
+
}
|
|
364928
|
+
}
|
|
364585
364929
|
}
|
|
364586
364930
|
},
|
|
364587
364931
|
"/search/topics": {
|
|
@@ -367339,7 +367683,13 @@
|
|
|
367339
367683
|
"subcategory": null
|
|
367340
367684
|
},
|
|
367341
367685
|
"deprecated": true,
|
|
367342
|
-
"x-octokit": {
|
|
367686
|
+
"x-octokit": {
|
|
367687
|
+
"diff": {
|
|
367688
|
+
"ghes-3.6": {
|
|
367689
|
+
"type": "changed"
|
|
367690
|
+
}
|
|
367691
|
+
}
|
|
367692
|
+
}
|
|
367343
367693
|
},
|
|
367344
367694
|
"patch": {
|
|
367345
367695
|
"summary": "Update a team (Legacy)",
|
|
@@ -368546,7 +368896,13 @@
|
|
|
368546
368896
|
"subcategory": null
|
|
368547
368897
|
},
|
|
368548
368898
|
"deprecated": true,
|
|
368549
|
-
"x-octokit": {
|
|
368899
|
+
"x-octokit": {
|
|
368900
|
+
"diff": {
|
|
368901
|
+
"ghes-3.6": {
|
|
368902
|
+
"type": "changed"
|
|
368903
|
+
}
|
|
368904
|
+
}
|
|
368905
|
+
}
|
|
368550
368906
|
},
|
|
368551
368907
|
"delete": {
|
|
368552
368908
|
"summary": "Delete a team (Legacy)",
|
|
@@ -383773,6 +384129,14 @@
|
|
|
383773
384129
|
"write"
|
|
383774
384130
|
]
|
|
383775
384131
|
},
|
|
384132
|
+
"organization_custom_roles": {
|
|
384133
|
+
"type": "string",
|
|
384134
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
384135
|
+
"enum": [
|
|
384136
|
+
"read",
|
|
384137
|
+
"write"
|
|
384138
|
+
]
|
|
384139
|
+
},
|
|
383776
384140
|
"deployments": {
|
|
383777
384141
|
"type": "string",
|
|
383778
384142
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -398687,6 +399051,40 @@
|
|
|
398687
399051
|
"type": "boolean",
|
|
398688
399052
|
"example": false
|
|
398689
399053
|
},
|
|
399054
|
+
"squash_merge_commit_title": {
|
|
399055
|
+
"type": "string",
|
|
399056
|
+
"enum": [
|
|
399057
|
+
"PR_TITLE",
|
|
399058
|
+
"COMMIT_OR_PR_TITLE"
|
|
399059
|
+
],
|
|
399060
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
399061
|
+
},
|
|
399062
|
+
"squash_merge_commit_message": {
|
|
399063
|
+
"type": "string",
|
|
399064
|
+
"enum": [
|
|
399065
|
+
"PR_BODY",
|
|
399066
|
+
"COMMIT_MESSAGES",
|
|
399067
|
+
"BLANK"
|
|
399068
|
+
],
|
|
399069
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
399070
|
+
},
|
|
399071
|
+
"merge_commit_title": {
|
|
399072
|
+
"type": "string",
|
|
399073
|
+
"enum": [
|
|
399074
|
+
"PR_TITLE",
|
|
399075
|
+
"MERGE_MESSAGE"
|
|
399076
|
+
],
|
|
399077
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
399078
|
+
},
|
|
399079
|
+
"merge_commit_message": {
|
|
399080
|
+
"type": "string",
|
|
399081
|
+
"enum": [
|
|
399082
|
+
"PR_BODY",
|
|
399083
|
+
"PR_TITLE",
|
|
399084
|
+
"BLANK"
|
|
399085
|
+
],
|
|
399086
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
399087
|
+
},
|
|
398690
399088
|
"has_downloads": {
|
|
398691
399089
|
"description": "Whether downloads are enabled.",
|
|
398692
399090
|
"default": true,
|
|
@@ -408225,7 +408623,13 @@
|
|
|
408225
408623
|
"category": "teams",
|
|
408226
408624
|
"subcategory": null
|
|
408227
408625
|
},
|
|
408228
|
-
"x-octokit": {
|
|
408626
|
+
"x-octokit": {
|
|
408627
|
+
"diff": {
|
|
408628
|
+
"ghes-3.6": {
|
|
408629
|
+
"type": "changed"
|
|
408630
|
+
}
|
|
408631
|
+
}
|
|
408632
|
+
}
|
|
408229
408633
|
}
|
|
408230
408634
|
},
|
|
408231
408635
|
"/users": {
|
|
@@ -420209,6 +420613,14 @@
|
|
|
420209
420613
|
"write"
|
|
420210
420614
|
]
|
|
420211
420615
|
},
|
|
420616
|
+
"organization_custom_roles": {
|
|
420617
|
+
"type": "string",
|
|
420618
|
+
"description": "The level of permission to grant the access token for custom roles management.",
|
|
420619
|
+
"enum": [
|
|
420620
|
+
"read",
|
|
420621
|
+
"write"
|
|
420622
|
+
]
|
|
420623
|
+
},
|
|
420212
420624
|
"deployments": {
|
|
420213
420625
|
"type": "string",
|
|
420214
420626
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|