@octokit/openapi 7.3.0 → 7.6.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 +9963 -140
- package/generated/api.github.com.json +1055 -110
- 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 +133 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +127 -14
- package/generated/ghes-3.2.deref.json +458 -242
- package/generated/ghes-3.2.json +694 -35
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +458 -244
- package/generated/ghes-3.3.json +694 -36
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +462 -230
- package/generated/ghes-3.4.json +703 -38
- 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 +48182 -31728
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +9496 -4686
- package/generated/ghes-3.5.deref.json +556 -242
- package/generated/ghes-3.5.json +797 -50
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17473 -6079
- package/generated/ghes-3.6-diff-to-api.github.com.json +4604 -2146
- package/generated/ghes-3.6.deref.json +8136 -240
- package/generated/ghes-3.6.json +1109 -133
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +1018 -34
- package/generated/github.ae-diff-to-api.github.com.deref.json +24735 -16611
- package/generated/github.ae-diff-to-api.github.com.json +1390 -126
- package/generated/github.ae.deref.json +1214 -163
- package/generated/github.ae.json +821 -44
- 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.6.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,14 +4087,6 @@
|
|
|
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
|
-
},
|
|
4098
4090
|
"deployments": {
|
|
4099
4091
|
"type": "string",
|
|
4100
4092
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5191,14 +5183,6 @@
|
|
|
5191
5183
|
"write"
|
|
5192
5184
|
]
|
|
5193
5185
|
},
|
|
5194
|
-
"organization_custom_roles": {
|
|
5195
|
-
"type": "string",
|
|
5196
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5197
|
-
"enum": [
|
|
5198
|
-
"read",
|
|
5199
|
-
"write"
|
|
5200
|
-
]
|
|
5201
|
-
},
|
|
5202
5186
|
"deployments": {
|
|
5203
5187
|
"type": "string",
|
|
5204
5188
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5871,14 +5855,6 @@
|
|
|
5871
5855
|
"write"
|
|
5872
5856
|
]
|
|
5873
5857
|
},
|
|
5874
|
-
"organization_custom_roles": {
|
|
5875
|
-
"type": "string",
|
|
5876
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5877
|
-
"enum": [
|
|
5878
|
-
"read",
|
|
5879
|
-
"write"
|
|
5880
|
-
]
|
|
5881
|
-
},
|
|
5882
5858
|
"deployments": {
|
|
5883
5859
|
"type": "string",
|
|
5884
5860
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8462,14 +8438,6 @@
|
|
|
8462
8438
|
"write"
|
|
8463
8439
|
]
|
|
8464
8440
|
},
|
|
8465
|
-
"organization_custom_roles": {
|
|
8466
|
-
"type": "string",
|
|
8467
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8468
|
-
"enum": [
|
|
8469
|
-
"read",
|
|
8470
|
-
"write"
|
|
8471
|
-
]
|
|
8472
|
-
},
|
|
8473
8441
|
"deployments": {
|
|
8474
8442
|
"type": "string",
|
|
8475
8443
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9273,14 +9241,6 @@
|
|
|
9273
9241
|
"write"
|
|
9274
9242
|
]
|
|
9275
9243
|
},
|
|
9276
|
-
"organization_custom_roles": {
|
|
9277
|
-
"type": "string",
|
|
9278
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9279
|
-
"enum": [
|
|
9280
|
-
"read",
|
|
9281
|
-
"write"
|
|
9282
|
-
]
|
|
9283
|
-
},
|
|
9284
9244
|
"deployments": {
|
|
9285
9245
|
"type": "string",
|
|
9286
9246
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9948,14 +9908,6 @@
|
|
|
9948
9908
|
"write"
|
|
9949
9909
|
]
|
|
9950
9910
|
},
|
|
9951
|
-
"organization_custom_roles": {
|
|
9952
|
-
"type": "string",
|
|
9953
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9954
|
-
"enum": [
|
|
9955
|
-
"read",
|
|
9956
|
-
"write"
|
|
9957
|
-
]
|
|
9958
|
-
},
|
|
9959
9911
|
"deployments": {
|
|
9960
9912
|
"type": "string",
|
|
9961
9913
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10249,14 +10201,6 @@
|
|
|
10249
10201
|
"write"
|
|
10250
10202
|
]
|
|
10251
10203
|
},
|
|
10252
|
-
"organization_custom_roles": {
|
|
10253
|
-
"type": "string",
|
|
10254
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10255
|
-
"enum": [
|
|
10256
|
-
"read",
|
|
10257
|
-
"write"
|
|
10258
|
-
]
|
|
10259
|
-
},
|
|
10260
10204
|
"deployments": {
|
|
10261
10205
|
"type": "string",
|
|
10262
10206
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -13299,14 +13243,6 @@
|
|
|
13299
13243
|
"write"
|
|
13300
13244
|
]
|
|
13301
13245
|
},
|
|
13302
|
-
"organization_custom_roles": {
|
|
13303
|
-
"type": "string",
|
|
13304
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13305
|
-
"enum": [
|
|
13306
|
-
"read",
|
|
13307
|
-
"write"
|
|
13308
|
-
]
|
|
13309
|
-
},
|
|
13310
13246
|
"deployments": {
|
|
13311
13247
|
"type": "string",
|
|
13312
13248
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14164,14 +14100,6 @@
|
|
|
14164
14100
|
"write"
|
|
14165
14101
|
]
|
|
14166
14102
|
},
|
|
14167
|
-
"organization_custom_roles": {
|
|
14168
|
-
"type": "string",
|
|
14169
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14170
|
-
"enum": [
|
|
14171
|
-
"read",
|
|
14172
|
-
"write"
|
|
14173
|
-
]
|
|
14174
|
-
},
|
|
14175
14103
|
"deployments": {
|
|
14176
14104
|
"type": "string",
|
|
14177
14105
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14953,14 +14881,6 @@
|
|
|
14953
14881
|
"write"
|
|
14954
14882
|
]
|
|
14955
14883
|
},
|
|
14956
|
-
"organization_custom_roles": {
|
|
14957
|
-
"type": "string",
|
|
14958
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14959
|
-
"enum": [
|
|
14960
|
-
"read",
|
|
14961
|
-
"write"
|
|
14962
|
-
]
|
|
14963
|
-
},
|
|
14964
14884
|
"deployments": {
|
|
14965
14885
|
"type": "string",
|
|
14966
14886
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15444,14 +15364,6 @@
|
|
|
15444
15364
|
"write"
|
|
15445
15365
|
]
|
|
15446
15366
|
},
|
|
15447
|
-
"organization_custom_roles": {
|
|
15448
|
-
"type": "string",
|
|
15449
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15450
|
-
"enum": [
|
|
15451
|
-
"read",
|
|
15452
|
-
"write"
|
|
15453
|
-
]
|
|
15454
|
-
},
|
|
15455
15367
|
"deployments": {
|
|
15456
15368
|
"type": "string",
|
|
15457
15369
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16374,14 +16286,6 @@
|
|
|
16374
16286
|
"write"
|
|
16375
16287
|
]
|
|
16376
16288
|
},
|
|
16377
|
-
"organization_custom_roles": {
|
|
16378
|
-
"type": "string",
|
|
16379
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16380
|
-
"enum": [
|
|
16381
|
-
"read",
|
|
16382
|
-
"write"
|
|
16383
|
-
]
|
|
16384
|
-
},
|
|
16385
16289
|
"deployments": {
|
|
16386
16290
|
"type": "string",
|
|
16387
16291
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17156,14 +17060,6 @@
|
|
|
17156
17060
|
"write"
|
|
17157
17061
|
]
|
|
17158
17062
|
},
|
|
17159
|
-
"organization_custom_roles": {
|
|
17160
|
-
"type": "string",
|
|
17161
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
17162
|
-
"enum": [
|
|
17163
|
-
"read",
|
|
17164
|
-
"write"
|
|
17165
|
-
]
|
|
17166
|
-
},
|
|
17167
17063
|
"deployments": {
|
|
17168
17064
|
"type": "string",
|
|
17169
17065
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18359,14 +18255,6 @@
|
|
|
18359
18255
|
"write"
|
|
18360
18256
|
]
|
|
18361
18257
|
},
|
|
18362
|
-
"organization_custom_roles": {
|
|
18363
|
-
"type": "string",
|
|
18364
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
18365
|
-
"enum": [
|
|
18366
|
-
"read",
|
|
18367
|
-
"write"
|
|
18368
|
-
]
|
|
18369
|
-
},
|
|
18370
18258
|
"deployments": {
|
|
18371
18259
|
"type": "string",
|
|
18372
18260
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19234,14 +19122,6 @@
|
|
|
19234
19122
|
"write"
|
|
19235
19123
|
]
|
|
19236
19124
|
},
|
|
19237
|
-
"organization_custom_roles": {
|
|
19238
|
-
"type": "string",
|
|
19239
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19240
|
-
"enum": [
|
|
19241
|
-
"read",
|
|
19242
|
-
"write"
|
|
19243
|
-
]
|
|
19244
|
-
},
|
|
19245
19125
|
"deployments": {
|
|
19246
19126
|
"type": "string",
|
|
19247
19127
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20178,14 +20058,6 @@
|
|
|
20178
20058
|
"write"
|
|
20179
20059
|
]
|
|
20180
20060
|
},
|
|
20181
|
-
"organization_custom_roles": {
|
|
20182
|
-
"type": "string",
|
|
20183
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20184
|
-
"enum": [
|
|
20185
|
-
"read",
|
|
20186
|
-
"write"
|
|
20187
|
-
]
|
|
20188
|
-
},
|
|
20189
20061
|
"deployments": {
|
|
20190
20062
|
"type": "string",
|
|
20191
20063
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20866,14 +20738,6 @@
|
|
|
20866
20738
|
"write"
|
|
20867
20739
|
]
|
|
20868
20740
|
},
|
|
20869
|
-
"organization_custom_roles": {
|
|
20870
|
-
"type": "string",
|
|
20871
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20872
|
-
"enum": [
|
|
20873
|
-
"read",
|
|
20874
|
-
"write"
|
|
20875
|
-
]
|
|
20876
|
-
},
|
|
20877
20741
|
"deployments": {
|
|
20878
20742
|
"type": "string",
|
|
20879
20743
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21788,14 +21652,6 @@
|
|
|
21788
21652
|
"write"
|
|
21789
21653
|
]
|
|
21790
21654
|
},
|
|
21791
|
-
"organization_custom_roles": {
|
|
21792
|
-
"type": "string",
|
|
21793
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
21794
|
-
"enum": [
|
|
21795
|
-
"read",
|
|
21796
|
-
"write"
|
|
21797
|
-
]
|
|
21798
|
-
},
|
|
21799
21655
|
"deployments": {
|
|
21800
21656
|
"type": "string",
|
|
21801
21657
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22476,14 +22332,6 @@
|
|
|
22476
22332
|
"write"
|
|
22477
22333
|
]
|
|
22478
22334
|
},
|
|
22479
|
-
"organization_custom_roles": {
|
|
22480
|
-
"type": "string",
|
|
22481
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
22482
|
-
"enum": [
|
|
22483
|
-
"read",
|
|
22484
|
-
"write"
|
|
22485
|
-
]
|
|
22486
|
-
},
|
|
22487
22335
|
"deployments": {
|
|
22488
22336
|
"type": "string",
|
|
22489
22337
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -23276,14 +23124,6 @@
|
|
|
23276
23124
|
"write"
|
|
23277
23125
|
]
|
|
23278
23126
|
},
|
|
23279
|
-
"organization_custom_roles": {
|
|
23280
|
-
"type": "string",
|
|
23281
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
23282
|
-
"enum": [
|
|
23283
|
-
"read",
|
|
23284
|
-
"write"
|
|
23285
|
-
]
|
|
23286
|
-
},
|
|
23287
23127
|
"deployments": {
|
|
23288
23128
|
"type": "string",
|
|
23289
23129
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -24103,14 +23943,6 @@
|
|
|
24103
23943
|
"write"
|
|
24104
23944
|
]
|
|
24105
23945
|
},
|
|
24106
|
-
"organization_custom_roles": {
|
|
24107
|
-
"type": "string",
|
|
24108
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
24109
|
-
"enum": [
|
|
24110
|
-
"read",
|
|
24111
|
-
"write"
|
|
24112
|
-
]
|
|
24113
|
-
},
|
|
24114
23946
|
"deployments": {
|
|
24115
23947
|
"type": "string",
|
|
24116
23948
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -77180,14 +77012,6 @@
|
|
|
77180
77012
|
"write"
|
|
77181
77013
|
]
|
|
77182
77014
|
},
|
|
77183
|
-
"organization_custom_roles": {
|
|
77184
|
-
"type": "string",
|
|
77185
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
77186
|
-
"enum": [
|
|
77187
|
-
"read",
|
|
77188
|
-
"write"
|
|
77189
|
-
]
|
|
77190
|
-
},
|
|
77191
77015
|
"deployments": {
|
|
77192
77016
|
"type": "string",
|
|
77193
77017
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -78005,14 +77829,6 @@
|
|
|
78005
77829
|
"write"
|
|
78006
77830
|
]
|
|
78007
77831
|
},
|
|
78008
|
-
"organization_custom_roles": {
|
|
78009
|
-
"type": "string",
|
|
78010
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
78011
|
-
"enum": [
|
|
78012
|
-
"read",
|
|
78013
|
-
"write"
|
|
78014
|
-
]
|
|
78015
|
-
},
|
|
78016
77832
|
"deployments": {
|
|
78017
77833
|
"type": "string",
|
|
78018
77834
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -86732,6 +86548,40 @@
|
|
|
86732
86548
|
"type": "boolean",
|
|
86733
86549
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
86734
86550
|
"default": false
|
|
86551
|
+
},
|
|
86552
|
+
"squash_merge_commit_title": {
|
|
86553
|
+
"type": "string",
|
|
86554
|
+
"enum": [
|
|
86555
|
+
"PR_TITLE",
|
|
86556
|
+
"COMMIT_OR_PR_TITLE"
|
|
86557
|
+
],
|
|
86558
|
+
"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)."
|
|
86559
|
+
},
|
|
86560
|
+
"squash_merge_commit_message": {
|
|
86561
|
+
"type": "string",
|
|
86562
|
+
"enum": [
|
|
86563
|
+
"PR_BODY",
|
|
86564
|
+
"COMMIT_MESSAGES",
|
|
86565
|
+
"BLANK"
|
|
86566
|
+
],
|
|
86567
|
+
"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."
|
|
86568
|
+
},
|
|
86569
|
+
"merge_commit_title": {
|
|
86570
|
+
"type": "string",
|
|
86571
|
+
"enum": [
|
|
86572
|
+
"PR_TITLE",
|
|
86573
|
+
"MERGE_MESSAGE"
|
|
86574
|
+
],
|
|
86575
|
+
"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)."
|
|
86576
|
+
},
|
|
86577
|
+
"merge_commit_message": {
|
|
86578
|
+
"type": "string",
|
|
86579
|
+
"enum": [
|
|
86580
|
+
"PR_BODY",
|
|
86581
|
+
"PR_TITLE",
|
|
86582
|
+
"BLANK"
|
|
86583
|
+
],
|
|
86584
|
+
"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."
|
|
86735
86585
|
}
|
|
86736
86586
|
},
|
|
86737
86587
|
"required": [
|
|
@@ -89591,8 +89441,8 @@
|
|
|
89591
89441
|
"example": "2017-08-17T12:37:15Z"
|
|
89592
89442
|
},
|
|
89593
89443
|
"organization": {
|
|
89594
|
-
"title": "Organization
|
|
89595
|
-
"description": "Organization
|
|
89444
|
+
"title": "Team Organization",
|
|
89445
|
+
"description": "Team Organization",
|
|
89596
89446
|
"type": "object",
|
|
89597
89447
|
"properties": {
|
|
89598
89448
|
"login": {
|
|
@@ -90228,8 +90078,8 @@
|
|
|
90228
90078
|
"example": "2017-08-17T12:37:15Z"
|
|
90229
90079
|
},
|
|
90230
90080
|
"organization": {
|
|
90231
|
-
"title": "Organization
|
|
90232
|
-
"description": "Organization
|
|
90081
|
+
"title": "Team Organization",
|
|
90082
|
+
"description": "Team Organization",
|
|
90233
90083
|
"type": "object",
|
|
90234
90084
|
"properties": {
|
|
90235
90085
|
"login": {
|
|
@@ -90846,8 +90696,8 @@
|
|
|
90846
90696
|
"example": "2017-08-17T12:37:15Z"
|
|
90847
90697
|
},
|
|
90848
90698
|
"organization": {
|
|
90849
|
-
"title": "Organization
|
|
90850
|
-
"description": "Organization
|
|
90699
|
+
"title": "Team Organization",
|
|
90700
|
+
"description": "Team Organization",
|
|
90851
90701
|
"type": "object",
|
|
90852
90702
|
"properties": {
|
|
90853
90703
|
"login": {
|
|
@@ -112557,6 +112407,40 @@
|
|
|
112557
112407
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
112558
112408
|
"default": false
|
|
112559
112409
|
},
|
|
112410
|
+
"squash_merge_commit_title": {
|
|
112411
|
+
"type": "string",
|
|
112412
|
+
"enum": [
|
|
112413
|
+
"PR_TITLE",
|
|
112414
|
+
"COMMIT_OR_PR_TITLE"
|
|
112415
|
+
],
|
|
112416
|
+
"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)."
|
|
112417
|
+
},
|
|
112418
|
+
"squash_merge_commit_message": {
|
|
112419
|
+
"type": "string",
|
|
112420
|
+
"enum": [
|
|
112421
|
+
"PR_BODY",
|
|
112422
|
+
"COMMIT_MESSAGES",
|
|
112423
|
+
"BLANK"
|
|
112424
|
+
],
|
|
112425
|
+
"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."
|
|
112426
|
+
},
|
|
112427
|
+
"merge_commit_title": {
|
|
112428
|
+
"type": "string",
|
|
112429
|
+
"enum": [
|
|
112430
|
+
"PR_TITLE",
|
|
112431
|
+
"MERGE_MESSAGE"
|
|
112432
|
+
],
|
|
112433
|
+
"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)."
|
|
112434
|
+
},
|
|
112435
|
+
"merge_commit_message": {
|
|
112436
|
+
"type": "string",
|
|
112437
|
+
"enum": [
|
|
112438
|
+
"PR_BODY",
|
|
112439
|
+
"PR_TITLE",
|
|
112440
|
+
"BLANK"
|
|
112441
|
+
],
|
|
112442
|
+
"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."
|
|
112443
|
+
},
|
|
112560
112444
|
"archived": {
|
|
112561
112445
|
"type": "boolean",
|
|
112562
112446
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -116831,7 +116715,6 @@
|
|
|
116831
116715
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
116832
116716
|
"html_url": "https://github.com/licenses/mit"
|
|
116833
116717
|
},
|
|
116834
|
-
"language": null,
|
|
116835
116718
|
"forks_count": 9,
|
|
116836
116719
|
"forks": 9,
|
|
116837
116720
|
"stargazers_count": 80,
|
|
@@ -130338,9 +130221,16 @@
|
|
|
130338
130221
|
"content": {
|
|
130339
130222
|
"application/json": {
|
|
130340
130223
|
"schema": {
|
|
130224
|
+
"title": "Empty Object",
|
|
130225
|
+
"description": "An object without any properties.",
|
|
130341
130226
|
"type": "object",
|
|
130342
130227
|
"properties": {},
|
|
130343
130228
|
"additionalProperties": false
|
|
130229
|
+
},
|
|
130230
|
+
"examples": {
|
|
130231
|
+
"default": {
|
|
130232
|
+
"value": null
|
|
130233
|
+
}
|
|
130344
130234
|
}
|
|
130345
130235
|
}
|
|
130346
130236
|
}
|
|
@@ -131533,6 +131423,17 @@
|
|
|
131533
131423
|
"state",
|
|
131534
131424
|
"comment"
|
|
131535
131425
|
]
|
|
131426
|
+
},
|
|
131427
|
+
"examples": {
|
|
131428
|
+
"default": {
|
|
131429
|
+
"value": {
|
|
131430
|
+
"environment_ids": [
|
|
131431
|
+
161171787
|
|
131432
|
+
],
|
|
131433
|
+
"state": "approved",
|
|
131434
|
+
"comment": "Ship it!"
|
|
131435
|
+
}
|
|
131436
|
+
}
|
|
131536
131437
|
}
|
|
131537
131438
|
}
|
|
131538
131439
|
}
|
|
@@ -132122,6 +132023,11 @@
|
|
|
132122
132023
|
"schema": {
|
|
132123
132024
|
"type": "object",
|
|
132124
132025
|
"nullable": true
|
|
132026
|
+
},
|
|
132027
|
+
"examples": {
|
|
132028
|
+
"default": {
|
|
132029
|
+
"value": null
|
|
132030
|
+
}
|
|
132125
132031
|
}
|
|
132126
132032
|
}
|
|
132127
132033
|
}
|
|
@@ -132132,9 +132038,16 @@
|
|
|
132132
132038
|
"content": {
|
|
132133
132039
|
"application/json": {
|
|
132134
132040
|
"schema": {
|
|
132041
|
+
"title": "Empty Object",
|
|
132042
|
+
"description": "An object without any properties.",
|
|
132135
132043
|
"type": "object",
|
|
132136
132044
|
"properties": {},
|
|
132137
132045
|
"additionalProperties": false
|
|
132046
|
+
},
|
|
132047
|
+
"examples": {
|
|
132048
|
+
"default": {
|
|
132049
|
+
"value": null
|
|
132050
|
+
}
|
|
132138
132051
|
}
|
|
132139
132052
|
}
|
|
132140
132053
|
}
|
|
@@ -132546,9 +132459,16 @@
|
|
|
132546
132459
|
"content": {
|
|
132547
132460
|
"application/json": {
|
|
132548
132461
|
"schema": {
|
|
132462
|
+
"title": "Empty Object",
|
|
132463
|
+
"description": "An object without any properties.",
|
|
132549
132464
|
"type": "object",
|
|
132550
132465
|
"properties": {},
|
|
132551
132466
|
"additionalProperties": false
|
|
132467
|
+
},
|
|
132468
|
+
"examples": {
|
|
132469
|
+
"default": {
|
|
132470
|
+
"value": null
|
|
132471
|
+
}
|
|
132552
132472
|
}
|
|
132553
132473
|
}
|
|
132554
132474
|
}
|
|
@@ -140809,6 +140729,111 @@
|
|
|
140809
140729
|
"protected",
|
|
140810
140730
|
"protection_url"
|
|
140811
140731
|
]
|
|
140732
|
+
},
|
|
140733
|
+
"examples": {
|
|
140734
|
+
"default": {
|
|
140735
|
+
"value": {
|
|
140736
|
+
"name": "main",
|
|
140737
|
+
"commit": {
|
|
140738
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140739
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
140740
|
+
"commit": {
|
|
140741
|
+
"author": {
|
|
140742
|
+
"name": "The Octocat",
|
|
140743
|
+
"email": "octocat@nowhere.com",
|
|
140744
|
+
"date": "2012-03-06T23:06:50Z"
|
|
140745
|
+
},
|
|
140746
|
+
"committer": {
|
|
140747
|
+
"name": "The Octocat",
|
|
140748
|
+
"email": "octocat@nowhere.com",
|
|
140749
|
+
"date": "2012-03-06T23:06:50Z"
|
|
140750
|
+
},
|
|
140751
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
140752
|
+
"tree": {
|
|
140753
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
140754
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
140755
|
+
},
|
|
140756
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140757
|
+
"comment_count": 77,
|
|
140758
|
+
"verification": {
|
|
140759
|
+
"verified": false,
|
|
140760
|
+
"reason": "unsigned",
|
|
140761
|
+
"signature": null,
|
|
140762
|
+
"payload": null
|
|
140763
|
+
}
|
|
140764
|
+
},
|
|
140765
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140766
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140767
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
140768
|
+
"author": {
|
|
140769
|
+
"login": "octocat",
|
|
140770
|
+
"id": 583231,
|
|
140771
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
140772
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
140773
|
+
"gravatar_id": "",
|
|
140774
|
+
"url": "https://api.github.com/users/octocat",
|
|
140775
|
+
"html_url": "https://github.com/octocat",
|
|
140776
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
140777
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
140778
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
140779
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
140780
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
140781
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
140782
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
140783
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
140784
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
140785
|
+
"type": "User",
|
|
140786
|
+
"site_admin": false
|
|
140787
|
+
},
|
|
140788
|
+
"committer": {
|
|
140789
|
+
"login": "octocat",
|
|
140790
|
+
"id": 583231,
|
|
140791
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
140792
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
140793
|
+
"gravatar_id": "",
|
|
140794
|
+
"url": "https://api.github.com/users/octocat",
|
|
140795
|
+
"html_url": "https://github.com/octocat",
|
|
140796
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
140797
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
140798
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
140799
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
140800
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
140801
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
140802
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
140803
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
140804
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
140805
|
+
"type": "User",
|
|
140806
|
+
"site_admin": false
|
|
140807
|
+
},
|
|
140808
|
+
"parents": [
|
|
140809
|
+
{
|
|
140810
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
140811
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
140812
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
140813
|
+
},
|
|
140814
|
+
{
|
|
140815
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
140816
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
140817
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
140818
|
+
}
|
|
140819
|
+
]
|
|
140820
|
+
},
|
|
140821
|
+
"_links": {
|
|
140822
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
140823
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
140824
|
+
},
|
|
140825
|
+
"protected": false,
|
|
140826
|
+
"protection": {
|
|
140827
|
+
"enabled": false,
|
|
140828
|
+
"required_status_checks": {
|
|
140829
|
+
"enforcement_level": "off",
|
|
140830
|
+
"contexts": [],
|
|
140831
|
+
"checks": []
|
|
140832
|
+
}
|
|
140833
|
+
},
|
|
140834
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
140835
|
+
}
|
|
140836
|
+
}
|
|
140812
140837
|
}
|
|
140813
140838
|
}
|
|
140814
140839
|
}
|
|
@@ -143441,6 +143466,73 @@
|
|
|
143441
143466
|
"required": [
|
|
143442
143467
|
"url"
|
|
143443
143468
|
]
|
|
143469
|
+
},
|
|
143470
|
+
"examples": {
|
|
143471
|
+
"default": {
|
|
143472
|
+
"value": {
|
|
143473
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
143474
|
+
"required_status_checks": {
|
|
143475
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
143476
|
+
"strict": true,
|
|
143477
|
+
"contexts": [
|
|
143478
|
+
"continuous-integration/travis-ci"
|
|
143479
|
+
],
|
|
143480
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
143481
|
+
"checks": [
|
|
143482
|
+
{
|
|
143483
|
+
"context": "continuous-integration/travis-ci",
|
|
143484
|
+
"app_id": null
|
|
143485
|
+
}
|
|
143486
|
+
]
|
|
143487
|
+
},
|
|
143488
|
+
"restrictions": {
|
|
143489
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
143490
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
143491
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
143492
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
143493
|
+
"users": [],
|
|
143494
|
+
"teams": [],
|
|
143495
|
+
"apps": []
|
|
143496
|
+
},
|
|
143497
|
+
"required_pull_request_reviews": {
|
|
143498
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
143499
|
+
"dismiss_stale_reviews": true,
|
|
143500
|
+
"require_code_owner_reviews": true,
|
|
143501
|
+
"required_approving_review_count": 2,
|
|
143502
|
+
"dismissal_restrictions": {
|
|
143503
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
143504
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
143505
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
143506
|
+
"users": [],
|
|
143507
|
+
"teams": [],
|
|
143508
|
+
"apps": []
|
|
143509
|
+
}
|
|
143510
|
+
},
|
|
143511
|
+
"required_signatures": {
|
|
143512
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
143513
|
+
"enabled": false
|
|
143514
|
+
},
|
|
143515
|
+
"enforce_admins": {
|
|
143516
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
143517
|
+
"enabled": true
|
|
143518
|
+
},
|
|
143519
|
+
"required_linear_history": {
|
|
143520
|
+
"enabled": true
|
|
143521
|
+
},
|
|
143522
|
+
"allow_force_pushes": {
|
|
143523
|
+
"enabled": true
|
|
143524
|
+
},
|
|
143525
|
+
"allow_deletions": {
|
|
143526
|
+
"enabled": true
|
|
143527
|
+
},
|
|
143528
|
+
"block_creations": {
|
|
143529
|
+
"enabled": true
|
|
143530
|
+
},
|
|
143531
|
+
"required_conversation_resolution": {
|
|
143532
|
+
"enabled": true
|
|
143533
|
+
}
|
|
143534
|
+
}
|
|
143535
|
+
}
|
|
143444
143536
|
}
|
|
143445
143537
|
}
|
|
143446
143538
|
}
|
|
@@ -146492,7 +146584,7 @@
|
|
|
146492
146584
|
"properties": {
|
|
146493
146585
|
"contexts": {
|
|
146494
146586
|
"type": "array",
|
|
146495
|
-
"description": "
|
|
146587
|
+
"description": "The name of the status checks",
|
|
146496
146588
|
"items": {
|
|
146497
146589
|
"type": "string"
|
|
146498
146590
|
}
|
|
@@ -146508,6 +146600,17 @@
|
|
|
146508
146600
|
}
|
|
146509
146601
|
}
|
|
146510
146602
|
]
|
|
146603
|
+
},
|
|
146604
|
+
"examples": {
|
|
146605
|
+
"default": {
|
|
146606
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
146607
|
+
"value": {
|
|
146608
|
+
"contexts": [
|
|
146609
|
+
"continuous-integration/travis-ci",
|
|
146610
|
+
"continuous-integration/jenkins"
|
|
146611
|
+
]
|
|
146612
|
+
}
|
|
146613
|
+
}
|
|
146511
146614
|
}
|
|
146512
146615
|
}
|
|
146513
146616
|
}
|
|
@@ -146717,7 +146820,7 @@
|
|
|
146717
146820
|
"properties": {
|
|
146718
146821
|
"contexts": {
|
|
146719
146822
|
"type": "array",
|
|
146720
|
-
"description": "
|
|
146823
|
+
"description": "The name of the status checks",
|
|
146721
146824
|
"items": {
|
|
146722
146825
|
"type": "string"
|
|
146723
146826
|
}
|
|
@@ -146733,6 +146836,16 @@
|
|
|
146733
146836
|
}
|
|
146734
146837
|
}
|
|
146735
146838
|
]
|
|
146839
|
+
},
|
|
146840
|
+
"examples": {
|
|
146841
|
+
"default": {
|
|
146842
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
146843
|
+
"value": {
|
|
146844
|
+
"contexts": [
|
|
146845
|
+
"continuous-integration/travis-ci"
|
|
146846
|
+
]
|
|
146847
|
+
}
|
|
146848
|
+
}
|
|
146736
146849
|
}
|
|
146737
146850
|
}
|
|
146738
146851
|
}
|
|
@@ -146914,7 +147027,7 @@
|
|
|
146914
147027
|
"properties": {
|
|
146915
147028
|
"contexts": {
|
|
146916
147029
|
"type": "array",
|
|
146917
|
-
"description": "
|
|
147030
|
+
"description": "The name of the status checks",
|
|
146918
147031
|
"items": {
|
|
146919
147032
|
"type": "string"
|
|
146920
147033
|
}
|
|
@@ -146930,6 +147043,16 @@
|
|
|
146930
147043
|
}
|
|
146931
147044
|
}
|
|
146932
147045
|
]
|
|
147046
|
+
},
|
|
147047
|
+
"examples": {
|
|
147048
|
+
"default": {
|
|
147049
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
147050
|
+
"value": {
|
|
147051
|
+
"contexts": [
|
|
147052
|
+
"continuous-integration/travis-ci"
|
|
147053
|
+
]
|
|
147054
|
+
}
|
|
147055
|
+
}
|
|
146933
147056
|
}
|
|
146934
147057
|
}
|
|
146935
147058
|
}
|
|
@@ -149635,7 +149758,7 @@
|
|
|
149635
149758
|
"properties": {
|
|
149636
149759
|
"teams": {
|
|
149637
149760
|
"type": "array",
|
|
149638
|
-
"description": "teams
|
|
149761
|
+
"description": "The slug values for teams",
|
|
149639
149762
|
"items": {
|
|
149640
149763
|
"type": "string"
|
|
149641
149764
|
}
|
|
@@ -149651,6 +149774,16 @@
|
|
|
149651
149774
|
}
|
|
149652
149775
|
}
|
|
149653
149776
|
]
|
|
149777
|
+
},
|
|
149778
|
+
"examples": {
|
|
149779
|
+
"default": {
|
|
149780
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
149781
|
+
"value": {
|
|
149782
|
+
"teams": [
|
|
149783
|
+
"justice-league"
|
|
149784
|
+
]
|
|
149785
|
+
}
|
|
149786
|
+
}
|
|
149654
149787
|
}
|
|
149655
149788
|
}
|
|
149656
149789
|
}
|
|
@@ -149981,7 +150114,7 @@
|
|
|
149981
150114
|
"properties": {
|
|
149982
150115
|
"teams": {
|
|
149983
150116
|
"type": "array",
|
|
149984
|
-
"description": "teams
|
|
150117
|
+
"description": "The slug values for teams",
|
|
149985
150118
|
"items": {
|
|
149986
150119
|
"type": "string"
|
|
149987
150120
|
}
|
|
@@ -149992,11 +150125,21 @@
|
|
|
149992
150125
|
],
|
|
149993
150126
|
"example": {
|
|
149994
150127
|
"teams": [
|
|
149995
|
-
"
|
|
150128
|
+
"justice-league"
|
|
149996
150129
|
]
|
|
149997
150130
|
}
|
|
149998
150131
|
}
|
|
149999
150132
|
]
|
|
150133
|
+
},
|
|
150134
|
+
"examples": {
|
|
150135
|
+
"default": {
|
|
150136
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
150137
|
+
"value": {
|
|
150138
|
+
"teams": [
|
|
150139
|
+
"justice-league"
|
|
150140
|
+
]
|
|
150141
|
+
}
|
|
150142
|
+
}
|
|
150000
150143
|
}
|
|
150001
150144
|
}
|
|
150002
150145
|
}
|
|
@@ -150326,7 +150469,7 @@
|
|
|
150326
150469
|
"properties": {
|
|
150327
150470
|
"teams": {
|
|
150328
150471
|
"type": "array",
|
|
150329
|
-
"description": "teams
|
|
150472
|
+
"description": "The slug values for teams",
|
|
150330
150473
|
"items": {
|
|
150331
150474
|
"type": "string"
|
|
150332
150475
|
}
|
|
@@ -150342,6 +150485,16 @@
|
|
|
150342
150485
|
}
|
|
150343
150486
|
}
|
|
150344
150487
|
]
|
|
150488
|
+
},
|
|
150489
|
+
"examples": {
|
|
150490
|
+
"default": {
|
|
150491
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
150492
|
+
"value": {
|
|
150493
|
+
"teams": [
|
|
150494
|
+
"justice-league"
|
|
150495
|
+
]
|
|
150496
|
+
}
|
|
150497
|
+
}
|
|
150345
150498
|
}
|
|
150346
150499
|
}
|
|
150347
150500
|
}
|
|
@@ -150906,7 +151059,7 @@
|
|
|
150906
151059
|
"properties": {
|
|
150907
151060
|
"users": {
|
|
150908
151061
|
"type": "array",
|
|
150909
|
-
"description": "users
|
|
151062
|
+
"description": "The username for users",
|
|
150910
151063
|
"items": {
|
|
150911
151064
|
"type": "string"
|
|
150912
151065
|
}
|
|
@@ -150922,6 +151075,16 @@
|
|
|
150922
151075
|
}
|
|
150923
151076
|
}
|
|
150924
151077
|
]
|
|
151078
|
+
},
|
|
151079
|
+
"examples": {
|
|
151080
|
+
"default": {
|
|
151081
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
151082
|
+
"value": {
|
|
151083
|
+
"users": [
|
|
151084
|
+
"octocat"
|
|
151085
|
+
]
|
|
151086
|
+
}
|
|
151087
|
+
}
|
|
150925
151088
|
}
|
|
150926
151089
|
}
|
|
150927
151090
|
}
|
|
@@ -151213,7 +151376,7 @@
|
|
|
151213
151376
|
"properties": {
|
|
151214
151377
|
"users": {
|
|
151215
151378
|
"type": "array",
|
|
151216
|
-
"description": "users
|
|
151379
|
+
"description": "The username for users",
|
|
151217
151380
|
"items": {
|
|
151218
151381
|
"type": "string"
|
|
151219
151382
|
}
|
|
@@ -151229,6 +151392,16 @@
|
|
|
151229
151392
|
}
|
|
151230
151393
|
}
|
|
151231
151394
|
]
|
|
151395
|
+
},
|
|
151396
|
+
"examples": {
|
|
151397
|
+
"default": {
|
|
151398
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
151399
|
+
"value": {
|
|
151400
|
+
"users": [
|
|
151401
|
+
"octocat"
|
|
151402
|
+
]
|
|
151403
|
+
}
|
|
151404
|
+
}
|
|
151232
151405
|
}
|
|
151233
151406
|
}
|
|
151234
151407
|
}
|
|
@@ -151519,7 +151692,7 @@
|
|
|
151519
151692
|
"properties": {
|
|
151520
151693
|
"users": {
|
|
151521
151694
|
"type": "array",
|
|
151522
|
-
"description": "users
|
|
151695
|
+
"description": "The username for users",
|
|
151523
151696
|
"items": {
|
|
151524
151697
|
"type": "string"
|
|
151525
151698
|
}
|
|
@@ -151535,6 +151708,16 @@
|
|
|
151535
151708
|
}
|
|
151536
151709
|
}
|
|
151537
151710
|
]
|
|
151711
|
+
},
|
|
151712
|
+
"examples": {
|
|
151713
|
+
"default": {
|
|
151714
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
151715
|
+
"value": {
|
|
151716
|
+
"users": [
|
|
151717
|
+
"octocat"
|
|
151718
|
+
]
|
|
151719
|
+
}
|
|
151720
|
+
}
|
|
151538
151721
|
}
|
|
151539
151722
|
}
|
|
151540
151723
|
}
|
|
@@ -192088,7 +192271,7 @@
|
|
|
192088
192271
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
192089
192272
|
"get": {
|
|
192090
192273
|
"summary": "Get repository content",
|
|
192091
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
192274
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.3/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
192092
192275
|
"tags": [
|
|
192093
192276
|
"repos"
|
|
192094
192277
|
],
|
|
@@ -210289,7 +210472,6 @@
|
|
|
210289
210472
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
210290
210473
|
"html_url": "https://github.com/licenses/mit"
|
|
210291
210474
|
},
|
|
210292
|
-
"language": null,
|
|
210293
210475
|
"forks_count": 9,
|
|
210294
210476
|
"forks": 9,
|
|
210295
210477
|
"stargazers_count": 80,
|
|
@@ -217395,14 +217577,6 @@
|
|
|
217395
217577
|
"write"
|
|
217396
217578
|
]
|
|
217397
217579
|
},
|
|
217398
|
-
"organization_custom_roles": {
|
|
217399
|
-
"type": "string",
|
|
217400
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
217401
|
-
"enum": [
|
|
217402
|
-
"read",
|
|
217403
|
-
"write"
|
|
217404
|
-
]
|
|
217405
|
-
},
|
|
217406
217580
|
"deployments": {
|
|
217407
217581
|
"type": "string",
|
|
217408
217582
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -220171,6 +220345,14 @@
|
|
|
220171
220345
|
]
|
|
220172
220346
|
}
|
|
220173
220347
|
}
|
|
220348
|
+
},
|
|
220349
|
+
"examples": {
|
|
220350
|
+
"default": {
|
|
220351
|
+
"summary": "Example request body",
|
|
220352
|
+
"value": {
|
|
220353
|
+
"permissions": "write"
|
|
220354
|
+
}
|
|
220355
|
+
}
|
|
220174
220356
|
}
|
|
220175
220357
|
}
|
|
220176
220358
|
}
|
|
@@ -224983,7 +225165,8 @@
|
|
|
224983
225165
|
"type": "User",
|
|
224984
225166
|
"site_admin": false
|
|
224985
225167
|
},
|
|
224986
|
-
"author_association": "COLLABORATOR"
|
|
225168
|
+
"author_association": "COLLABORATOR",
|
|
225169
|
+
"state_reason": "completed"
|
|
224987
225170
|
}
|
|
224988
225171
|
]
|
|
224989
225172
|
}
|
|
@@ -227752,7 +227935,8 @@
|
|
|
227752
227935
|
"type": "User",
|
|
227753
227936
|
"site_admin": false
|
|
227754
227937
|
},
|
|
227755
|
-
"author_association": "COLLABORATOR"
|
|
227938
|
+
"author_association": "COLLABORATOR",
|
|
227939
|
+
"state_reason": "completed"
|
|
227756
227940
|
}
|
|
227757
227941
|
}
|
|
227758
227942
|
}
|
|
@@ -234717,7 +234901,8 @@
|
|
|
234717
234901
|
"closed_at": null,
|
|
234718
234902
|
"created_at": "2011-04-22T13:33:48Z",
|
|
234719
234903
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
234720
|
-
"author_association": "COLLABORATOR"
|
|
234904
|
+
"author_association": "COLLABORATOR",
|
|
234905
|
+
"state_reason": "completed"
|
|
234721
234906
|
}
|
|
234722
234907
|
}
|
|
234723
234908
|
]
|
|
@@ -238582,7 +238767,8 @@
|
|
|
238582
238767
|
"closed_at": null,
|
|
238583
238768
|
"created_at": "2011-04-22T13:33:48Z",
|
|
238584
238769
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
238585
|
-
"author_association": "COLLABORATOR"
|
|
238770
|
+
"author_association": "COLLABORATOR",
|
|
238771
|
+
"state_reason": "completed"
|
|
238586
238772
|
}
|
|
238587
238773
|
}
|
|
238588
238774
|
}
|
|
@@ -241212,7 +241398,8 @@
|
|
|
241212
241398
|
"type": "User",
|
|
241213
241399
|
"site_admin": false
|
|
241214
241400
|
},
|
|
241215
|
-
"author_association": "COLLABORATOR"
|
|
241401
|
+
"author_association": "COLLABORATOR",
|
|
241402
|
+
"state_reason": "completed"
|
|
241216
241403
|
}
|
|
241217
241404
|
}
|
|
241218
241405
|
}
|
|
@@ -241386,6 +241573,12 @@
|
|
|
241386
241573
|
"closed"
|
|
241387
241574
|
]
|
|
241388
241575
|
},
|
|
241576
|
+
"state_reason": {
|
|
241577
|
+
"type": "string",
|
|
241578
|
+
"nullable": true,
|
|
241579
|
+
"description": "The reason for the current state",
|
|
241580
|
+
"example": "not_planned"
|
|
241581
|
+
},
|
|
241389
241582
|
"milestone": {
|
|
241390
241583
|
"oneOf": [
|
|
241391
241584
|
{
|
|
@@ -243949,7 +244142,8 @@
|
|
|
243949
244142
|
"type": "User",
|
|
243950
244143
|
"site_admin": false
|
|
243951
244144
|
},
|
|
243952
|
-
"author_association": "COLLABORATOR"
|
|
244145
|
+
"author_association": "COLLABORATOR",
|
|
244146
|
+
"state_reason": "completed"
|
|
243953
244147
|
}
|
|
243954
244148
|
}
|
|
243955
244149
|
}
|
|
@@ -246723,7 +246917,8 @@
|
|
|
246723
246917
|
"type": "User",
|
|
246724
246918
|
"site_admin": false
|
|
246725
246919
|
},
|
|
246726
|
-
"author_association": "COLLABORATOR"
|
|
246920
|
+
"author_association": "COLLABORATOR",
|
|
246921
|
+
"state_reason": "completed"
|
|
246727
246922
|
}
|
|
246728
246923
|
}
|
|
246729
246924
|
}
|
|
@@ -340090,7 +340285,8 @@
|
|
|
340090
340285
|
"body": "...",
|
|
340091
340286
|
"score": 1,
|
|
340092
340287
|
"locked": true,
|
|
340093
|
-
"author_association": "COLLABORATOR"
|
|
340288
|
+
"author_association": "COLLABORATOR",
|
|
340289
|
+
"state_reason": "completed"
|
|
340094
340290
|
}
|
|
340095
340291
|
]
|
|
340096
340292
|
}
|
|
@@ -343865,8 +344061,8 @@
|
|
|
343865
344061
|
"example": "2017-08-17T12:37:15Z"
|
|
343866
344062
|
},
|
|
343867
344063
|
"organization": {
|
|
343868
|
-
"title": "Organization
|
|
343869
|
-
"description": "Organization
|
|
344064
|
+
"title": "Team Organization",
|
|
344065
|
+
"description": "Team Organization",
|
|
343870
344066
|
"type": "object",
|
|
343871
344067
|
"properties": {
|
|
343872
344068
|
"login": {
|
|
@@ -344480,8 +344676,8 @@
|
|
|
344480
344676
|
"example": "2017-08-17T12:37:15Z"
|
|
344481
344677
|
},
|
|
344482
344678
|
"organization": {
|
|
344483
|
-
"title": "Organization
|
|
344484
|
-
"description": "Organization
|
|
344679
|
+
"title": "Team Organization",
|
|
344680
|
+
"description": "Team Organization",
|
|
344485
344681
|
"type": "object",
|
|
344486
344682
|
"properties": {
|
|
344487
344683
|
"login": {
|
|
@@ -344973,8 +345169,8 @@
|
|
|
344973
345169
|
"example": "2017-08-17T12:37:15Z"
|
|
344974
345170
|
},
|
|
344975
345171
|
"organization": {
|
|
344976
|
-
"title": "Organization
|
|
344977
|
-
"description": "Organization
|
|
345172
|
+
"title": "Team Organization",
|
|
345173
|
+
"description": "Team Organization",
|
|
344978
345174
|
"type": "object",
|
|
344979
345175
|
"properties": {
|
|
344980
345176
|
"login": {
|
|
@@ -360629,14 +360825,6 @@
|
|
|
360629
360825
|
"write"
|
|
360630
360826
|
]
|
|
360631
360827
|
},
|
|
360632
|
-
"organization_custom_roles": {
|
|
360633
|
-
"type": "string",
|
|
360634
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
360635
|
-
"enum": [
|
|
360636
|
-
"read",
|
|
360637
|
-
"write"
|
|
360638
|
-
]
|
|
360639
|
-
},
|
|
360640
360828
|
"deployments": {
|
|
360641
360829
|
"type": "string",
|
|
360642
360830
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -370227,6 +370415,40 @@
|
|
|
370227
370415
|
"type": "boolean",
|
|
370228
370416
|
"example": false
|
|
370229
370417
|
},
|
|
370418
|
+
"squash_merge_commit_title": {
|
|
370419
|
+
"type": "string",
|
|
370420
|
+
"enum": [
|
|
370421
|
+
"PR_TITLE",
|
|
370422
|
+
"COMMIT_OR_PR_TITLE"
|
|
370423
|
+
],
|
|
370424
|
+
"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)."
|
|
370425
|
+
},
|
|
370426
|
+
"squash_merge_commit_message": {
|
|
370427
|
+
"type": "string",
|
|
370428
|
+
"enum": [
|
|
370429
|
+
"PR_BODY",
|
|
370430
|
+
"COMMIT_MESSAGES",
|
|
370431
|
+
"BLANK"
|
|
370432
|
+
],
|
|
370433
|
+
"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."
|
|
370434
|
+
},
|
|
370435
|
+
"merge_commit_title": {
|
|
370436
|
+
"type": "string",
|
|
370437
|
+
"enum": [
|
|
370438
|
+
"PR_TITLE",
|
|
370439
|
+
"MERGE_MESSAGE"
|
|
370440
|
+
],
|
|
370441
|
+
"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)."
|
|
370442
|
+
},
|
|
370443
|
+
"merge_commit_message": {
|
|
370444
|
+
"type": "string",
|
|
370445
|
+
"enum": [
|
|
370446
|
+
"PR_BODY",
|
|
370447
|
+
"PR_TITLE",
|
|
370448
|
+
"BLANK"
|
|
370449
|
+
],
|
|
370450
|
+
"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."
|
|
370451
|
+
},
|
|
370230
370452
|
"has_downloads": {
|
|
370231
370453
|
"description": "Whether downloads are enabled.",
|
|
370232
370454
|
"default": true,
|
|
@@ -379326,8 +379548,8 @@
|
|
|
379326
379548
|
"example": "2017-08-17T12:37:15Z"
|
|
379327
379549
|
},
|
|
379328
379550
|
"organization": {
|
|
379329
|
-
"title": "Organization
|
|
379330
|
-
"description": "Organization
|
|
379551
|
+
"title": "Team Organization",
|
|
379552
|
+
"description": "Team Organization",
|
|
379331
379553
|
"type": "object",
|
|
379332
379554
|
"properties": {
|
|
379333
379555
|
"login": {
|
|
@@ -391694,14 +391916,6 @@
|
|
|
391694
391916
|
"write"
|
|
391695
391917
|
]
|
|
391696
391918
|
},
|
|
391697
|
-
"organization_custom_roles": {
|
|
391698
|
-
"type": "string",
|
|
391699
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
391700
|
-
"enum": [
|
|
391701
|
-
"read",
|
|
391702
|
-
"write"
|
|
391703
|
-
]
|
|
391704
|
-
},
|
|
391705
391919
|
"deployments": {
|
|
391706
391920
|
"type": "string",
|
|
391707
391921
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|