@octokit/openapi 7.5.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 +466 -140
- package/generated/api.github.com.json +607 -28
- 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 +31 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
- package/generated/ghes-3.2.deref.json +319 -242
- package/generated/ghes-3.2.json +558 -26
- 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 +319 -242
- package/generated/ghes-3.3.json +558 -26
- 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 +322 -228
- package/generated/ghes-3.4.json +566 -28
- 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 +45 -39
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +283 -15
- package/generated/ghes-3.5.deref.json +322 -228
- package/generated/ghes-3.5.json +566 -28
- 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 +17464 -6423
- package/generated/ghes-3.6-diff-to-api.github.com.json +4502 -2247
- package/generated/ghes-3.6.deref.json +406 -240
- package/generated/ghes-3.6.json +654 -40
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +318 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +15845 -8423
- package/generated/github.ae-diff-to-api.github.com.json +1168 -44
- package/generated/github.ae.deref.json +409 -163
- package/generated/github.ae.json +646 -35
- 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": {
|
|
@@ -452,14 +452,6 @@
|
|
|
452
452
|
"write"
|
|
453
453
|
]
|
|
454
454
|
},
|
|
455
|
-
"organization_custom_roles": {
|
|
456
|
-
"type": "string",
|
|
457
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
458
|
-
"enum": [
|
|
459
|
-
"read",
|
|
460
|
-
"write"
|
|
461
|
-
]
|
|
462
|
-
},
|
|
463
455
|
"deployments": {
|
|
464
456
|
"type": "string",
|
|
465
457
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -1194,14 +1186,6 @@
|
|
|
1194
1186
|
"write"
|
|
1195
1187
|
]
|
|
1196
1188
|
},
|
|
1197
|
-
"organization_custom_roles": {
|
|
1198
|
-
"type": "string",
|
|
1199
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
1200
|
-
"enum": [
|
|
1201
|
-
"read",
|
|
1202
|
-
"write"
|
|
1203
|
-
]
|
|
1204
|
-
},
|
|
1205
1189
|
"deployments": {
|
|
1206
1190
|
"type": "string",
|
|
1207
1191
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -1874,14 +1858,6 @@
|
|
|
1874
1858
|
"write"
|
|
1875
1859
|
]
|
|
1876
1860
|
},
|
|
1877
|
-
"organization_custom_roles": {
|
|
1878
|
-
"type": "string",
|
|
1879
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
1880
|
-
"enum": [
|
|
1881
|
-
"read",
|
|
1882
|
-
"write"
|
|
1883
|
-
]
|
|
1884
|
-
},
|
|
1885
1861
|
"deployments": {
|
|
1886
1862
|
"type": "string",
|
|
1887
1863
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -2683,14 +2659,6 @@
|
|
|
2683
2659
|
"write"
|
|
2684
2660
|
]
|
|
2685
2661
|
},
|
|
2686
|
-
"organization_custom_roles": {
|
|
2687
|
-
"type": "string",
|
|
2688
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
2689
|
-
"enum": [
|
|
2690
|
-
"read",
|
|
2691
|
-
"write"
|
|
2692
|
-
]
|
|
2693
|
-
},
|
|
2694
2662
|
"deployments": {
|
|
2695
2663
|
"type": "string",
|
|
2696
2664
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -3494,14 +3462,6 @@
|
|
|
3494
3462
|
"write"
|
|
3495
3463
|
]
|
|
3496
3464
|
},
|
|
3497
|
-
"organization_custom_roles": {
|
|
3498
|
-
"type": "string",
|
|
3499
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
3500
|
-
"enum": [
|
|
3501
|
-
"read",
|
|
3502
|
-
"write"
|
|
3503
|
-
]
|
|
3504
|
-
},
|
|
3505
3465
|
"deployments": {
|
|
3506
3466
|
"type": "string",
|
|
3507
3467
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -4103,14 +4063,6 @@
|
|
|
4103
4063
|
"write"
|
|
4104
4064
|
]
|
|
4105
4065
|
},
|
|
4106
|
-
"organization_custom_roles": {
|
|
4107
|
-
"type": "string",
|
|
4108
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4109
|
-
"enum": [
|
|
4110
|
-
"read",
|
|
4111
|
-
"write"
|
|
4112
|
-
]
|
|
4113
|
-
},
|
|
4114
4066
|
"deployments": {
|
|
4115
4067
|
"type": "string",
|
|
4116
4068
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -4404,14 +4356,6 @@
|
|
|
4404
4356
|
"write"
|
|
4405
4357
|
]
|
|
4406
4358
|
},
|
|
4407
|
-
"organization_custom_roles": {
|
|
4408
|
-
"type": "string",
|
|
4409
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4410
|
-
"enum": [
|
|
4411
|
-
"read",
|
|
4412
|
-
"write"
|
|
4413
|
-
]
|
|
4414
|
-
},
|
|
4415
4359
|
"deployments": {
|
|
4416
4360
|
"type": "string",
|
|
4417
4361
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -6433,14 +6377,6 @@
|
|
|
6433
6377
|
"write"
|
|
6434
6378
|
]
|
|
6435
6379
|
},
|
|
6436
|
-
"organization_custom_roles": {
|
|
6437
|
-
"type": "string",
|
|
6438
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
6439
|
-
"enum": [
|
|
6440
|
-
"read",
|
|
6441
|
-
"write"
|
|
6442
|
-
]
|
|
6443
|
-
},
|
|
6444
6380
|
"deployments": {
|
|
6445
6381
|
"type": "string",
|
|
6446
6382
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -7298,14 +7234,6 @@
|
|
|
7298
7234
|
"write"
|
|
7299
7235
|
]
|
|
7300
7236
|
},
|
|
7301
|
-
"organization_custom_roles": {
|
|
7302
|
-
"type": "string",
|
|
7303
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
7304
|
-
"enum": [
|
|
7305
|
-
"read",
|
|
7306
|
-
"write"
|
|
7307
|
-
]
|
|
7308
|
-
},
|
|
7309
7237
|
"deployments": {
|
|
7310
7238
|
"type": "string",
|
|
7311
7239
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -7952,14 +7880,6 @@
|
|
|
7952
7880
|
"write"
|
|
7953
7881
|
]
|
|
7954
7882
|
},
|
|
7955
|
-
"organization_custom_roles": {
|
|
7956
|
-
"type": "string",
|
|
7957
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
7958
|
-
"enum": [
|
|
7959
|
-
"read",
|
|
7960
|
-
"write"
|
|
7961
|
-
]
|
|
7962
|
-
},
|
|
7963
7883
|
"deployments": {
|
|
7964
7884
|
"type": "string",
|
|
7965
7885
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8443,14 +8363,6 @@
|
|
|
8443
8363
|
"write"
|
|
8444
8364
|
]
|
|
8445
8365
|
},
|
|
8446
|
-
"organization_custom_roles": {
|
|
8447
|
-
"type": "string",
|
|
8448
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8449
|
-
"enum": [
|
|
8450
|
-
"read",
|
|
8451
|
-
"write"
|
|
8452
|
-
]
|
|
8453
|
-
},
|
|
8454
8366
|
"deployments": {
|
|
8455
8367
|
"type": "string",
|
|
8456
8368
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9373,14 +9285,6 @@
|
|
|
9373
9285
|
"write"
|
|
9374
9286
|
]
|
|
9375
9287
|
},
|
|
9376
|
-
"organization_custom_roles": {
|
|
9377
|
-
"type": "string",
|
|
9378
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9379
|
-
"enum": [
|
|
9380
|
-
"read",
|
|
9381
|
-
"write"
|
|
9382
|
-
]
|
|
9383
|
-
},
|
|
9384
9288
|
"deployments": {
|
|
9385
9289
|
"type": "string",
|
|
9386
9290
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10155,14 +10059,6 @@
|
|
|
10155
10059
|
"write"
|
|
10156
10060
|
]
|
|
10157
10061
|
},
|
|
10158
|
-
"organization_custom_roles": {
|
|
10159
|
-
"type": "string",
|
|
10160
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10161
|
-
"enum": [
|
|
10162
|
-
"read",
|
|
10163
|
-
"write"
|
|
10164
|
-
]
|
|
10165
|
-
},
|
|
10166
10062
|
"deployments": {
|
|
10167
10063
|
"type": "string",
|
|
10168
10064
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10976,14 +10872,6 @@
|
|
|
10976
10872
|
"write"
|
|
10977
10873
|
]
|
|
10978
10874
|
},
|
|
10979
|
-
"organization_custom_roles": {
|
|
10980
|
-
"type": "string",
|
|
10981
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10982
|
-
"enum": [
|
|
10983
|
-
"read",
|
|
10984
|
-
"write"
|
|
10985
|
-
]
|
|
10986
|
-
},
|
|
10987
10875
|
"deployments": {
|
|
10988
10876
|
"type": "string",
|
|
10989
10877
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -11851,14 +11739,6 @@
|
|
|
11851
11739
|
"write"
|
|
11852
11740
|
]
|
|
11853
11741
|
},
|
|
11854
|
-
"organization_custom_roles": {
|
|
11855
|
-
"type": "string",
|
|
11856
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
11857
|
-
"enum": [
|
|
11858
|
-
"read",
|
|
11859
|
-
"write"
|
|
11860
|
-
]
|
|
11861
|
-
},
|
|
11862
11742
|
"deployments": {
|
|
11863
11743
|
"type": "string",
|
|
11864
11744
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -12795,14 +12675,6 @@
|
|
|
12795
12675
|
"write"
|
|
12796
12676
|
]
|
|
12797
12677
|
},
|
|
12798
|
-
"organization_custom_roles": {
|
|
12799
|
-
"type": "string",
|
|
12800
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
12801
|
-
"enum": [
|
|
12802
|
-
"read",
|
|
12803
|
-
"write"
|
|
12804
|
-
]
|
|
12805
|
-
},
|
|
12806
12678
|
"deployments": {
|
|
12807
12679
|
"type": "string",
|
|
12808
12680
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -13483,14 +13355,6 @@
|
|
|
13483
13355
|
"write"
|
|
13484
13356
|
]
|
|
13485
13357
|
},
|
|
13486
|
-
"organization_custom_roles": {
|
|
13487
|
-
"type": "string",
|
|
13488
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13489
|
-
"enum": [
|
|
13490
|
-
"read",
|
|
13491
|
-
"write"
|
|
13492
|
-
]
|
|
13493
|
-
},
|
|
13494
13358
|
"deployments": {
|
|
13495
13359
|
"type": "string",
|
|
13496
13360
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14405,14 +14269,6 @@
|
|
|
14405
14269
|
"write"
|
|
14406
14270
|
]
|
|
14407
14271
|
},
|
|
14408
|
-
"organization_custom_roles": {
|
|
14409
|
-
"type": "string",
|
|
14410
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14411
|
-
"enum": [
|
|
14412
|
-
"read",
|
|
14413
|
-
"write"
|
|
14414
|
-
]
|
|
14415
|
-
},
|
|
14416
14272
|
"deployments": {
|
|
14417
14273
|
"type": "string",
|
|
14418
14274
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15093,14 +14949,6 @@
|
|
|
15093
14949
|
"write"
|
|
15094
14950
|
]
|
|
15095
14951
|
},
|
|
15096
|
-
"organization_custom_roles": {
|
|
15097
|
-
"type": "string",
|
|
15098
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15099
|
-
"enum": [
|
|
15100
|
-
"read",
|
|
15101
|
-
"write"
|
|
15102
|
-
]
|
|
15103
|
-
},
|
|
15104
14952
|
"deployments": {
|
|
15105
14953
|
"type": "string",
|
|
15106
14954
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15893,14 +15741,6 @@
|
|
|
15893
15741
|
"write"
|
|
15894
15742
|
]
|
|
15895
15743
|
},
|
|
15896
|
-
"organization_custom_roles": {
|
|
15897
|
-
"type": "string",
|
|
15898
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15899
|
-
"enum": [
|
|
15900
|
-
"read",
|
|
15901
|
-
"write"
|
|
15902
|
-
]
|
|
15903
|
-
},
|
|
15904
15744
|
"deployments": {
|
|
15905
15745
|
"type": "string",
|
|
15906
15746
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16720,14 +16560,6 @@
|
|
|
16720
16560
|
"write"
|
|
16721
16561
|
]
|
|
16722
16562
|
},
|
|
16723
|
-
"organization_custom_roles": {
|
|
16724
|
-
"type": "string",
|
|
16725
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16726
|
-
"enum": [
|
|
16727
|
-
"read",
|
|
16728
|
-
"write"
|
|
16729
|
-
]
|
|
16730
|
-
},
|
|
16731
16563
|
"deployments": {
|
|
16732
16564
|
"type": "string",
|
|
16733
16565
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19459,14 +19291,6 @@
|
|
|
19459
19291
|
"write"
|
|
19460
19292
|
]
|
|
19461
19293
|
},
|
|
19462
|
-
"organization_custom_roles": {
|
|
19463
|
-
"type": "string",
|
|
19464
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19465
|
-
"enum": [
|
|
19466
|
-
"read",
|
|
19467
|
-
"write"
|
|
19468
|
-
]
|
|
19469
|
-
},
|
|
19470
19294
|
"deployments": {
|
|
19471
19295
|
"type": "string",
|
|
19472
19296
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20284,14 +20108,6 @@
|
|
|
20284
20108
|
"write"
|
|
20285
20109
|
]
|
|
20286
20110
|
},
|
|
20287
|
-
"organization_custom_roles": {
|
|
20288
|
-
"type": "string",
|
|
20289
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20290
|
-
"enum": [
|
|
20291
|
-
"read",
|
|
20292
|
-
"write"
|
|
20293
|
-
]
|
|
20294
|
-
},
|
|
20295
20111
|
"deployments": {
|
|
20296
20112
|
"type": "string",
|
|
20297
20113
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21054,8 +20870,8 @@
|
|
|
21054
20870
|
"example": "2017-08-17T12:37:15Z"
|
|
21055
20871
|
},
|
|
21056
20872
|
"organization": {
|
|
21057
|
-
"title": "Organization
|
|
21058
|
-
"description": "Organization
|
|
20873
|
+
"title": "Team Organization",
|
|
20874
|
+
"description": "Team Organization",
|
|
21059
20875
|
"type": "object",
|
|
21060
20876
|
"properties": {
|
|
21061
20877
|
"login": {
|
|
@@ -21691,8 +21507,8 @@
|
|
|
21691
21507
|
"example": "2017-08-17T12:37:15Z"
|
|
21692
21508
|
},
|
|
21693
21509
|
"organization": {
|
|
21694
|
-
"title": "Organization
|
|
21695
|
-
"description": "Organization
|
|
21510
|
+
"title": "Team Organization",
|
|
21511
|
+
"description": "Team Organization",
|
|
21696
21512
|
"type": "object",
|
|
21697
21513
|
"properties": {
|
|
21698
21514
|
"login": {
|
|
@@ -22309,8 +22125,8 @@
|
|
|
22309
22125
|
"example": "2017-08-17T12:37:15Z"
|
|
22310
22126
|
},
|
|
22311
22127
|
"organization": {
|
|
22312
|
-
"title": "Organization
|
|
22313
|
-
"description": "Organization
|
|
22128
|
+
"title": "Team Organization",
|
|
22129
|
+
"description": "Team Organization",
|
|
22314
22130
|
"type": "object",
|
|
22315
22131
|
"properties": {
|
|
22316
22132
|
"login": {
|
|
@@ -25433,6 +25249,111 @@
|
|
|
25433
25249
|
"protected",
|
|
25434
25250
|
"protection_url"
|
|
25435
25251
|
]
|
|
25252
|
+
},
|
|
25253
|
+
"examples": {
|
|
25254
|
+
"default": {
|
|
25255
|
+
"value": {
|
|
25256
|
+
"name": "main",
|
|
25257
|
+
"commit": {
|
|
25258
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
25259
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
25260
|
+
"commit": {
|
|
25261
|
+
"author": {
|
|
25262
|
+
"name": "The Octocat",
|
|
25263
|
+
"email": "octocat@nowhere.com",
|
|
25264
|
+
"date": "2012-03-06T23:06:50Z"
|
|
25265
|
+
},
|
|
25266
|
+
"committer": {
|
|
25267
|
+
"name": "The Octocat",
|
|
25268
|
+
"email": "octocat@nowhere.com",
|
|
25269
|
+
"date": "2012-03-06T23:06:50Z"
|
|
25270
|
+
},
|
|
25271
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
25272
|
+
"tree": {
|
|
25273
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
25274
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
25275
|
+
},
|
|
25276
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
25277
|
+
"comment_count": 77,
|
|
25278
|
+
"verification": {
|
|
25279
|
+
"verified": false,
|
|
25280
|
+
"reason": "unsigned",
|
|
25281
|
+
"signature": null,
|
|
25282
|
+
"payload": null
|
|
25283
|
+
}
|
|
25284
|
+
},
|
|
25285
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
25286
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
25287
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
25288
|
+
"author": {
|
|
25289
|
+
"login": "octocat",
|
|
25290
|
+
"id": 583231,
|
|
25291
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
25292
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
25293
|
+
"gravatar_id": "",
|
|
25294
|
+
"url": "https://api.github.com/users/octocat",
|
|
25295
|
+
"html_url": "https://github.com/octocat",
|
|
25296
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
25297
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
25298
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
25299
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
25300
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
25301
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
25302
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
25303
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
25304
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
25305
|
+
"type": "User",
|
|
25306
|
+
"site_admin": false
|
|
25307
|
+
},
|
|
25308
|
+
"committer": {
|
|
25309
|
+
"login": "octocat",
|
|
25310
|
+
"id": 583231,
|
|
25311
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
25312
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
25313
|
+
"gravatar_id": "",
|
|
25314
|
+
"url": "https://api.github.com/users/octocat",
|
|
25315
|
+
"html_url": "https://github.com/octocat",
|
|
25316
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
25317
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
25318
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
25319
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
25320
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
25321
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
25322
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
25323
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
25324
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
25325
|
+
"type": "User",
|
|
25326
|
+
"site_admin": false
|
|
25327
|
+
},
|
|
25328
|
+
"parents": [
|
|
25329
|
+
{
|
|
25330
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
25331
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
25332
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
25333
|
+
},
|
|
25334
|
+
{
|
|
25335
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
25336
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
25337
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
25338
|
+
}
|
|
25339
|
+
]
|
|
25340
|
+
},
|
|
25341
|
+
"_links": {
|
|
25342
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
25343
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
25344
|
+
},
|
|
25345
|
+
"protected": false,
|
|
25346
|
+
"protection": {
|
|
25347
|
+
"enabled": false,
|
|
25348
|
+
"required_status_checks": {
|
|
25349
|
+
"enforcement_level": "off",
|
|
25350
|
+
"contexts": [],
|
|
25351
|
+
"checks": []
|
|
25352
|
+
}
|
|
25353
|
+
},
|
|
25354
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
25355
|
+
}
|
|
25356
|
+
}
|
|
25436
25357
|
}
|
|
25437
25358
|
}
|
|
25438
25359
|
}
|
|
@@ -28065,6 +27986,73 @@
|
|
|
28065
27986
|
"required": [
|
|
28066
27987
|
"url"
|
|
28067
27988
|
]
|
|
27989
|
+
},
|
|
27990
|
+
"examples": {
|
|
27991
|
+
"default": {
|
|
27992
|
+
"value": {
|
|
27993
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
27994
|
+
"required_status_checks": {
|
|
27995
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
27996
|
+
"strict": true,
|
|
27997
|
+
"contexts": [
|
|
27998
|
+
"continuous-integration/travis-ci"
|
|
27999
|
+
],
|
|
28000
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
28001
|
+
"checks": [
|
|
28002
|
+
{
|
|
28003
|
+
"context": "continuous-integration/travis-ci",
|
|
28004
|
+
"app_id": null
|
|
28005
|
+
}
|
|
28006
|
+
]
|
|
28007
|
+
},
|
|
28008
|
+
"restrictions": {
|
|
28009
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
28010
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
28011
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
28012
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
28013
|
+
"users": [],
|
|
28014
|
+
"teams": [],
|
|
28015
|
+
"apps": []
|
|
28016
|
+
},
|
|
28017
|
+
"required_pull_request_reviews": {
|
|
28018
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
28019
|
+
"dismiss_stale_reviews": true,
|
|
28020
|
+
"require_code_owner_reviews": true,
|
|
28021
|
+
"required_approving_review_count": 2,
|
|
28022
|
+
"dismissal_restrictions": {
|
|
28023
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
28024
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
28025
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
28026
|
+
"users": [],
|
|
28027
|
+
"teams": [],
|
|
28028
|
+
"apps": []
|
|
28029
|
+
}
|
|
28030
|
+
},
|
|
28031
|
+
"required_signatures": {
|
|
28032
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
28033
|
+
"enabled": false
|
|
28034
|
+
},
|
|
28035
|
+
"enforce_admins": {
|
|
28036
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
28037
|
+
"enabled": true
|
|
28038
|
+
},
|
|
28039
|
+
"required_linear_history": {
|
|
28040
|
+
"enabled": true
|
|
28041
|
+
},
|
|
28042
|
+
"allow_force_pushes": {
|
|
28043
|
+
"enabled": true
|
|
28044
|
+
},
|
|
28045
|
+
"allow_deletions": {
|
|
28046
|
+
"enabled": true
|
|
28047
|
+
},
|
|
28048
|
+
"block_creations": {
|
|
28049
|
+
"enabled": true
|
|
28050
|
+
},
|
|
28051
|
+
"required_conversation_resolution": {
|
|
28052
|
+
"enabled": true
|
|
28053
|
+
}
|
|
28054
|
+
}
|
|
28055
|
+
}
|
|
28068
28056
|
}
|
|
28069
28057
|
}
|
|
28070
28058
|
}
|
|
@@ -34640,14 +34628,6 @@
|
|
|
34640
34628
|
"write"
|
|
34641
34629
|
]
|
|
34642
34630
|
},
|
|
34643
|
-
"organization_custom_roles": {
|
|
34644
|
-
"type": "string",
|
|
34645
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
34646
|
-
"enum": [
|
|
34647
|
-
"read",
|
|
34648
|
-
"write"
|
|
34649
|
-
]
|
|
34650
|
-
},
|
|
34651
34631
|
"deployments": {
|
|
34652
34632
|
"type": "string",
|
|
34653
34633
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -35373,8 +35353,8 @@
|
|
|
35373
35353
|
"example": "2017-08-17T12:37:15Z"
|
|
35374
35354
|
},
|
|
35375
35355
|
"organization": {
|
|
35376
|
-
"title": "Organization
|
|
35377
|
-
"description": "Organization
|
|
35356
|
+
"title": "Team Organization",
|
|
35357
|
+
"description": "Team Organization",
|
|
35378
35358
|
"type": "object",
|
|
35379
35359
|
"properties": {
|
|
35380
35360
|
"login": {
|
|
@@ -35988,8 +35968,8 @@
|
|
|
35988
35968
|
"example": "2017-08-17T12:37:15Z"
|
|
35989
35969
|
},
|
|
35990
35970
|
"organization": {
|
|
35991
|
-
"title": "Organization
|
|
35992
|
-
"description": "Organization
|
|
35971
|
+
"title": "Team Organization",
|
|
35972
|
+
"description": "Team Organization",
|
|
35993
35973
|
"type": "object",
|
|
35994
35974
|
"properties": {
|
|
35995
35975
|
"login": {
|
|
@@ -36481,8 +36461,8 @@
|
|
|
36481
36461
|
"example": "2017-08-17T12:37:15Z"
|
|
36482
36462
|
},
|
|
36483
36463
|
"organization": {
|
|
36484
|
-
"title": "Organization
|
|
36485
|
-
"description": "Organization
|
|
36464
|
+
"title": "Team Organization",
|
|
36465
|
+
"description": "Team Organization",
|
|
36486
36466
|
"type": "object",
|
|
36487
36467
|
"properties": {
|
|
36488
36468
|
"login": {
|
|
@@ -37273,14 +37253,6 @@
|
|
|
37273
37253
|
"write"
|
|
37274
37254
|
]
|
|
37275
37255
|
},
|
|
37276
|
-
"organization_custom_roles": {
|
|
37277
|
-
"type": "string",
|
|
37278
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
37279
|
-
"enum": [
|
|
37280
|
-
"read",
|
|
37281
|
-
"write"
|
|
37282
|
-
]
|
|
37283
|
-
},
|
|
37284
37256
|
"deployments": {
|
|
37285
37257
|
"type": "string",
|
|
37286
37258
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -38086,8 +38058,8 @@
|
|
|
38086
38058
|
"example": "2017-08-17T12:37:15Z"
|
|
38087
38059
|
},
|
|
38088
38060
|
"organization": {
|
|
38089
|
-
"title": "Organization
|
|
38090
|
-
"description": "Organization
|
|
38061
|
+
"title": "Team Organization",
|
|
38062
|
+
"description": "Team Organization",
|
|
38091
38063
|
"type": "object",
|
|
38092
38064
|
"properties": {
|
|
38093
38065
|
"login": {
|
|
@@ -38799,14 +38771,6 @@
|
|
|
38799
38771
|
"write"
|
|
38800
38772
|
]
|
|
38801
38773
|
},
|
|
38802
|
-
"organization_custom_roles": {
|
|
38803
|
-
"type": "string",
|
|
38804
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
38805
|
-
"enum": [
|
|
38806
|
-
"read",
|
|
38807
|
-
"write"
|
|
38808
|
-
]
|
|
38809
|
-
},
|
|
38810
38774
|
"deployments": {
|
|
38811
38775
|
"type": "string",
|
|
38812
38776
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|