@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": {
|
|
@@ -4243,14 +4243,6 @@
|
|
|
4243
4243
|
"write"
|
|
4244
4244
|
]
|
|
4245
4245
|
},
|
|
4246
|
-
"organization_custom_roles": {
|
|
4247
|
-
"type": "string",
|
|
4248
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4249
|
-
"enum": [
|
|
4250
|
-
"read",
|
|
4251
|
-
"write"
|
|
4252
|
-
]
|
|
4253
|
-
},
|
|
4254
4246
|
"deployments": {
|
|
4255
4247
|
"type": "string",
|
|
4256
4248
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5363,14 +5355,6 @@
|
|
|
5363
5355
|
"write"
|
|
5364
5356
|
]
|
|
5365
5357
|
},
|
|
5366
|
-
"organization_custom_roles": {
|
|
5367
|
-
"type": "string",
|
|
5368
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5369
|
-
"enum": [
|
|
5370
|
-
"read",
|
|
5371
|
-
"write"
|
|
5372
|
-
]
|
|
5373
|
-
},
|
|
5374
5358
|
"deployments": {
|
|
5375
5359
|
"type": "string",
|
|
5376
5360
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -6035,14 +6019,6 @@
|
|
|
6035
6019
|
"write"
|
|
6036
6020
|
]
|
|
6037
6021
|
},
|
|
6038
|
-
"organization_custom_roles": {
|
|
6039
|
-
"type": "string",
|
|
6040
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
6041
|
-
"enum": [
|
|
6042
|
-
"read",
|
|
6043
|
-
"write"
|
|
6044
|
-
]
|
|
6045
|
-
},
|
|
6046
6022
|
"deployments": {
|
|
6047
6023
|
"type": "string",
|
|
6048
6024
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8624,14 +8600,6 @@
|
|
|
8624
8600
|
"write"
|
|
8625
8601
|
]
|
|
8626
8602
|
},
|
|
8627
|
-
"organization_custom_roles": {
|
|
8628
|
-
"type": "string",
|
|
8629
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8630
|
-
"enum": [
|
|
8631
|
-
"read",
|
|
8632
|
-
"write"
|
|
8633
|
-
]
|
|
8634
|
-
},
|
|
8635
8603
|
"deployments": {
|
|
8636
8604
|
"type": "string",
|
|
8637
8605
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9111,7 +9079,13 @@
|
|
|
9111
9079
|
"category": "apps",
|
|
9112
9080
|
"subcategory": null
|
|
9113
9081
|
},
|
|
9114
|
-
"x-octokit": {
|
|
9082
|
+
"x-octokit": {
|
|
9083
|
+
"diff": {
|
|
9084
|
+
"api.github.com": {
|
|
9085
|
+
"type": "changed"
|
|
9086
|
+
}
|
|
9087
|
+
}
|
|
9088
|
+
}
|
|
9115
9089
|
}
|
|
9116
9090
|
},
|
|
9117
9091
|
"/app/installations/{installation_id}": {
|
|
@@ -9421,14 +9395,6 @@
|
|
|
9421
9395
|
"write"
|
|
9422
9396
|
]
|
|
9423
9397
|
},
|
|
9424
|
-
"organization_custom_roles": {
|
|
9425
|
-
"type": "string",
|
|
9426
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9427
|
-
"enum": [
|
|
9428
|
-
"read",
|
|
9429
|
-
"write"
|
|
9430
|
-
]
|
|
9431
|
-
},
|
|
9432
9398
|
"deployments": {
|
|
9433
9399
|
"type": "string",
|
|
9434
9400
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9923,7 +9889,13 @@
|
|
|
9923
9889
|
"category": "apps",
|
|
9924
9890
|
"subcategory": null
|
|
9925
9891
|
},
|
|
9926
|
-
"x-octokit": {
|
|
9892
|
+
"x-octokit": {
|
|
9893
|
+
"diff": {
|
|
9894
|
+
"api.github.com": {
|
|
9895
|
+
"type": "changed"
|
|
9896
|
+
}
|
|
9897
|
+
}
|
|
9898
|
+
}
|
|
9927
9899
|
},
|
|
9928
9900
|
"delete": {
|
|
9929
9901
|
"summary": "Delete an installation for the authenticated app",
|
|
@@ -10082,14 +10054,6 @@
|
|
|
10082
10054
|
"write"
|
|
10083
10055
|
]
|
|
10084
10056
|
},
|
|
10085
|
-
"organization_custom_roles": {
|
|
10086
|
-
"type": "string",
|
|
10087
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10088
|
-
"enum": [
|
|
10089
|
-
"read",
|
|
10090
|
-
"write"
|
|
10091
|
-
]
|
|
10092
|
-
},
|
|
10093
10057
|
"deployments": {
|
|
10094
10058
|
"type": "string",
|
|
10095
10059
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10375,14 +10339,6 @@
|
|
|
10375
10339
|
"write"
|
|
10376
10340
|
]
|
|
10377
10341
|
},
|
|
10378
|
-
"organization_custom_roles": {
|
|
10379
|
-
"type": "string",
|
|
10380
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10381
|
-
"enum": [
|
|
10382
|
-
"read",
|
|
10383
|
-
"write"
|
|
10384
|
-
]
|
|
10385
|
-
},
|
|
10386
10342
|
"deployments": {
|
|
10387
10343
|
"type": "string",
|
|
10388
10344
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -12117,7 +12073,13 @@
|
|
|
12117
12073
|
"category": "apps",
|
|
12118
12074
|
"subcategory": null
|
|
12119
12075
|
},
|
|
12120
|
-
"x-octokit": {
|
|
12076
|
+
"x-octokit": {
|
|
12077
|
+
"diff": {
|
|
12078
|
+
"api.github.com": {
|
|
12079
|
+
"type": "changed"
|
|
12080
|
+
}
|
|
12081
|
+
}
|
|
12082
|
+
}
|
|
12121
12083
|
}
|
|
12122
12084
|
},
|
|
12123
12085
|
"/app/installations/{installation_id}/suspended": {
|
|
@@ -13451,14 +13413,6 @@
|
|
|
13451
13413
|
"write"
|
|
13452
13414
|
]
|
|
13453
13415
|
},
|
|
13454
|
-
"organization_custom_roles": {
|
|
13455
|
-
"type": "string",
|
|
13456
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13457
|
-
"enum": [
|
|
13458
|
-
"read",
|
|
13459
|
-
"write"
|
|
13460
|
-
]
|
|
13461
|
-
},
|
|
13462
13416
|
"deployments": {
|
|
13463
13417
|
"type": "string",
|
|
13464
13418
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14009,7 +13963,13 @@
|
|
|
14009
13963
|
"category": "apps",
|
|
14010
13964
|
"subcategory": "oauth-applications"
|
|
14011
13965
|
},
|
|
14012
|
-
"x-octokit": {
|
|
13966
|
+
"x-octokit": {
|
|
13967
|
+
"diff": {
|
|
13968
|
+
"api.github.com": {
|
|
13969
|
+
"type": "changed"
|
|
13970
|
+
}
|
|
13971
|
+
}
|
|
13972
|
+
}
|
|
14013
13973
|
},
|
|
14014
13974
|
"patch": {
|
|
14015
13975
|
"summary": "Reset a token",
|
|
@@ -14302,14 +14262,6 @@
|
|
|
14302
14262
|
"write"
|
|
14303
14263
|
]
|
|
14304
14264
|
},
|
|
14305
|
-
"organization_custom_roles": {
|
|
14306
|
-
"type": "string",
|
|
14307
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14308
|
-
"enum": [
|
|
14309
|
-
"read",
|
|
14310
|
-
"write"
|
|
14311
|
-
]
|
|
14312
|
-
},
|
|
14313
14265
|
"deployments": {
|
|
14314
14266
|
"type": "string",
|
|
14315
14267
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14834,7 +14786,13 @@
|
|
|
14834
14786
|
"category": "apps",
|
|
14835
14787
|
"subcategory": "oauth-applications"
|
|
14836
14788
|
},
|
|
14837
|
-
"x-octokit": {
|
|
14789
|
+
"x-octokit": {
|
|
14790
|
+
"diff": {
|
|
14791
|
+
"api.github.com": {
|
|
14792
|
+
"type": "changed"
|
|
14793
|
+
}
|
|
14794
|
+
}
|
|
14795
|
+
}
|
|
14838
14796
|
},
|
|
14839
14797
|
"delete": {
|
|
14840
14798
|
"summary": "Delete an app token",
|
|
@@ -15077,14 +15035,6 @@
|
|
|
15077
15035
|
"write"
|
|
15078
15036
|
]
|
|
15079
15037
|
},
|
|
15080
|
-
"organization_custom_roles": {
|
|
15081
|
-
"type": "string",
|
|
15082
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15083
|
-
"enum": [
|
|
15084
|
-
"read",
|
|
15085
|
-
"write"
|
|
15086
|
-
]
|
|
15087
|
-
},
|
|
15088
15038
|
"deployments": {
|
|
15089
15039
|
"type": "string",
|
|
15090
15040
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15560,14 +15510,6 @@
|
|
|
15560
15510
|
"write"
|
|
15561
15511
|
]
|
|
15562
15512
|
},
|
|
15563
|
-
"organization_custom_roles": {
|
|
15564
|
-
"type": "string",
|
|
15565
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15566
|
-
"enum": [
|
|
15567
|
-
"read",
|
|
15568
|
-
"write"
|
|
15569
|
-
]
|
|
15570
|
-
},
|
|
15571
15513
|
"deployments": {
|
|
15572
15514
|
"type": "string",
|
|
15573
15515
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16199,7 +16141,13 @@
|
|
|
16199
16141
|
"category": "apps",
|
|
16200
16142
|
"subcategory": "oauth-applications"
|
|
16201
16143
|
},
|
|
16202
|
-
"x-octokit": {
|
|
16144
|
+
"x-octokit": {
|
|
16145
|
+
"diff": {
|
|
16146
|
+
"api.github.com": {
|
|
16147
|
+
"type": "changed"
|
|
16148
|
+
}
|
|
16149
|
+
}
|
|
16150
|
+
}
|
|
16203
16151
|
}
|
|
16204
16152
|
},
|
|
16205
16153
|
"/apps/{app_slug}": {
|
|
@@ -16865,14 +16813,6 @@
|
|
|
16865
16813
|
"write"
|
|
16866
16814
|
]
|
|
16867
16815
|
},
|
|
16868
|
-
"organization_custom_roles": {
|
|
16869
|
-
"type": "string",
|
|
16870
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16871
|
-
"enum": [
|
|
16872
|
-
"read",
|
|
16873
|
-
"write"
|
|
16874
|
-
]
|
|
16875
|
-
},
|
|
16876
16816
|
"deployments": {
|
|
16877
16817
|
"type": "string",
|
|
16878
16818
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17732,14 +17672,6 @@
|
|
|
17732
17672
|
"write"
|
|
17733
17673
|
]
|
|
17734
17674
|
},
|
|
17735
|
-
"organization_custom_roles": {
|
|
17736
|
-
"type": "string",
|
|
17737
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
17738
|
-
"enum": [
|
|
17739
|
-
"read",
|
|
17740
|
-
"write"
|
|
17741
|
-
]
|
|
17742
|
-
},
|
|
17743
17675
|
"deployments": {
|
|
17744
17676
|
"type": "string",
|
|
17745
17677
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18668,14 +18600,6 @@
|
|
|
18668
18600
|
"write"
|
|
18669
18601
|
]
|
|
18670
18602
|
},
|
|
18671
|
-
"organization_custom_roles": {
|
|
18672
|
-
"type": "string",
|
|
18673
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
18674
|
-
"enum": [
|
|
18675
|
-
"read",
|
|
18676
|
-
"write"
|
|
18677
|
-
]
|
|
18678
|
-
},
|
|
18679
18603
|
"deployments": {
|
|
18680
18604
|
"type": "string",
|
|
18681
18605
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19348,14 +19272,6 @@
|
|
|
19348
19272
|
"write"
|
|
19349
19273
|
]
|
|
19350
19274
|
},
|
|
19351
|
-
"organization_custom_roles": {
|
|
19352
|
-
"type": "string",
|
|
19353
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19354
|
-
"enum": [
|
|
19355
|
-
"read",
|
|
19356
|
-
"write"
|
|
19357
|
-
]
|
|
19358
|
-
},
|
|
19359
19275
|
"deployments": {
|
|
19360
19276
|
"type": "string",
|
|
19361
19277
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20262,14 +20178,6 @@
|
|
|
20262
20178
|
"write"
|
|
20263
20179
|
]
|
|
20264
20180
|
},
|
|
20265
|
-
"organization_custom_roles": {
|
|
20266
|
-
"type": "string",
|
|
20267
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20268
|
-
"enum": [
|
|
20269
|
-
"read",
|
|
20270
|
-
"write"
|
|
20271
|
-
]
|
|
20272
|
-
},
|
|
20273
20181
|
"deployments": {
|
|
20274
20182
|
"type": "string",
|
|
20275
20183
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20942,14 +20850,6 @@
|
|
|
20942
20850
|
"write"
|
|
20943
20851
|
]
|
|
20944
20852
|
},
|
|
20945
|
-
"organization_custom_roles": {
|
|
20946
|
-
"type": "string",
|
|
20947
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20948
|
-
"enum": [
|
|
20949
|
-
"read",
|
|
20950
|
-
"write"
|
|
20951
|
-
]
|
|
20952
|
-
},
|
|
20953
20853
|
"deployments": {
|
|
20954
20854
|
"type": "string",
|
|
20955
20855
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21734,14 +21634,6 @@
|
|
|
21734
21634
|
"write"
|
|
21735
21635
|
]
|
|
21736
21636
|
},
|
|
21737
|
-
"organization_custom_roles": {
|
|
21738
|
-
"type": "string",
|
|
21739
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
21740
|
-
"enum": [
|
|
21741
|
-
"read",
|
|
21742
|
-
"write"
|
|
21743
|
-
]
|
|
21744
|
-
},
|
|
21745
21637
|
"deployments": {
|
|
21746
21638
|
"type": "string",
|
|
21747
21639
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22553,14 +22445,6 @@
|
|
|
22553
22445
|
"write"
|
|
22554
22446
|
]
|
|
22555
22447
|
},
|
|
22556
|
-
"organization_custom_roles": {
|
|
22557
|
-
"type": "string",
|
|
22558
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
22559
|
-
"enum": [
|
|
22560
|
-
"read",
|
|
22561
|
-
"write"
|
|
22562
|
-
]
|
|
22563
|
-
},
|
|
22564
22448
|
"deployments": {
|
|
22565
22449
|
"type": "string",
|
|
22566
22450
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -61600,7 +61484,7 @@
|
|
|
61600
61484
|
"/organizations/{organization_id}/custom_roles": {
|
|
61601
61485
|
"get": {
|
|
61602
61486
|
"summary": "List custom repository roles in an organization",
|
|
61603
|
-
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
61487
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
61604
61488
|
"tags": [
|
|
61605
61489
|
"orgs"
|
|
61606
61490
|
],
|
|
@@ -85022,14 +84906,6 @@
|
|
|
85022
84906
|
"write"
|
|
85023
84907
|
]
|
|
85024
84908
|
},
|
|
85025
|
-
"organization_custom_roles": {
|
|
85026
|
-
"type": "string",
|
|
85027
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
85028
|
-
"enum": [
|
|
85029
|
-
"read",
|
|
85030
|
-
"write"
|
|
85031
|
-
]
|
|
85032
|
-
},
|
|
85033
84909
|
"deployments": {
|
|
85034
84910
|
"type": "string",
|
|
85035
84911
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -85498,7 +85374,13 @@
|
|
|
85498
85374
|
"category": "apps",
|
|
85499
85375
|
"subcategory": null
|
|
85500
85376
|
},
|
|
85501
|
-
"x-octokit": {
|
|
85377
|
+
"x-octokit": {
|
|
85378
|
+
"diff": {
|
|
85379
|
+
"api.github.com": {
|
|
85380
|
+
"type": "changed"
|
|
85381
|
+
}
|
|
85382
|
+
}
|
|
85383
|
+
}
|
|
85502
85384
|
}
|
|
85503
85385
|
},
|
|
85504
85386
|
"/orgs/{org}/installations": {
|
|
@@ -85833,14 +85715,6 @@
|
|
|
85833
85715
|
"write"
|
|
85834
85716
|
]
|
|
85835
85717
|
},
|
|
85836
|
-
"organization_custom_roles": {
|
|
85837
|
-
"type": "string",
|
|
85838
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
85839
|
-
"enum": [
|
|
85840
|
-
"read",
|
|
85841
|
-
"write"
|
|
85842
|
-
]
|
|
85843
|
-
},
|
|
85844
85718
|
"deployments": {
|
|
85845
85719
|
"type": "string",
|
|
85846
85720
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -86326,7 +86200,13 @@
|
|
|
86326
86200
|
"category": "orgs",
|
|
86327
86201
|
"subcategory": null
|
|
86328
86202
|
},
|
|
86329
|
-
"x-octokit": {
|
|
86203
|
+
"x-octokit": {
|
|
86204
|
+
"diff": {
|
|
86205
|
+
"api.github.com": {
|
|
86206
|
+
"type": "changed"
|
|
86207
|
+
}
|
|
86208
|
+
}
|
|
86209
|
+
}
|
|
86330
86210
|
}
|
|
86331
86211
|
},
|
|
86332
86212
|
"/orgs/{org}/issues": {
|
|
@@ -103156,8 +103036,8 @@
|
|
|
103156
103036
|
"example": "2017-08-17T12:37:15Z"
|
|
103157
103037
|
},
|
|
103158
103038
|
"organization": {
|
|
103159
|
-
"title": "Organization
|
|
103160
|
-
"description": "Organization
|
|
103039
|
+
"title": "Team Organization",
|
|
103040
|
+
"description": "Team Organization",
|
|
103161
103041
|
"type": "object",
|
|
103162
103042
|
"properties": {
|
|
103163
103043
|
"login": {
|
|
@@ -103802,8 +103682,8 @@
|
|
|
103802
103682
|
"example": "2017-08-17T12:37:15Z"
|
|
103803
103683
|
},
|
|
103804
103684
|
"organization": {
|
|
103805
|
-
"title": "Organization
|
|
103806
|
-
"description": "Organization
|
|
103685
|
+
"title": "Team Organization",
|
|
103686
|
+
"description": "Team Organization",
|
|
103807
103687
|
"type": "object",
|
|
103808
103688
|
"properties": {
|
|
103809
103689
|
"login": {
|
|
@@ -104423,8 +104303,8 @@
|
|
|
104423
104303
|
"example": "2017-08-17T12:37:15Z"
|
|
104424
104304
|
},
|
|
104425
104305
|
"organization": {
|
|
104426
|
-
"title": "Organization
|
|
104427
|
-
"description": "Organization
|
|
104306
|
+
"title": "Team Organization",
|
|
104307
|
+
"description": "Team Organization",
|
|
104428
104308
|
"type": "object",
|
|
104429
104309
|
"properties": {
|
|
104430
104310
|
"login": {
|
|
@@ -164658,6 +164538,111 @@
|
|
|
164658
164538
|
"protected",
|
|
164659
164539
|
"protection_url"
|
|
164660
164540
|
]
|
|
164541
|
+
},
|
|
164542
|
+
"examples": {
|
|
164543
|
+
"default": {
|
|
164544
|
+
"value": {
|
|
164545
|
+
"name": "main",
|
|
164546
|
+
"commit": {
|
|
164547
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164548
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
164549
|
+
"commit": {
|
|
164550
|
+
"author": {
|
|
164551
|
+
"name": "The Octocat",
|
|
164552
|
+
"email": "octocat@nowhere.com",
|
|
164553
|
+
"date": "2012-03-06T23:06:50Z"
|
|
164554
|
+
},
|
|
164555
|
+
"committer": {
|
|
164556
|
+
"name": "The Octocat",
|
|
164557
|
+
"email": "octocat@nowhere.com",
|
|
164558
|
+
"date": "2012-03-06T23:06:50Z"
|
|
164559
|
+
},
|
|
164560
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
164561
|
+
"tree": {
|
|
164562
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
164563
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
164564
|
+
},
|
|
164565
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164566
|
+
"comment_count": 77,
|
|
164567
|
+
"verification": {
|
|
164568
|
+
"verified": false,
|
|
164569
|
+
"reason": "unsigned",
|
|
164570
|
+
"signature": null,
|
|
164571
|
+
"payload": null
|
|
164572
|
+
}
|
|
164573
|
+
},
|
|
164574
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164575
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164576
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
164577
|
+
"author": {
|
|
164578
|
+
"login": "octocat",
|
|
164579
|
+
"id": 583231,
|
|
164580
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
164581
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
164582
|
+
"gravatar_id": "",
|
|
164583
|
+
"url": "https://api.github.com/users/octocat",
|
|
164584
|
+
"html_url": "https://github.com/octocat",
|
|
164585
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
164586
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
164587
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
164588
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
164589
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
164590
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
164591
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
164592
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
164593
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
164594
|
+
"type": "User",
|
|
164595
|
+
"site_admin": false
|
|
164596
|
+
},
|
|
164597
|
+
"committer": {
|
|
164598
|
+
"login": "octocat",
|
|
164599
|
+
"id": 583231,
|
|
164600
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
164601
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
164602
|
+
"gravatar_id": "",
|
|
164603
|
+
"url": "https://api.github.com/users/octocat",
|
|
164604
|
+
"html_url": "https://github.com/octocat",
|
|
164605
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
164606
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
164607
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
164608
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
164609
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
164610
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
164611
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
164612
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
164613
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
164614
|
+
"type": "User",
|
|
164615
|
+
"site_admin": false
|
|
164616
|
+
},
|
|
164617
|
+
"parents": [
|
|
164618
|
+
{
|
|
164619
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
164620
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
164621
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
164622
|
+
},
|
|
164623
|
+
{
|
|
164624
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
164625
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
164626
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
164627
|
+
}
|
|
164628
|
+
]
|
|
164629
|
+
},
|
|
164630
|
+
"_links": {
|
|
164631
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
164632
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
164633
|
+
},
|
|
164634
|
+
"protected": false,
|
|
164635
|
+
"protection": {
|
|
164636
|
+
"enabled": false,
|
|
164637
|
+
"required_status_checks": {
|
|
164638
|
+
"enforcement_level": "off",
|
|
164639
|
+
"contexts": [],
|
|
164640
|
+
"checks": []
|
|
164641
|
+
}
|
|
164642
|
+
},
|
|
164643
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
164644
|
+
}
|
|
164645
|
+
}
|
|
164661
164646
|
}
|
|
164662
164647
|
}
|
|
164663
164648
|
}
|
|
@@ -168431,6 +168416,73 @@
|
|
|
168431
168416
|
"required": [
|
|
168432
168417
|
"url"
|
|
168433
168418
|
]
|
|
168419
|
+
},
|
|
168420
|
+
"examples": {
|
|
168421
|
+
"default": {
|
|
168422
|
+
"value": {
|
|
168423
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
168424
|
+
"required_status_checks": {
|
|
168425
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
168426
|
+
"strict": true,
|
|
168427
|
+
"contexts": [
|
|
168428
|
+
"continuous-integration/travis-ci"
|
|
168429
|
+
],
|
|
168430
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
168431
|
+
"checks": [
|
|
168432
|
+
{
|
|
168433
|
+
"context": "continuous-integration/travis-ci",
|
|
168434
|
+
"app_id": null
|
|
168435
|
+
}
|
|
168436
|
+
]
|
|
168437
|
+
},
|
|
168438
|
+
"restrictions": {
|
|
168439
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
168440
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
168441
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
168442
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
168443
|
+
"users": [],
|
|
168444
|
+
"teams": [],
|
|
168445
|
+
"apps": []
|
|
168446
|
+
},
|
|
168447
|
+
"required_pull_request_reviews": {
|
|
168448
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
168449
|
+
"dismiss_stale_reviews": true,
|
|
168450
|
+
"require_code_owner_reviews": true,
|
|
168451
|
+
"required_approving_review_count": 2,
|
|
168452
|
+
"dismissal_restrictions": {
|
|
168453
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
168454
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
168455
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
168456
|
+
"users": [],
|
|
168457
|
+
"teams": [],
|
|
168458
|
+
"apps": []
|
|
168459
|
+
}
|
|
168460
|
+
},
|
|
168461
|
+
"required_signatures": {
|
|
168462
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
168463
|
+
"enabled": false
|
|
168464
|
+
},
|
|
168465
|
+
"enforce_admins": {
|
|
168466
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
168467
|
+
"enabled": true
|
|
168468
|
+
},
|
|
168469
|
+
"required_linear_history": {
|
|
168470
|
+
"enabled": true
|
|
168471
|
+
},
|
|
168472
|
+
"allow_force_pushes": {
|
|
168473
|
+
"enabled": true
|
|
168474
|
+
},
|
|
168475
|
+
"allow_deletions": {
|
|
168476
|
+
"enabled": true
|
|
168477
|
+
},
|
|
168478
|
+
"block_creations": {
|
|
168479
|
+
"enabled": true
|
|
168480
|
+
},
|
|
168481
|
+
"required_conversation_resolution": {
|
|
168482
|
+
"enabled": true
|
|
168483
|
+
}
|
|
168484
|
+
}
|
|
168485
|
+
}
|
|
168434
168486
|
}
|
|
168435
168487
|
}
|
|
168436
168488
|
}
|
|
@@ -172634,7 +172686,7 @@
|
|
|
172634
172686
|
"properties": {
|
|
172635
172687
|
"contexts": {
|
|
172636
172688
|
"type": "array",
|
|
172637
|
-
"description": "
|
|
172689
|
+
"description": "The name of the status checks",
|
|
172638
172690
|
"items": {
|
|
172639
172691
|
"type": "string"
|
|
172640
172692
|
}
|
|
@@ -172650,6 +172702,17 @@
|
|
|
172650
172702
|
}
|
|
172651
172703
|
}
|
|
172652
172704
|
]
|
|
172705
|
+
},
|
|
172706
|
+
"examples": {
|
|
172707
|
+
"default": {
|
|
172708
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
172709
|
+
"value": {
|
|
172710
|
+
"contexts": [
|
|
172711
|
+
"continuous-integration/travis-ci",
|
|
172712
|
+
"continuous-integration/jenkins"
|
|
172713
|
+
]
|
|
172714
|
+
}
|
|
172715
|
+
}
|
|
172653
172716
|
}
|
|
172654
172717
|
}
|
|
172655
172718
|
}
|
|
@@ -172859,7 +172922,7 @@
|
|
|
172859
172922
|
"properties": {
|
|
172860
172923
|
"contexts": {
|
|
172861
172924
|
"type": "array",
|
|
172862
|
-
"description": "
|
|
172925
|
+
"description": "The name of the status checks",
|
|
172863
172926
|
"items": {
|
|
172864
172927
|
"type": "string"
|
|
172865
172928
|
}
|
|
@@ -172875,6 +172938,16 @@
|
|
|
172875
172938
|
}
|
|
172876
172939
|
}
|
|
172877
172940
|
]
|
|
172941
|
+
},
|
|
172942
|
+
"examples": {
|
|
172943
|
+
"default": {
|
|
172944
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
172945
|
+
"value": {
|
|
172946
|
+
"contexts": [
|
|
172947
|
+
"continuous-integration/travis-ci"
|
|
172948
|
+
]
|
|
172949
|
+
}
|
|
172950
|
+
}
|
|
172878
172951
|
}
|
|
172879
172952
|
}
|
|
172880
172953
|
}
|
|
@@ -173056,7 +173129,7 @@
|
|
|
173056
173129
|
"properties": {
|
|
173057
173130
|
"contexts": {
|
|
173058
173131
|
"type": "array",
|
|
173059
|
-
"description": "
|
|
173132
|
+
"description": "The name of the status checks",
|
|
173060
173133
|
"items": {
|
|
173061
173134
|
"type": "string"
|
|
173062
173135
|
}
|
|
@@ -173072,6 +173145,16 @@
|
|
|
173072
173145
|
}
|
|
173073
173146
|
}
|
|
173074
173147
|
]
|
|
173148
|
+
},
|
|
173149
|
+
"examples": {
|
|
173150
|
+
"default": {
|
|
173151
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
173152
|
+
"value": {
|
|
173153
|
+
"contexts": [
|
|
173154
|
+
"continuous-integration/travis-ci"
|
|
173155
|
+
]
|
|
173156
|
+
}
|
|
173157
|
+
}
|
|
173075
173158
|
}
|
|
173076
173159
|
}
|
|
173077
173160
|
}
|
|
@@ -175777,7 +175860,7 @@
|
|
|
175777
175860
|
"properties": {
|
|
175778
175861
|
"teams": {
|
|
175779
175862
|
"type": "array",
|
|
175780
|
-
"description": "teams
|
|
175863
|
+
"description": "The slug values for teams",
|
|
175781
175864
|
"items": {
|
|
175782
175865
|
"type": "string"
|
|
175783
175866
|
}
|
|
@@ -175793,6 +175876,16 @@
|
|
|
175793
175876
|
}
|
|
175794
175877
|
}
|
|
175795
175878
|
]
|
|
175879
|
+
},
|
|
175880
|
+
"examples": {
|
|
175881
|
+
"default": {
|
|
175882
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
175883
|
+
"value": {
|
|
175884
|
+
"teams": [
|
|
175885
|
+
"justice-league"
|
|
175886
|
+
]
|
|
175887
|
+
}
|
|
175888
|
+
}
|
|
175796
175889
|
}
|
|
175797
175890
|
}
|
|
175798
175891
|
}
|
|
@@ -176123,7 +176216,7 @@
|
|
|
176123
176216
|
"properties": {
|
|
176124
176217
|
"teams": {
|
|
176125
176218
|
"type": "array",
|
|
176126
|
-
"description": "teams
|
|
176219
|
+
"description": "The slug values for teams",
|
|
176127
176220
|
"items": {
|
|
176128
176221
|
"type": "string"
|
|
176129
176222
|
}
|
|
@@ -176134,11 +176227,21 @@
|
|
|
176134
176227
|
],
|
|
176135
176228
|
"example": {
|
|
176136
176229
|
"teams": [
|
|
176137
|
-
"
|
|
176230
|
+
"justice-league"
|
|
176138
176231
|
]
|
|
176139
176232
|
}
|
|
176140
176233
|
}
|
|
176141
176234
|
]
|
|
176235
|
+
},
|
|
176236
|
+
"examples": {
|
|
176237
|
+
"default": {
|
|
176238
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
176239
|
+
"value": {
|
|
176240
|
+
"teams": [
|
|
176241
|
+
"justice-league"
|
|
176242
|
+
]
|
|
176243
|
+
}
|
|
176244
|
+
}
|
|
176142
176245
|
}
|
|
176143
176246
|
}
|
|
176144
176247
|
}
|
|
@@ -176468,7 +176571,7 @@
|
|
|
176468
176571
|
"properties": {
|
|
176469
176572
|
"teams": {
|
|
176470
176573
|
"type": "array",
|
|
176471
|
-
"description": "teams
|
|
176574
|
+
"description": "The slug values for teams",
|
|
176472
176575
|
"items": {
|
|
176473
176576
|
"type": "string"
|
|
176474
176577
|
}
|
|
@@ -176484,6 +176587,16 @@
|
|
|
176484
176587
|
}
|
|
176485
176588
|
}
|
|
176486
176589
|
]
|
|
176590
|
+
},
|
|
176591
|
+
"examples": {
|
|
176592
|
+
"default": {
|
|
176593
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
176594
|
+
"value": {
|
|
176595
|
+
"teams": [
|
|
176596
|
+
"justice-league"
|
|
176597
|
+
]
|
|
176598
|
+
}
|
|
176599
|
+
}
|
|
176487
176600
|
}
|
|
176488
176601
|
}
|
|
176489
176602
|
}
|
|
@@ -177048,7 +177161,7 @@
|
|
|
177048
177161
|
"properties": {
|
|
177049
177162
|
"users": {
|
|
177050
177163
|
"type": "array",
|
|
177051
|
-
"description": "users
|
|
177164
|
+
"description": "The username for users",
|
|
177052
177165
|
"items": {
|
|
177053
177166
|
"type": "string"
|
|
177054
177167
|
}
|
|
@@ -177064,6 +177177,16 @@
|
|
|
177064
177177
|
}
|
|
177065
177178
|
}
|
|
177066
177179
|
]
|
|
177180
|
+
},
|
|
177181
|
+
"examples": {
|
|
177182
|
+
"default": {
|
|
177183
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
177184
|
+
"value": {
|
|
177185
|
+
"users": [
|
|
177186
|
+
"octocat"
|
|
177187
|
+
]
|
|
177188
|
+
}
|
|
177189
|
+
}
|
|
177067
177190
|
}
|
|
177068
177191
|
}
|
|
177069
177192
|
}
|
|
@@ -177355,7 +177478,7 @@
|
|
|
177355
177478
|
"properties": {
|
|
177356
177479
|
"users": {
|
|
177357
177480
|
"type": "array",
|
|
177358
|
-
"description": "users
|
|
177481
|
+
"description": "The username for users",
|
|
177359
177482
|
"items": {
|
|
177360
177483
|
"type": "string"
|
|
177361
177484
|
}
|
|
@@ -177371,6 +177494,16 @@
|
|
|
177371
177494
|
}
|
|
177372
177495
|
}
|
|
177373
177496
|
]
|
|
177497
|
+
},
|
|
177498
|
+
"examples": {
|
|
177499
|
+
"default": {
|
|
177500
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
177501
|
+
"value": {
|
|
177502
|
+
"users": [
|
|
177503
|
+
"octocat"
|
|
177504
|
+
]
|
|
177505
|
+
}
|
|
177506
|
+
}
|
|
177374
177507
|
}
|
|
177375
177508
|
}
|
|
177376
177509
|
}
|
|
@@ -177661,7 +177794,7 @@
|
|
|
177661
177794
|
"properties": {
|
|
177662
177795
|
"users": {
|
|
177663
177796
|
"type": "array",
|
|
177664
|
-
"description": "users
|
|
177797
|
+
"description": "The username for users",
|
|
177665
177798
|
"items": {
|
|
177666
177799
|
"type": "string"
|
|
177667
177800
|
}
|
|
@@ -177677,6 +177810,16 @@
|
|
|
177677
177810
|
}
|
|
177678
177811
|
}
|
|
177679
177812
|
]
|
|
177813
|
+
},
|
|
177814
|
+
"examples": {
|
|
177815
|
+
"default": {
|
|
177816
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
177817
|
+
"value": {
|
|
177818
|
+
"users": [
|
|
177819
|
+
"octocat"
|
|
177820
|
+
]
|
|
177821
|
+
}
|
|
177822
|
+
}
|
|
177680
177823
|
}
|
|
177681
177824
|
}
|
|
177682
177825
|
}
|
|
@@ -197380,6 +197523,7 @@
|
|
|
197380
197523
|
"ref": "refs/heads/main",
|
|
197381
197524
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
197382
197525
|
"environment": "",
|
|
197526
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
197383
197527
|
"state": "open",
|
|
197384
197528
|
"fixed_at": null,
|
|
197385
197529
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -197852,7 +197996,13 @@
|
|
|
197852
197996
|
"githubCloudOnly": false,
|
|
197853
197997
|
"category": "code-scanning"
|
|
197854
197998
|
},
|
|
197855
|
-
"x-octokit": {
|
|
197999
|
+
"x-octokit": {
|
|
198000
|
+
"diff": {
|
|
198001
|
+
"api.github.com": {
|
|
198002
|
+
"type": "changed"
|
|
198003
|
+
}
|
|
198004
|
+
}
|
|
198005
|
+
}
|
|
197856
198006
|
}
|
|
197857
198007
|
},
|
|
197858
198008
|
"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": {
|
|
@@ -198176,7 +198326,7 @@
|
|
|
198176
198326
|
},
|
|
198177
198327
|
"delete": {
|
|
198178
198328
|
"summary": "Delete a code scanning analysis from a repository",
|
|
198179
|
-
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `
|
|
198329
|
+
"description": "Deletes a specified code scanning analysis from a repository. For\nprivate repositories, you must use an access token with the `repo` scope. For public repositories,\nyou must use an access token with `public_repo` scope.\nGitHub Apps must have the `security_events` write permission to use this endpoint.\n\nYou can delete one analysis at a time.\nTo delete a series of analyses, start with the most recent analysis and work backwards.\nConceptually, the process is similar to the undo function in a text editor.\n\nWhen you list the analyses for a repository,\none or more will be identified as deletable in the response:\n\n```\n\"deletable\": true\n```\n\nAn analysis is deletable when it's the most recent in a set of analyses.\nTypically, a repository will have multiple sets of analyses\nfor each enabled code scanning tool,\nwhere a set is determined by a unique combination of analysis values:\n\n* `ref`\n* `tool`\n* `category`\n\nIf you attempt to delete an analysis that is not the most recent in a set,\nyou'll get a 400 response with the message:\n\n```\nAnalysis specified is not deletable.\n```\n\nThe response from a successful `DELETE` operation provides you with\ntwo alternative URLs for deleting the next analysis in the set:\n`next_analysis_url` and `confirm_delete_url`.\nUse the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysis\nin a set. This is a useful option if you want to preserve at least one analysis\nfor the specified tool in your repository.\nUse the `confirm_delete_url` URL if you are content to remove all analyses for a tool.\nWhen you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`\nin the 200 response is `null`.\n\nAs an example of the deletion process,\nlet's imagine that you added a workflow that configured a particular code scanning tool\nto analyze the code in a repository. This tool has added 15 analyses:\n10 on the default branch, and another 5 on a topic branch.\nYou therefore have two separate sets of analyses for this tool.\nYou've now decided that you want to remove all of the analyses for the tool.\nTo do this you must make 15 separate deletion requests.\nTo start, you must find an analysis that's identified as deletable.\nEach set of analyses always has one that's identified as deletable.\nHaving found the deletable analysis for one of the two sets,\ndelete this analysis and then continue deleting the next analysis in the set until they're all deleted.\nThen repeat the process for the second set.\nThe procedure therefore consists of a nested loop:\n\n**Outer loop**:\n* List the analyses for the repository, filtered by tool.\n* Parse this list to find a deletable analysis. If found:\n\n **Inner loop**:\n * Delete the identified analysis.\n * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.\n\nThe above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.",
|
|
198180
198330
|
"operationId": "code-scanning/delete-analysis",
|
|
198181
198331
|
"tags": [
|
|
198182
198332
|
"code-scanning"
|
|
@@ -219545,7 +219695,7 @@
|
|
|
219545
219695
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
219546
219696
|
"get": {
|
|
219547
219697
|
"summary": "Get repository content",
|
|
219548
|
-
"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.6/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.6/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
219698
|
+
"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.6/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.6/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.6/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.6/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#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/enterprise-server@3.6/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\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.",
|
|
219549
219699
|
"tags": [
|
|
219550
219700
|
"repos"
|
|
219551
219701
|
],
|
|
@@ -246041,14 +246191,6 @@
|
|
|
246041
246191
|
"write"
|
|
246042
246192
|
]
|
|
246043
246193
|
},
|
|
246044
|
-
"organization_custom_roles": {
|
|
246045
|
-
"type": "string",
|
|
246046
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
246047
|
-
"enum": [
|
|
246048
|
-
"read",
|
|
246049
|
-
"write"
|
|
246050
|
-
]
|
|
246051
|
-
},
|
|
246052
246194
|
"deployments": {
|
|
246053
246195
|
"type": "string",
|
|
246054
246196
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -246569,7 +246711,13 @@
|
|
|
246569
246711
|
"category": "apps",
|
|
246570
246712
|
"subcategory": null
|
|
246571
246713
|
},
|
|
246572
|
-
"x-octokit": {
|
|
246714
|
+
"x-octokit": {
|
|
246715
|
+
"diff": {
|
|
246716
|
+
"api.github.com": {
|
|
246717
|
+
"type": "changed"
|
|
246718
|
+
}
|
|
246719
|
+
}
|
|
246720
|
+
}
|
|
246573
246721
|
}
|
|
246574
246722
|
},
|
|
246575
246723
|
"/repos/{owner}/{repo}/invitations": {
|
|
@@ -248892,6 +249040,14 @@
|
|
|
248892
249040
|
]
|
|
248893
249041
|
}
|
|
248894
249042
|
}
|
|
249043
|
+
},
|
|
249044
|
+
"examples": {
|
|
249045
|
+
"default": {
|
|
249046
|
+
"summary": "Example request body",
|
|
249047
|
+
"value": {
|
|
249048
|
+
"permissions": "write"
|
|
249049
|
+
}
|
|
249050
|
+
}
|
|
248895
249051
|
}
|
|
248896
249052
|
}
|
|
248897
249053
|
}
|
|
@@ -253874,7 +254030,8 @@
|
|
|
253874
254030
|
"type": "User",
|
|
253875
254031
|
"site_admin": false
|
|
253876
254032
|
},
|
|
253877
|
-
"author_association": "COLLABORATOR"
|
|
254033
|
+
"author_association": "COLLABORATOR",
|
|
254034
|
+
"state_reason": "completed"
|
|
253878
254035
|
}
|
|
253879
254036
|
]
|
|
253880
254037
|
}
|
|
@@ -256724,7 +256881,8 @@
|
|
|
256724
256881
|
"type": "User",
|
|
256725
256882
|
"site_admin": false
|
|
256726
256883
|
},
|
|
256727
|
-
"author_association": "COLLABORATOR"
|
|
256884
|
+
"author_association": "COLLABORATOR",
|
|
256885
|
+
"state_reason": "completed"
|
|
256728
256886
|
}
|
|
256729
256887
|
}
|
|
256730
256888
|
}
|
|
@@ -263770,7 +263928,8 @@
|
|
|
263770
263928
|
"closed_at": null,
|
|
263771
263929
|
"created_at": "2011-04-22T13:33:48Z",
|
|
263772
263930
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
263773
|
-
"author_association": "COLLABORATOR"
|
|
263931
|
+
"author_association": "COLLABORATOR",
|
|
263932
|
+
"state_reason": "completed"
|
|
263774
263933
|
}
|
|
263775
263934
|
}
|
|
263776
263935
|
]
|
|
@@ -267716,7 +267875,8 @@
|
|
|
267716
267875
|
"closed_at": null,
|
|
267717
267876
|
"created_at": "2011-04-22T13:33:48Z",
|
|
267718
267877
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
267719
|
-
"author_association": "COLLABORATOR"
|
|
267878
|
+
"author_association": "COLLABORATOR",
|
|
267879
|
+
"state_reason": "completed"
|
|
267720
267880
|
}
|
|
267721
267881
|
}
|
|
267722
267882
|
}
|
|
@@ -270427,7 +270587,8 @@
|
|
|
270427
270587
|
"type": "User",
|
|
270428
270588
|
"site_admin": false
|
|
270429
270589
|
},
|
|
270430
|
-
"author_association": "COLLABORATOR"
|
|
270590
|
+
"author_association": "COLLABORATOR",
|
|
270591
|
+
"state_reason": "completed"
|
|
270431
270592
|
}
|
|
270432
270593
|
}
|
|
270433
270594
|
}
|
|
@@ -270601,6 +270762,12 @@
|
|
|
270601
270762
|
"closed"
|
|
270602
270763
|
]
|
|
270603
270764
|
},
|
|
270765
|
+
"state_reason": {
|
|
270766
|
+
"type": "string",
|
|
270767
|
+
"nullable": true,
|
|
270768
|
+
"description": "The reason for the current state",
|
|
270769
|
+
"example": "not_planned"
|
|
270770
|
+
},
|
|
270604
270771
|
"milestone": {
|
|
270605
270772
|
"oneOf": [
|
|
270606
270773
|
{
|
|
@@ -273245,7 +273412,8 @@
|
|
|
273245
273412
|
"type": "User",
|
|
273246
273413
|
"site_admin": false
|
|
273247
273414
|
},
|
|
273248
|
-
"author_association": "COLLABORATOR"
|
|
273415
|
+
"author_association": "COLLABORATOR",
|
|
273416
|
+
"state_reason": "completed"
|
|
273249
273417
|
}
|
|
273250
273418
|
}
|
|
273251
273419
|
}
|
|
@@ -276100,7 +276268,8 @@
|
|
|
276100
276268
|
"type": "User",
|
|
276101
276269
|
"site_admin": false
|
|
276102
276270
|
},
|
|
276103
|
-
"author_association": "COLLABORATOR"
|
|
276271
|
+
"author_association": "COLLABORATOR",
|
|
276272
|
+
"state_reason": "completed"
|
|
276104
276273
|
}
|
|
276105
276274
|
}
|
|
276106
276275
|
}
|
|
@@ -371839,7 +372008,8 @@
|
|
|
371839
372008
|
"body": "...",
|
|
371840
372009
|
"score": 1,
|
|
371841
372010
|
"locked": true,
|
|
371842
|
-
"author_association": "COLLABORATOR"
|
|
372011
|
+
"author_association": "COLLABORATOR",
|
|
372012
|
+
"state_reason": "completed"
|
|
371843
372013
|
}
|
|
371844
372014
|
]
|
|
371845
372015
|
}
|
|
@@ -375684,8 +375854,8 @@
|
|
|
375684
375854
|
"example": "2017-08-17T12:37:15Z"
|
|
375685
375855
|
},
|
|
375686
375856
|
"organization": {
|
|
375687
|
-
"title": "Organization
|
|
375688
|
-
"description": "Organization
|
|
375857
|
+
"title": "Team Organization",
|
|
375858
|
+
"description": "Team Organization",
|
|
375689
375859
|
"type": "object",
|
|
375690
375860
|
"properties": {
|
|
375691
375861
|
"login": {
|
|
@@ -376302,8 +376472,8 @@
|
|
|
376302
376472
|
"example": "2017-08-17T12:37:15Z"
|
|
376303
376473
|
},
|
|
376304
376474
|
"organization": {
|
|
376305
|
-
"title": "Organization
|
|
376306
|
-
"description": "Organization
|
|
376475
|
+
"title": "Team Organization",
|
|
376476
|
+
"description": "Team Organization",
|
|
376307
376477
|
"type": "object",
|
|
376308
376478
|
"properties": {
|
|
376309
376479
|
"login": {
|
|
@@ -376804,8 +376974,8 @@
|
|
|
376804
376974
|
"example": "2017-08-17T12:37:15Z"
|
|
376805
376975
|
},
|
|
376806
376976
|
"organization": {
|
|
376807
|
-
"title": "Organization
|
|
376808
|
-
"description": "Organization
|
|
376977
|
+
"title": "Team Organization",
|
|
376978
|
+
"description": "Team Organization",
|
|
376809
376979
|
"type": "object",
|
|
376810
376980
|
"properties": {
|
|
376811
376981
|
"login": {
|
|
@@ -392700,14 +392870,6 @@
|
|
|
392700
392870
|
"write"
|
|
392701
392871
|
]
|
|
392702
392872
|
},
|
|
392703
|
-
"organization_custom_roles": {
|
|
392704
|
-
"type": "string",
|
|
392705
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
392706
|
-
"enum": [
|
|
392707
|
-
"read",
|
|
392708
|
-
"write"
|
|
392709
|
-
]
|
|
392710
|
-
},
|
|
392711
392873
|
"deployments": {
|
|
392712
392874
|
"type": "string",
|
|
392713
392875
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -393297,7 +393459,13 @@
|
|
|
393297
393459
|
"category": "apps",
|
|
393298
393460
|
"subcategory": "installations"
|
|
393299
393461
|
},
|
|
393300
|
-
"x-octokit": {
|
|
393462
|
+
"x-octokit": {
|
|
393463
|
+
"diff": {
|
|
393464
|
+
"api.github.com": {
|
|
393465
|
+
"type": "changed"
|
|
393466
|
+
}
|
|
393467
|
+
}
|
|
393468
|
+
}
|
|
393301
393469
|
}
|
|
393302
393470
|
},
|
|
393303
393471
|
"/user/installations/{installation_id}/repositories": {
|
|
@@ -417631,8 +417799,8 @@
|
|
|
417631
417799
|
"example": "2017-08-17T12:37:15Z"
|
|
417632
417800
|
},
|
|
417633
417801
|
"organization": {
|
|
417634
|
-
"title": "Organization
|
|
417635
|
-
"description": "Organization
|
|
417802
|
+
"title": "Team Organization",
|
|
417803
|
+
"description": "Team Organization",
|
|
417636
417804
|
"type": "object",
|
|
417637
417805
|
"properties": {
|
|
417638
417806
|
"login": {
|
|
@@ -430262,14 +430430,6 @@
|
|
|
430262
430430
|
"write"
|
|
430263
430431
|
]
|
|
430264
430432
|
},
|
|
430265
|
-
"organization_custom_roles": {
|
|
430266
|
-
"type": "string",
|
|
430267
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
430268
|
-
"enum": [
|
|
430269
|
-
"read",
|
|
430270
|
-
"write"
|
|
430271
|
-
]
|
|
430272
|
-
},
|
|
430273
430433
|
"deployments": {
|
|
430274
430434
|
"type": "string",
|
|
430275
430435
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -430738,7 +430898,13 @@
|
|
|
430738
430898
|
"category": "apps",
|
|
430739
430899
|
"subcategory": null
|
|
430740
430900
|
},
|
|
430741
|
-
"x-octokit": {
|
|
430901
|
+
"x-octokit": {
|
|
430902
|
+
"diff": {
|
|
430903
|
+
"api.github.com": {
|
|
430904
|
+
"type": "changed"
|
|
430905
|
+
}
|
|
430906
|
+
}
|
|
430907
|
+
}
|
|
430742
430908
|
}
|
|
430743
430909
|
},
|
|
430744
430910
|
"/users/{username}/keys": {
|