@octokit/openapi 7.5.0 → 7.8.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 +2249 -268
- package/generated/api.github.com.json +1222 -129
- 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 +386 -28
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +43 -17
- package/generated/ghes-3.2.deref.json +778 -256
- package/generated/ghes-3.2.json +588 -40
- 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 +205 -225
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +445 -12
- package/generated/ghes-3.3.deref.json +785 -257
- package/generated/ghes-3.3.json +595 -41
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +153 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +13 -1
- package/generated/ghes-3.4.deref.json +816 -243
- package/generated/ghes-3.4.json +603 -43
- 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 +462 -42
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +304 -18
- package/generated/ghes-3.5.deref.json +829 -243
- package/generated/ghes-3.5.json +603 -43
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +519 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18071 -6614
- package/generated/ghes-3.6-diff-to-api.github.com.json +6665 -4290
- package/generated/ghes-3.6.deref.json +1048 -256
- package/generated/ghes-3.6.json +826 -56
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +347 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +11634 -3854
- package/generated/github.ae-diff-to-api.github.com.json +1185 -40
- package/generated/github.ae.deref.json +1087 -178
- package/generated/github.ae.json +865 -50
- 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.8.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.",
|
|
@@ -11719,6 +11675,10 @@
|
|
|
11719
11675
|
"starred_at": {
|
|
11720
11676
|
"type": "string",
|
|
11721
11677
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
11678
|
+
},
|
|
11679
|
+
"anonymous_access_enabled": {
|
|
11680
|
+
"type": "boolean",
|
|
11681
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
11722
11682
|
}
|
|
11723
11683
|
},
|
|
11724
11684
|
"required": [
|
|
@@ -12117,7 +12077,13 @@
|
|
|
12117
12077
|
"category": "apps",
|
|
12118
12078
|
"subcategory": null
|
|
12119
12079
|
},
|
|
12120
|
-
"x-octokit": {
|
|
12080
|
+
"x-octokit": {
|
|
12081
|
+
"diff": {
|
|
12082
|
+
"api.github.com": {
|
|
12083
|
+
"type": "changed"
|
|
12084
|
+
}
|
|
12085
|
+
}
|
|
12086
|
+
}
|
|
12121
12087
|
}
|
|
12122
12088
|
},
|
|
12123
12089
|
"/app/installations/{installation_id}/suspended": {
|
|
@@ -13451,14 +13417,6 @@
|
|
|
13451
13417
|
"write"
|
|
13452
13418
|
]
|
|
13453
13419
|
},
|
|
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
13420
|
"deployments": {
|
|
13463
13421
|
"type": "string",
|
|
13464
13422
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14009,7 +13967,13 @@
|
|
|
14009
13967
|
"category": "apps",
|
|
14010
13968
|
"subcategory": "oauth-applications"
|
|
14011
13969
|
},
|
|
14012
|
-
"x-octokit": {
|
|
13970
|
+
"x-octokit": {
|
|
13971
|
+
"diff": {
|
|
13972
|
+
"api.github.com": {
|
|
13973
|
+
"type": "changed"
|
|
13974
|
+
}
|
|
13975
|
+
}
|
|
13976
|
+
}
|
|
14013
13977
|
},
|
|
14014
13978
|
"patch": {
|
|
14015
13979
|
"summary": "Reset a token",
|
|
@@ -14302,14 +14266,6 @@
|
|
|
14302
14266
|
"write"
|
|
14303
14267
|
]
|
|
14304
14268
|
},
|
|
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
14269
|
"deployments": {
|
|
14314
14270
|
"type": "string",
|
|
14315
14271
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14834,7 +14790,13 @@
|
|
|
14834
14790
|
"category": "apps",
|
|
14835
14791
|
"subcategory": "oauth-applications"
|
|
14836
14792
|
},
|
|
14837
|
-
"x-octokit": {
|
|
14793
|
+
"x-octokit": {
|
|
14794
|
+
"diff": {
|
|
14795
|
+
"api.github.com": {
|
|
14796
|
+
"type": "changed"
|
|
14797
|
+
}
|
|
14798
|
+
}
|
|
14799
|
+
}
|
|
14838
14800
|
},
|
|
14839
14801
|
"delete": {
|
|
14840
14802
|
"summary": "Delete an app token",
|
|
@@ -15077,14 +15039,6 @@
|
|
|
15077
15039
|
"write"
|
|
15078
15040
|
]
|
|
15079
15041
|
},
|
|
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
15042
|
"deployments": {
|
|
15089
15043
|
"type": "string",
|
|
15090
15044
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15560,14 +15514,6 @@
|
|
|
15560
15514
|
"write"
|
|
15561
15515
|
]
|
|
15562
15516
|
},
|
|
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
15517
|
"deployments": {
|
|
15572
15518
|
"type": "string",
|
|
15573
15519
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16199,7 +16145,13 @@
|
|
|
16199
16145
|
"category": "apps",
|
|
16200
16146
|
"subcategory": "oauth-applications"
|
|
16201
16147
|
},
|
|
16202
|
-
"x-octokit": {
|
|
16148
|
+
"x-octokit": {
|
|
16149
|
+
"diff": {
|
|
16150
|
+
"api.github.com": {
|
|
16151
|
+
"type": "changed"
|
|
16152
|
+
}
|
|
16153
|
+
}
|
|
16154
|
+
}
|
|
16203
16155
|
}
|
|
16204
16156
|
},
|
|
16205
16157
|
"/apps/{app_slug}": {
|
|
@@ -16865,14 +16817,6 @@
|
|
|
16865
16817
|
"write"
|
|
16866
16818
|
]
|
|
16867
16819
|
},
|
|
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
16820
|
"deployments": {
|
|
16877
16821
|
"type": "string",
|
|
16878
16822
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17732,14 +17676,6 @@
|
|
|
17732
17676
|
"write"
|
|
17733
17677
|
]
|
|
17734
17678
|
},
|
|
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
17679
|
"deployments": {
|
|
17744
17680
|
"type": "string",
|
|
17745
17681
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18668,14 +18604,6 @@
|
|
|
18668
18604
|
"write"
|
|
18669
18605
|
]
|
|
18670
18606
|
},
|
|
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
18607
|
"deployments": {
|
|
18680
18608
|
"type": "string",
|
|
18681
18609
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19348,14 +19276,6 @@
|
|
|
19348
19276
|
"write"
|
|
19349
19277
|
]
|
|
19350
19278
|
},
|
|
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
19279
|
"deployments": {
|
|
19360
19280
|
"type": "string",
|
|
19361
19281
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20262,14 +20182,6 @@
|
|
|
20262
20182
|
"write"
|
|
20263
20183
|
]
|
|
20264
20184
|
},
|
|
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
20185
|
"deployments": {
|
|
20274
20186
|
"type": "string",
|
|
20275
20187
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20942,14 +20854,6 @@
|
|
|
20942
20854
|
"write"
|
|
20943
20855
|
]
|
|
20944
20856
|
},
|
|
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
20857
|
"deployments": {
|
|
20954
20858
|
"type": "string",
|
|
20955
20859
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21734,14 +21638,6 @@
|
|
|
21734
21638
|
"write"
|
|
21735
21639
|
]
|
|
21736
21640
|
},
|
|
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
21641
|
"deployments": {
|
|
21746
21642
|
"type": "string",
|
|
21747
21643
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22553,14 +22449,6 @@
|
|
|
22553
22449
|
"write"
|
|
22554
22450
|
]
|
|
22555
22451
|
},
|
|
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
22452
|
"deployments": {
|
|
22565
22453
|
"type": "string",
|
|
22566
22454
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -30436,6 +30324,10 @@
|
|
|
30436
30324
|
"starred_at": {
|
|
30437
30325
|
"type": "string",
|
|
30438
30326
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
30327
|
+
},
|
|
30328
|
+
"anonymous_access_enabled": {
|
|
30329
|
+
"type": "boolean",
|
|
30330
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
30439
30331
|
}
|
|
30440
30332
|
},
|
|
30441
30333
|
"required": [
|
|
@@ -31720,6 +31612,10 @@
|
|
|
31720
31612
|
"starred_at": {
|
|
31721
31613
|
"type": "string",
|
|
31722
31614
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
31615
|
+
},
|
|
31616
|
+
"anonymous_access_enabled": {
|
|
31617
|
+
"type": "boolean",
|
|
31618
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
31723
31619
|
}
|
|
31724
31620
|
},
|
|
31725
31621
|
"required": [
|
|
@@ -36829,6 +36725,10 @@
|
|
|
36829
36725
|
"starred_at": {
|
|
36830
36726
|
"type": "string",
|
|
36831
36727
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
36728
|
+
},
|
|
36729
|
+
"anonymous_access_enabled": {
|
|
36730
|
+
"type": "boolean",
|
|
36731
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
36832
36732
|
}
|
|
36833
36733
|
},
|
|
36834
36734
|
"required": [
|
|
@@ -49458,6 +49358,10 @@
|
|
|
49458
49358
|
"starred_at": {
|
|
49459
49359
|
"type": "string",
|
|
49460
49360
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
49361
|
+
},
|
|
49362
|
+
"anonymous_access_enabled": {
|
|
49363
|
+
"type": "boolean",
|
|
49364
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
49461
49365
|
}
|
|
49462
49366
|
},
|
|
49463
49367
|
"required": [
|
|
@@ -51923,6 +51827,10 @@
|
|
|
51923
51827
|
"starred_at": {
|
|
51924
51828
|
"type": "string",
|
|
51925
51829
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
51830
|
+
},
|
|
51831
|
+
"anonymous_access_enabled": {
|
|
51832
|
+
"type": "boolean",
|
|
51833
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
51926
51834
|
}
|
|
51927
51835
|
},
|
|
51928
51836
|
"required": [
|
|
@@ -55510,6 +55418,10 @@
|
|
|
55510
55418
|
"starred_at": {
|
|
55511
55419
|
"type": "string",
|
|
55512
55420
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
55421
|
+
},
|
|
55422
|
+
"anonymous_access_enabled": {
|
|
55423
|
+
"type": "boolean",
|
|
55424
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
55513
55425
|
}
|
|
55514
55426
|
},
|
|
55515
55427
|
"required": [
|
|
@@ -58259,6 +58171,10 @@
|
|
|
58259
58171
|
"starred_at": {
|
|
58260
58172
|
"type": "string",
|
|
58261
58173
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
58174
|
+
},
|
|
58175
|
+
"anonymous_access_enabled": {
|
|
58176
|
+
"type": "boolean",
|
|
58177
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
58262
58178
|
}
|
|
58263
58179
|
},
|
|
58264
58180
|
"required": [
|
|
@@ -60480,6 +60396,10 @@
|
|
|
60480
60396
|
"starred_at": {
|
|
60481
60397
|
"type": "string",
|
|
60482
60398
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
60399
|
+
},
|
|
60400
|
+
"anonymous_access_enabled": {
|
|
60401
|
+
"type": "boolean",
|
|
60402
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
60483
60403
|
}
|
|
60484
60404
|
},
|
|
60485
60405
|
"required": [
|
|
@@ -61600,7 +61520,7 @@
|
|
|
61600
61520
|
"/organizations/{organization_id}/custom_roles": {
|
|
61601
61521
|
"get": {
|
|
61602
61522
|
"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)\".",
|
|
61523
|
+
"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
61524
|
"tags": [
|
|
61605
61525
|
"orgs"
|
|
61606
61526
|
],
|
|
@@ -62070,7 +61990,13 @@
|
|
|
62070
61990
|
"category": "orgs",
|
|
62071
61991
|
"subcategory": null
|
|
62072
61992
|
},
|
|
62073
|
-
"x-octokit": {
|
|
61993
|
+
"x-octokit": {
|
|
61994
|
+
"diff": {
|
|
61995
|
+
"api.github.com": {
|
|
61996
|
+
"type": "changed"
|
|
61997
|
+
}
|
|
61998
|
+
}
|
|
61999
|
+
}
|
|
62074
62000
|
},
|
|
62075
62001
|
"patch": {
|
|
62076
62002
|
"summary": "Update an organization",
|
|
@@ -64210,6 +64136,10 @@
|
|
|
64210
64136
|
"starred_at": {
|
|
64211
64137
|
"type": "string",
|
|
64212
64138
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
64139
|
+
},
|
|
64140
|
+
"anonymous_access_enabled": {
|
|
64141
|
+
"type": "boolean",
|
|
64142
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
64213
64143
|
}
|
|
64214
64144
|
},
|
|
64215
64145
|
"required": [
|
|
@@ -67258,6 +67188,10 @@
|
|
|
67258
67188
|
"starred_at": {
|
|
67259
67189
|
"type": "string",
|
|
67260
67190
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
67191
|
+
},
|
|
67192
|
+
"anonymous_access_enabled": {
|
|
67193
|
+
"type": "boolean",
|
|
67194
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
67261
67195
|
}
|
|
67262
67196
|
},
|
|
67263
67197
|
"required": [
|
|
@@ -69828,6 +69762,10 @@
|
|
|
69828
69762
|
"starred_at": {
|
|
69829
69763
|
"type": "string",
|
|
69830
69764
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
69765
|
+
},
|
|
69766
|
+
"anonymous_access_enabled": {
|
|
69767
|
+
"type": "boolean",
|
|
69768
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
69831
69769
|
}
|
|
69832
69770
|
},
|
|
69833
69771
|
"required": [
|
|
@@ -71112,6 +71050,10 @@
|
|
|
71112
71050
|
"starred_at": {
|
|
71113
71051
|
"type": "string",
|
|
71114
71052
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
71053
|
+
},
|
|
71054
|
+
"anonymous_access_enabled": {
|
|
71055
|
+
"type": "boolean",
|
|
71056
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
71115
71057
|
}
|
|
71116
71058
|
},
|
|
71117
71059
|
"required": [
|
|
@@ -74428,6 +74370,10 @@
|
|
|
74428
74370
|
"starred_at": {
|
|
74429
74371
|
"type": "string",
|
|
74430
74372
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
74373
|
+
},
|
|
74374
|
+
"anonymous_access_enabled": {
|
|
74375
|
+
"type": "boolean",
|
|
74376
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
74431
74377
|
}
|
|
74432
74378
|
},
|
|
74433
74379
|
"required": [
|
|
@@ -75726,6 +75672,11 @@
|
|
|
75726
75672
|
"nullable": true,
|
|
75727
75673
|
"type": "string",
|
|
75728
75674
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
75675
|
+
},
|
|
75676
|
+
"help_uri": {
|
|
75677
|
+
"nullable": true,
|
|
75678
|
+
"type": "string",
|
|
75679
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
75729
75680
|
}
|
|
75730
75681
|
}
|
|
75731
75682
|
},
|
|
@@ -78706,6 +78657,10 @@
|
|
|
78706
78657
|
"starred_at": {
|
|
78707
78658
|
"type": "string",
|
|
78708
78659
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
78660
|
+
},
|
|
78661
|
+
"anonymous_access_enabled": {
|
|
78662
|
+
"type": "boolean",
|
|
78663
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
78709
78664
|
}
|
|
78710
78665
|
},
|
|
78711
78666
|
"required": [
|
|
@@ -81357,6 +81312,10 @@
|
|
|
81357
81312
|
"starred_at": {
|
|
81358
81313
|
"type": "string",
|
|
81359
81314
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
81315
|
+
},
|
|
81316
|
+
"anonymous_access_enabled": {
|
|
81317
|
+
"type": "boolean",
|
|
81318
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
81360
81319
|
}
|
|
81361
81320
|
},
|
|
81362
81321
|
"required": [
|
|
@@ -85022,14 +84981,6 @@
|
|
|
85022
84981
|
"write"
|
|
85023
84982
|
]
|
|
85024
84983
|
},
|
|
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
84984
|
"deployments": {
|
|
85034
84985
|
"type": "string",
|
|
85035
84986
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -85498,7 +85449,13 @@
|
|
|
85498
85449
|
"category": "apps",
|
|
85499
85450
|
"subcategory": null
|
|
85500
85451
|
},
|
|
85501
|
-
"x-octokit": {
|
|
85452
|
+
"x-octokit": {
|
|
85453
|
+
"diff": {
|
|
85454
|
+
"api.github.com": {
|
|
85455
|
+
"type": "changed"
|
|
85456
|
+
}
|
|
85457
|
+
}
|
|
85458
|
+
}
|
|
85502
85459
|
}
|
|
85503
85460
|
},
|
|
85504
85461
|
"/orgs/{org}/installations": {
|
|
@@ -85833,14 +85790,6 @@
|
|
|
85833
85790
|
"write"
|
|
85834
85791
|
]
|
|
85835
85792
|
},
|
|
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
85793
|
"deployments": {
|
|
85845
85794
|
"type": "string",
|
|
85846
85795
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -86326,7 +86275,13 @@
|
|
|
86326
86275
|
"category": "orgs",
|
|
86327
86276
|
"subcategory": null
|
|
86328
86277
|
},
|
|
86329
|
-
"x-octokit": {
|
|
86278
|
+
"x-octokit": {
|
|
86279
|
+
"diff": {
|
|
86280
|
+
"api.github.com": {
|
|
86281
|
+
"type": "changed"
|
|
86282
|
+
}
|
|
86283
|
+
}
|
|
86284
|
+
}
|
|
86330
86285
|
}
|
|
86331
86286
|
},
|
|
86332
86287
|
"/orgs/{org}/issues": {
|
|
@@ -88456,6 +88411,10 @@
|
|
|
88456
88411
|
"starred_at": {
|
|
88457
88412
|
"type": "string",
|
|
88458
88413
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
88414
|
+
},
|
|
88415
|
+
"anonymous_access_enabled": {
|
|
88416
|
+
"type": "boolean",
|
|
88417
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
88459
88418
|
}
|
|
88460
88419
|
},
|
|
88461
88420
|
"required": [
|
|
@@ -89418,17 +89377,6 @@
|
|
|
89418
89377
|
}
|
|
89419
89378
|
}
|
|
89420
89379
|
},
|
|
89421
|
-
"302": {
|
|
89422
|
-
"description": "Response if requester is not an organization member",
|
|
89423
|
-
"headers": {
|
|
89424
|
-
"Location": {
|
|
89425
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
89426
|
-
"schema": {
|
|
89427
|
-
"type": "string"
|
|
89428
|
-
}
|
|
89429
|
-
}
|
|
89430
|
-
}
|
|
89431
|
-
},
|
|
89432
89380
|
"422": {
|
|
89433
89381
|
"description": "Validation failed",
|
|
89434
89382
|
"content": {
|
|
@@ -91930,6 +91878,10 @@
|
|
|
91930
91878
|
"starred_at": {
|
|
91931
91879
|
"type": "string",
|
|
91932
91880
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
91881
|
+
},
|
|
91882
|
+
"anonymous_access_enabled": {
|
|
91883
|
+
"type": "boolean",
|
|
91884
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
91933
91885
|
}
|
|
91934
91886
|
},
|
|
91935
91887
|
"required": [
|
|
@@ -93621,6 +93573,10 @@
|
|
|
93621
93573
|
"starred_at": {
|
|
93622
93574
|
"type": "string",
|
|
93623
93575
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
93576
|
+
},
|
|
93577
|
+
"anonymous_access_enabled": {
|
|
93578
|
+
"type": "boolean",
|
|
93579
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
93624
93580
|
}
|
|
93625
93581
|
},
|
|
93626
93582
|
"required": [
|
|
@@ -95341,6 +95297,10 @@
|
|
|
95341
95297
|
"starred_at": {
|
|
95342
95298
|
"type": "string",
|
|
95343
95299
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
95300
|
+
},
|
|
95301
|
+
"anonymous_access_enabled": {
|
|
95302
|
+
"type": "boolean",
|
|
95303
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
95344
95304
|
}
|
|
95345
95305
|
},
|
|
95346
95306
|
"required": [
|
|
@@ -99345,6 +99305,10 @@
|
|
|
99345
99305
|
"starred_at": {
|
|
99346
99306
|
"type": "string",
|
|
99347
99307
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
99308
|
+
},
|
|
99309
|
+
"anonymous_access_enabled": {
|
|
99310
|
+
"type": "boolean",
|
|
99311
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
99348
99312
|
}
|
|
99349
99313
|
},
|
|
99350
99314
|
"required": [
|
|
@@ -100985,6 +100949,10 @@
|
|
|
100985
100949
|
"starred_at": {
|
|
100986
100950
|
"type": "string",
|
|
100987
100951
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
100952
|
+
},
|
|
100953
|
+
"anonymous_access_enabled": {
|
|
100954
|
+
"type": "boolean",
|
|
100955
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
100988
100956
|
}
|
|
100989
100957
|
},
|
|
100990
100958
|
"required": [
|
|
@@ -103156,8 +103124,8 @@
|
|
|
103156
103124
|
"example": "2017-08-17T12:37:15Z"
|
|
103157
103125
|
},
|
|
103158
103126
|
"organization": {
|
|
103159
|
-
"title": "Organization
|
|
103160
|
-
"description": "Organization
|
|
103127
|
+
"title": "Team Organization",
|
|
103128
|
+
"description": "Team Organization",
|
|
103161
103129
|
"type": "object",
|
|
103162
103130
|
"properties": {
|
|
103163
103131
|
"login": {
|
|
@@ -103802,8 +103770,8 @@
|
|
|
103802
103770
|
"example": "2017-08-17T12:37:15Z"
|
|
103803
103771
|
},
|
|
103804
103772
|
"organization": {
|
|
103805
|
-
"title": "Organization
|
|
103806
|
-
"description": "Organization
|
|
103773
|
+
"title": "Team Organization",
|
|
103774
|
+
"description": "Team Organization",
|
|
103807
103775
|
"type": "object",
|
|
103808
103776
|
"properties": {
|
|
103809
103777
|
"login": {
|
|
@@ -104423,8 +104391,8 @@
|
|
|
104423
104391
|
"example": "2017-08-17T12:37:15Z"
|
|
104424
104392
|
},
|
|
104425
104393
|
"organization": {
|
|
104426
|
-
"title": "Organization
|
|
104427
|
-
"description": "Organization
|
|
104394
|
+
"title": "Team Organization",
|
|
104395
|
+
"description": "Team Organization",
|
|
104428
104396
|
"type": "object",
|
|
104429
104397
|
"properties": {
|
|
104430
104398
|
"login": {
|
|
@@ -112755,6 +112723,10 @@
|
|
|
112755
112723
|
"starred_at": {
|
|
112756
112724
|
"type": "string",
|
|
112757
112725
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
112726
|
+
},
|
|
112727
|
+
"anonymous_access_enabled": {
|
|
112728
|
+
"type": "boolean",
|
|
112729
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
112758
112730
|
}
|
|
112759
112731
|
},
|
|
112760
112732
|
"required": [
|
|
@@ -114801,6 +114773,10 @@
|
|
|
114801
114773
|
"starred_at": {
|
|
114802
114774
|
"type": "string",
|
|
114803
114775
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
114776
|
+
},
|
|
114777
|
+
"anonymous_access_enabled": {
|
|
114778
|
+
"type": "boolean",
|
|
114779
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
114804
114780
|
}
|
|
114805
114781
|
},
|
|
114806
114782
|
"required": [
|
|
@@ -122860,6 +122836,10 @@
|
|
|
122860
122836
|
"starred_at": {
|
|
122861
122837
|
"type": "string",
|
|
122862
122838
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
122839
|
+
},
|
|
122840
|
+
"anonymous_access_enabled": {
|
|
122841
|
+
"type": "boolean",
|
|
122842
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
122863
122843
|
}
|
|
122864
122844
|
},
|
|
122865
122845
|
"required": [
|
|
@@ -124294,6 +124274,10 @@
|
|
|
124294
124274
|
"starred_at": {
|
|
124295
124275
|
"type": "string",
|
|
124296
124276
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
124277
|
+
},
|
|
124278
|
+
"anonymous_access_enabled": {
|
|
124279
|
+
"type": "boolean",
|
|
124280
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
124297
124281
|
}
|
|
124298
124282
|
},
|
|
124299
124283
|
"required": [
|
|
@@ -125483,6 +125467,10 @@
|
|
|
125483
125467
|
"starred_at": {
|
|
125484
125468
|
"type": "string",
|
|
125485
125469
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
125470
|
+
},
|
|
125471
|
+
"anonymous_access_enabled": {
|
|
125472
|
+
"type": "boolean",
|
|
125473
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
125486
125474
|
}
|
|
125487
125475
|
},
|
|
125488
125476
|
"required": [
|
|
@@ -128142,6 +128130,10 @@
|
|
|
128142
128130
|
"starred_at": {
|
|
128143
128131
|
"type": "string",
|
|
128144
128132
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
128133
|
+
},
|
|
128134
|
+
"anonymous_access_enabled": {
|
|
128135
|
+
"type": "boolean",
|
|
128136
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
128145
128137
|
}
|
|
128146
128138
|
},
|
|
128147
128139
|
"required": [
|
|
@@ -129576,6 +129568,10 @@
|
|
|
129576
129568
|
"starred_at": {
|
|
129577
129569
|
"type": "string",
|
|
129578
129570
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
129571
|
+
},
|
|
129572
|
+
"anonymous_access_enabled": {
|
|
129573
|
+
"type": "boolean",
|
|
129574
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
129579
129575
|
}
|
|
129580
129576
|
},
|
|
129581
129577
|
"required": [
|
|
@@ -130765,6 +130761,10 @@
|
|
|
130765
130761
|
"starred_at": {
|
|
130766
130762
|
"type": "string",
|
|
130767
130763
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
130764
|
+
},
|
|
130765
|
+
"anonymous_access_enabled": {
|
|
130766
|
+
"type": "boolean",
|
|
130767
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
130768
130768
|
}
|
|
130769
130769
|
},
|
|
130770
130770
|
"required": [
|
|
@@ -135333,6 +135333,10 @@
|
|
|
135333
135333
|
"starred_at": {
|
|
135334
135334
|
"type": "string",
|
|
135335
135335
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
135336
|
+
},
|
|
135337
|
+
"anonymous_access_enabled": {
|
|
135338
|
+
"type": "boolean",
|
|
135339
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
135336
135340
|
}
|
|
135337
135341
|
},
|
|
135338
135342
|
"required": [
|
|
@@ -136626,6 +136630,10 @@
|
|
|
136626
136630
|
"starred_at": {
|
|
136627
136631
|
"type": "string",
|
|
136628
136632
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
136633
|
+
},
|
|
136634
|
+
"anonymous_access_enabled": {
|
|
136635
|
+
"type": "boolean",
|
|
136636
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
136629
136637
|
}
|
|
136630
136638
|
},
|
|
136631
136639
|
"required": [
|
|
@@ -140136,6 +140144,10 @@
|
|
|
140136
140144
|
"starred_at": {
|
|
140137
140145
|
"type": "string",
|
|
140138
140146
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
140147
|
+
},
|
|
140148
|
+
"anonymous_access_enabled": {
|
|
140149
|
+
"type": "boolean",
|
|
140150
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
140139
140151
|
}
|
|
140140
140152
|
},
|
|
140141
140153
|
"required": [
|
|
@@ -141898,6 +141910,10 @@
|
|
|
141898
141910
|
"starred_at": {
|
|
141899
141911
|
"type": "string",
|
|
141900
141912
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
141913
|
+
},
|
|
141914
|
+
"anonymous_access_enabled": {
|
|
141915
|
+
"type": "boolean",
|
|
141916
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
141901
141917
|
}
|
|
141902
141918
|
},
|
|
141903
141919
|
"required": [
|
|
@@ -144556,6 +144572,10 @@
|
|
|
144556
144572
|
"starred_at": {
|
|
144557
144573
|
"type": "string",
|
|
144558
144574
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
144575
|
+
},
|
|
144576
|
+
"anonymous_access_enabled": {
|
|
144577
|
+
"type": "boolean",
|
|
144578
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
144559
144579
|
}
|
|
144560
144580
|
},
|
|
144561
144581
|
"required": [
|
|
@@ -146318,6 +146338,10 @@
|
|
|
146318
146338
|
"starred_at": {
|
|
146319
146339
|
"type": "string",
|
|
146320
146340
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
146341
|
+
},
|
|
146342
|
+
"anonymous_access_enabled": {
|
|
146343
|
+
"type": "boolean",
|
|
146344
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
146321
146345
|
}
|
|
146322
146346
|
},
|
|
146323
146347
|
"required": [
|
|
@@ -149569,6 +149593,10 @@
|
|
|
149569
149593
|
"starred_at": {
|
|
149570
149594
|
"type": "string",
|
|
149571
149595
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
149596
|
+
},
|
|
149597
|
+
"anonymous_access_enabled": {
|
|
149598
|
+
"type": "boolean",
|
|
149599
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
149572
149600
|
}
|
|
149573
149601
|
},
|
|
149574
149602
|
"required": [
|
|
@@ -151331,6 +151359,10 @@
|
|
|
151331
151359
|
"starred_at": {
|
|
151332
151360
|
"type": "string",
|
|
151333
151361
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
151362
|
+
},
|
|
151363
|
+
"anonymous_access_enabled": {
|
|
151364
|
+
"type": "boolean",
|
|
151365
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
151334
151366
|
}
|
|
151335
151367
|
},
|
|
151336
151368
|
"required": [
|
|
@@ -157653,6 +157685,10 @@
|
|
|
157653
157685
|
"starred_at": {
|
|
157654
157686
|
"type": "string",
|
|
157655
157687
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
157688
|
+
},
|
|
157689
|
+
"anonymous_access_enabled": {
|
|
157690
|
+
"type": "boolean",
|
|
157691
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
157656
157692
|
}
|
|
157657
157693
|
},
|
|
157658
157694
|
"required": [
|
|
@@ -159415,6 +159451,10 @@
|
|
|
159415
159451
|
"starred_at": {
|
|
159416
159452
|
"type": "string",
|
|
159417
159453
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
159454
|
+
},
|
|
159455
|
+
"anonymous_access_enabled": {
|
|
159456
|
+
"type": "boolean",
|
|
159457
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
159418
159458
|
}
|
|
159419
159459
|
},
|
|
159420
159460
|
"required": [
|
|
@@ -160394,6 +160434,11 @@
|
|
|
160394
160434
|
"url_template": {
|
|
160395
160435
|
"type": "string",
|
|
160396
160436
|
"description": "The URL must contain `<num>` for the reference number."
|
|
160437
|
+
},
|
|
160438
|
+
"is_alphanumeric": {
|
|
160439
|
+
"type": "boolean",
|
|
160440
|
+
"default": "true",
|
|
160441
|
+
"description": "Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters."
|
|
160397
160442
|
}
|
|
160398
160443
|
},
|
|
160399
160444
|
"required": [
|
|
@@ -160405,7 +160450,8 @@
|
|
|
160405
160450
|
"default": {
|
|
160406
160451
|
"value": {
|
|
160407
160452
|
"key_prefix": "TICKET-",
|
|
160408
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
160453
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
160454
|
+
"is_alphanumeric": true
|
|
160409
160455
|
}
|
|
160410
160456
|
}
|
|
160411
160457
|
}
|
|
@@ -164658,6 +164704,111 @@
|
|
|
164658
164704
|
"protected",
|
|
164659
164705
|
"protection_url"
|
|
164660
164706
|
]
|
|
164707
|
+
},
|
|
164708
|
+
"examples": {
|
|
164709
|
+
"default": {
|
|
164710
|
+
"value": {
|
|
164711
|
+
"name": "main",
|
|
164712
|
+
"commit": {
|
|
164713
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164714
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
164715
|
+
"commit": {
|
|
164716
|
+
"author": {
|
|
164717
|
+
"name": "The Octocat",
|
|
164718
|
+
"email": "octocat@nowhere.com",
|
|
164719
|
+
"date": "2012-03-06T23:06:50Z"
|
|
164720
|
+
},
|
|
164721
|
+
"committer": {
|
|
164722
|
+
"name": "The Octocat",
|
|
164723
|
+
"email": "octocat@nowhere.com",
|
|
164724
|
+
"date": "2012-03-06T23:06:50Z"
|
|
164725
|
+
},
|
|
164726
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
164727
|
+
"tree": {
|
|
164728
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
164729
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
164730
|
+
},
|
|
164731
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164732
|
+
"comment_count": 77,
|
|
164733
|
+
"verification": {
|
|
164734
|
+
"verified": false,
|
|
164735
|
+
"reason": "unsigned",
|
|
164736
|
+
"signature": null,
|
|
164737
|
+
"payload": null
|
|
164738
|
+
}
|
|
164739
|
+
},
|
|
164740
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164741
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
164742
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
164743
|
+
"author": {
|
|
164744
|
+
"login": "octocat",
|
|
164745
|
+
"id": 583231,
|
|
164746
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
164747
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
164748
|
+
"gravatar_id": "",
|
|
164749
|
+
"url": "https://api.github.com/users/octocat",
|
|
164750
|
+
"html_url": "https://github.com/octocat",
|
|
164751
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
164752
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
164753
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
164754
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
164755
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
164756
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
164757
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
164758
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
164759
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
164760
|
+
"type": "User",
|
|
164761
|
+
"site_admin": false
|
|
164762
|
+
},
|
|
164763
|
+
"committer": {
|
|
164764
|
+
"login": "octocat",
|
|
164765
|
+
"id": 583231,
|
|
164766
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
164767
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
164768
|
+
"gravatar_id": "",
|
|
164769
|
+
"url": "https://api.github.com/users/octocat",
|
|
164770
|
+
"html_url": "https://github.com/octocat",
|
|
164771
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
164772
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
164773
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
164774
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
164775
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
164776
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
164777
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
164778
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
164779
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
164780
|
+
"type": "User",
|
|
164781
|
+
"site_admin": false
|
|
164782
|
+
},
|
|
164783
|
+
"parents": [
|
|
164784
|
+
{
|
|
164785
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
164786
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
164787
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
164788
|
+
},
|
|
164789
|
+
{
|
|
164790
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
164791
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
164792
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
164793
|
+
}
|
|
164794
|
+
]
|
|
164795
|
+
},
|
|
164796
|
+
"_links": {
|
|
164797
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
164798
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
164799
|
+
},
|
|
164800
|
+
"protected": false,
|
|
164801
|
+
"protection": {
|
|
164802
|
+
"enabled": false,
|
|
164803
|
+
"required_status_checks": {
|
|
164804
|
+
"enforcement_level": "off",
|
|
164805
|
+
"contexts": [],
|
|
164806
|
+
"checks": []
|
|
164807
|
+
}
|
|
164808
|
+
},
|
|
164809
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
164810
|
+
}
|
|
164811
|
+
}
|
|
164661
164812
|
}
|
|
164662
164813
|
}
|
|
164663
164814
|
}
|
|
@@ -168431,6 +168582,73 @@
|
|
|
168431
168582
|
"required": [
|
|
168432
168583
|
"url"
|
|
168433
168584
|
]
|
|
168585
|
+
},
|
|
168586
|
+
"examples": {
|
|
168587
|
+
"default": {
|
|
168588
|
+
"value": {
|
|
168589
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
168590
|
+
"required_status_checks": {
|
|
168591
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
168592
|
+
"strict": true,
|
|
168593
|
+
"contexts": [
|
|
168594
|
+
"continuous-integration/travis-ci"
|
|
168595
|
+
],
|
|
168596
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
168597
|
+
"checks": [
|
|
168598
|
+
{
|
|
168599
|
+
"context": "continuous-integration/travis-ci",
|
|
168600
|
+
"app_id": null
|
|
168601
|
+
}
|
|
168602
|
+
]
|
|
168603
|
+
},
|
|
168604
|
+
"restrictions": {
|
|
168605
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
168606
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
168607
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
168608
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
168609
|
+
"users": [],
|
|
168610
|
+
"teams": [],
|
|
168611
|
+
"apps": []
|
|
168612
|
+
},
|
|
168613
|
+
"required_pull_request_reviews": {
|
|
168614
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
168615
|
+
"dismiss_stale_reviews": true,
|
|
168616
|
+
"require_code_owner_reviews": true,
|
|
168617
|
+
"required_approving_review_count": 2,
|
|
168618
|
+
"dismissal_restrictions": {
|
|
168619
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
168620
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
168621
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
168622
|
+
"users": [],
|
|
168623
|
+
"teams": [],
|
|
168624
|
+
"apps": []
|
|
168625
|
+
}
|
|
168626
|
+
},
|
|
168627
|
+
"required_signatures": {
|
|
168628
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
168629
|
+
"enabled": false
|
|
168630
|
+
},
|
|
168631
|
+
"enforce_admins": {
|
|
168632
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
168633
|
+
"enabled": true
|
|
168634
|
+
},
|
|
168635
|
+
"required_linear_history": {
|
|
168636
|
+
"enabled": true
|
|
168637
|
+
},
|
|
168638
|
+
"allow_force_pushes": {
|
|
168639
|
+
"enabled": true
|
|
168640
|
+
},
|
|
168641
|
+
"allow_deletions": {
|
|
168642
|
+
"enabled": true
|
|
168643
|
+
},
|
|
168644
|
+
"block_creations": {
|
|
168645
|
+
"enabled": true
|
|
168646
|
+
},
|
|
168647
|
+
"required_conversation_resolution": {
|
|
168648
|
+
"enabled": true
|
|
168649
|
+
}
|
|
168650
|
+
}
|
|
168651
|
+
}
|
|
168434
168652
|
}
|
|
168435
168653
|
}
|
|
168436
168654
|
}
|
|
@@ -172634,7 +172852,7 @@
|
|
|
172634
172852
|
"properties": {
|
|
172635
172853
|
"contexts": {
|
|
172636
172854
|
"type": "array",
|
|
172637
|
-
"description": "
|
|
172855
|
+
"description": "The name of the status checks",
|
|
172638
172856
|
"items": {
|
|
172639
172857
|
"type": "string"
|
|
172640
172858
|
}
|
|
@@ -172650,6 +172868,17 @@
|
|
|
172650
172868
|
}
|
|
172651
172869
|
}
|
|
172652
172870
|
]
|
|
172871
|
+
},
|
|
172872
|
+
"examples": {
|
|
172873
|
+
"default": {
|
|
172874
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
172875
|
+
"value": {
|
|
172876
|
+
"contexts": [
|
|
172877
|
+
"continuous-integration/travis-ci",
|
|
172878
|
+
"continuous-integration/jenkins"
|
|
172879
|
+
]
|
|
172880
|
+
}
|
|
172881
|
+
}
|
|
172653
172882
|
}
|
|
172654
172883
|
}
|
|
172655
172884
|
}
|
|
@@ -172859,7 +173088,7 @@
|
|
|
172859
173088
|
"properties": {
|
|
172860
173089
|
"contexts": {
|
|
172861
173090
|
"type": "array",
|
|
172862
|
-
"description": "
|
|
173091
|
+
"description": "The name of the status checks",
|
|
172863
173092
|
"items": {
|
|
172864
173093
|
"type": "string"
|
|
172865
173094
|
}
|
|
@@ -172875,6 +173104,16 @@
|
|
|
172875
173104
|
}
|
|
172876
173105
|
}
|
|
172877
173106
|
]
|
|
173107
|
+
},
|
|
173108
|
+
"examples": {
|
|
173109
|
+
"default": {
|
|
173110
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
173111
|
+
"value": {
|
|
173112
|
+
"contexts": [
|
|
173113
|
+
"continuous-integration/travis-ci"
|
|
173114
|
+
]
|
|
173115
|
+
}
|
|
173116
|
+
}
|
|
172878
173117
|
}
|
|
172879
173118
|
}
|
|
172880
173119
|
}
|
|
@@ -173056,7 +173295,7 @@
|
|
|
173056
173295
|
"properties": {
|
|
173057
173296
|
"contexts": {
|
|
173058
173297
|
"type": "array",
|
|
173059
|
-
"description": "
|
|
173298
|
+
"description": "The name of the status checks",
|
|
173060
173299
|
"items": {
|
|
173061
173300
|
"type": "string"
|
|
173062
173301
|
}
|
|
@@ -173072,6 +173311,16 @@
|
|
|
173072
173311
|
}
|
|
173073
173312
|
}
|
|
173074
173313
|
]
|
|
173314
|
+
},
|
|
173315
|
+
"examples": {
|
|
173316
|
+
"default": {
|
|
173317
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
173318
|
+
"value": {
|
|
173319
|
+
"contexts": [
|
|
173320
|
+
"continuous-integration/travis-ci"
|
|
173321
|
+
]
|
|
173322
|
+
}
|
|
173323
|
+
}
|
|
173075
173324
|
}
|
|
173076
173325
|
}
|
|
173077
173326
|
}
|
|
@@ -175777,7 +176026,7 @@
|
|
|
175777
176026
|
"properties": {
|
|
175778
176027
|
"teams": {
|
|
175779
176028
|
"type": "array",
|
|
175780
|
-
"description": "teams
|
|
176029
|
+
"description": "The slug values for teams",
|
|
175781
176030
|
"items": {
|
|
175782
176031
|
"type": "string"
|
|
175783
176032
|
}
|
|
@@ -175793,6 +176042,16 @@
|
|
|
175793
176042
|
}
|
|
175794
176043
|
}
|
|
175795
176044
|
]
|
|
176045
|
+
},
|
|
176046
|
+
"examples": {
|
|
176047
|
+
"default": {
|
|
176048
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
176049
|
+
"value": {
|
|
176050
|
+
"teams": [
|
|
176051
|
+
"justice-league"
|
|
176052
|
+
]
|
|
176053
|
+
}
|
|
176054
|
+
}
|
|
175796
176055
|
}
|
|
175797
176056
|
}
|
|
175798
176057
|
}
|
|
@@ -176123,7 +176382,7 @@
|
|
|
176123
176382
|
"properties": {
|
|
176124
176383
|
"teams": {
|
|
176125
176384
|
"type": "array",
|
|
176126
|
-
"description": "teams
|
|
176385
|
+
"description": "The slug values for teams",
|
|
176127
176386
|
"items": {
|
|
176128
176387
|
"type": "string"
|
|
176129
176388
|
}
|
|
@@ -176134,11 +176393,21 @@
|
|
|
176134
176393
|
],
|
|
176135
176394
|
"example": {
|
|
176136
176395
|
"teams": [
|
|
176137
|
-
"
|
|
176396
|
+
"justice-league"
|
|
176138
176397
|
]
|
|
176139
176398
|
}
|
|
176140
176399
|
}
|
|
176141
176400
|
]
|
|
176401
|
+
},
|
|
176402
|
+
"examples": {
|
|
176403
|
+
"default": {
|
|
176404
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
176405
|
+
"value": {
|
|
176406
|
+
"teams": [
|
|
176407
|
+
"justice-league"
|
|
176408
|
+
]
|
|
176409
|
+
}
|
|
176410
|
+
}
|
|
176142
176411
|
}
|
|
176143
176412
|
}
|
|
176144
176413
|
}
|
|
@@ -176468,7 +176737,7 @@
|
|
|
176468
176737
|
"properties": {
|
|
176469
176738
|
"teams": {
|
|
176470
176739
|
"type": "array",
|
|
176471
|
-
"description": "teams
|
|
176740
|
+
"description": "The slug values for teams",
|
|
176472
176741
|
"items": {
|
|
176473
176742
|
"type": "string"
|
|
176474
176743
|
}
|
|
@@ -176484,6 +176753,16 @@
|
|
|
176484
176753
|
}
|
|
176485
176754
|
}
|
|
176486
176755
|
]
|
|
176756
|
+
},
|
|
176757
|
+
"examples": {
|
|
176758
|
+
"default": {
|
|
176759
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
176760
|
+
"value": {
|
|
176761
|
+
"teams": [
|
|
176762
|
+
"justice-league"
|
|
176763
|
+
]
|
|
176764
|
+
}
|
|
176765
|
+
}
|
|
176487
176766
|
}
|
|
176488
176767
|
}
|
|
176489
176768
|
}
|
|
@@ -177048,7 +177327,7 @@
|
|
|
177048
177327
|
"properties": {
|
|
177049
177328
|
"users": {
|
|
177050
177329
|
"type": "array",
|
|
177051
|
-
"description": "users
|
|
177330
|
+
"description": "The username for users",
|
|
177052
177331
|
"items": {
|
|
177053
177332
|
"type": "string"
|
|
177054
177333
|
}
|
|
@@ -177064,6 +177343,16 @@
|
|
|
177064
177343
|
}
|
|
177065
177344
|
}
|
|
177066
177345
|
]
|
|
177346
|
+
},
|
|
177347
|
+
"examples": {
|
|
177348
|
+
"default": {
|
|
177349
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
177350
|
+
"value": {
|
|
177351
|
+
"users": [
|
|
177352
|
+
"octocat"
|
|
177353
|
+
]
|
|
177354
|
+
}
|
|
177355
|
+
}
|
|
177067
177356
|
}
|
|
177068
177357
|
}
|
|
177069
177358
|
}
|
|
@@ -177355,7 +177644,7 @@
|
|
|
177355
177644
|
"properties": {
|
|
177356
177645
|
"users": {
|
|
177357
177646
|
"type": "array",
|
|
177358
|
-
"description": "users
|
|
177647
|
+
"description": "The username for users",
|
|
177359
177648
|
"items": {
|
|
177360
177649
|
"type": "string"
|
|
177361
177650
|
}
|
|
@@ -177371,6 +177660,16 @@
|
|
|
177371
177660
|
}
|
|
177372
177661
|
}
|
|
177373
177662
|
]
|
|
177663
|
+
},
|
|
177664
|
+
"examples": {
|
|
177665
|
+
"default": {
|
|
177666
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
177667
|
+
"value": {
|
|
177668
|
+
"users": [
|
|
177669
|
+
"octocat"
|
|
177670
|
+
]
|
|
177671
|
+
}
|
|
177672
|
+
}
|
|
177374
177673
|
}
|
|
177375
177674
|
}
|
|
177376
177675
|
}
|
|
@@ -177661,7 +177960,7 @@
|
|
|
177661
177960
|
"properties": {
|
|
177662
177961
|
"users": {
|
|
177663
177962
|
"type": "array",
|
|
177664
|
-
"description": "users
|
|
177963
|
+
"description": "The username for users",
|
|
177665
177964
|
"items": {
|
|
177666
177965
|
"type": "string"
|
|
177667
177966
|
}
|
|
@@ -177677,6 +177976,16 @@
|
|
|
177677
177976
|
}
|
|
177678
177977
|
}
|
|
177679
177978
|
]
|
|
177979
|
+
},
|
|
177980
|
+
"examples": {
|
|
177981
|
+
"default": {
|
|
177982
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
177983
|
+
"value": {
|
|
177984
|
+
"users": [
|
|
177985
|
+
"octocat"
|
|
177986
|
+
]
|
|
177987
|
+
}
|
|
177988
|
+
}
|
|
177680
177989
|
}
|
|
177681
177990
|
}
|
|
177682
177991
|
}
|
|
@@ -186205,6 +186514,10 @@
|
|
|
186205
186514
|
"starred_at": {
|
|
186206
186515
|
"type": "string",
|
|
186207
186516
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
186517
|
+
},
|
|
186518
|
+
"anonymous_access_enabled": {
|
|
186519
|
+
"type": "boolean",
|
|
186520
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
186208
186521
|
}
|
|
186209
186522
|
},
|
|
186210
186523
|
"required": [
|
|
@@ -188785,6 +189098,10 @@
|
|
|
188785
189098
|
"starred_at": {
|
|
188786
189099
|
"type": "string",
|
|
188787
189100
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
189101
|
+
},
|
|
189102
|
+
"anonymous_access_enabled": {
|
|
189103
|
+
"type": "boolean",
|
|
189104
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
188788
189105
|
}
|
|
188789
189106
|
},
|
|
188790
189107
|
"required": [
|
|
@@ -191082,6 +191399,10 @@
|
|
|
191082
191399
|
"starred_at": {
|
|
191083
191400
|
"type": "string",
|
|
191084
191401
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
191402
|
+
},
|
|
191403
|
+
"anonymous_access_enabled": {
|
|
191404
|
+
"type": "boolean",
|
|
191405
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
191085
191406
|
}
|
|
191086
191407
|
},
|
|
191087
191408
|
"required": [
|
|
@@ -193552,6 +193873,10 @@
|
|
|
193552
193873
|
"starred_at": {
|
|
193553
193874
|
"type": "string",
|
|
193554
193875
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
193876
|
+
},
|
|
193877
|
+
"anonymous_access_enabled": {
|
|
193878
|
+
"type": "boolean",
|
|
193879
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
193555
193880
|
}
|
|
193556
193881
|
},
|
|
193557
193882
|
"required": [
|
|
@@ -196294,6 +196619,11 @@
|
|
|
196294
196619
|
"nullable": true,
|
|
196295
196620
|
"type": "string",
|
|
196296
196621
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
196622
|
+
},
|
|
196623
|
+
"help_uri": {
|
|
196624
|
+
"nullable": true,
|
|
196625
|
+
"type": "string",
|
|
196626
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
196297
196627
|
}
|
|
196298
196628
|
}
|
|
196299
196629
|
},
|
|
@@ -196456,7 +196786,8 @@
|
|
|
196456
196786
|
"security",
|
|
196457
196787
|
"external/cwe/cwe-022"
|
|
196458
196788
|
],
|
|
196459
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
196789
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
196790
|
+
"help_uri": "https://codeql.github.com/"
|
|
196460
196791
|
},
|
|
196461
196792
|
"tool": {
|
|
196462
196793
|
"name": "CodeQL",
|
|
@@ -196935,6 +197266,11 @@
|
|
|
196935
197266
|
"nullable": true,
|
|
196936
197267
|
"type": "string",
|
|
196937
197268
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
197269
|
+
},
|
|
197270
|
+
"help_uri": {
|
|
197271
|
+
"nullable": true,
|
|
197272
|
+
"type": "string",
|
|
197273
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
196938
197274
|
}
|
|
196939
197275
|
}
|
|
196940
197276
|
},
|
|
@@ -197097,7 +197433,8 @@
|
|
|
197097
197433
|
"security",
|
|
197098
197434
|
"external/cwe/cwe-022"
|
|
197099
197435
|
],
|
|
197100
|
-
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ..."
|
|
197436
|
+
"help": "# Arbitrary file write during zip extraction (\"Zip Slip\")\\nExtracting files from a malicious zip archive without validating that the destination file path is within the destination directory can cause files outside the destination directory to be overwritten ...",
|
|
197437
|
+
"help_uri": "https://codeql.github.com/"
|
|
197101
197438
|
},
|
|
197102
197439
|
"tool": {
|
|
197103
197440
|
"name": "CodeQL",
|
|
@@ -197380,6 +197717,7 @@
|
|
|
197380
197717
|
"ref": "refs/heads/main",
|
|
197381
197718
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
197382
197719
|
"environment": "",
|
|
197720
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
197383
197721
|
"state": "open",
|
|
197384
197722
|
"fixed_at": null,
|
|
197385
197723
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -197852,7 +198190,13 @@
|
|
|
197852
198190
|
"githubCloudOnly": false,
|
|
197853
198191
|
"category": "code-scanning"
|
|
197854
198192
|
},
|
|
197855
|
-
"x-octokit": {
|
|
198193
|
+
"x-octokit": {
|
|
198194
|
+
"diff": {
|
|
198195
|
+
"api.github.com": {
|
|
198196
|
+
"type": "changed"
|
|
198197
|
+
}
|
|
198198
|
+
}
|
|
198199
|
+
}
|
|
197856
198200
|
}
|
|
197857
198201
|
},
|
|
197858
198202
|
"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": {
|
|
@@ -198176,7 +198520,7 @@
|
|
|
198176
198520
|
},
|
|
198177
198521
|
"delete": {
|
|
198178
198522
|
"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* `
|
|
198523
|
+
"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
198524
|
"operationId": "code-scanning/delete-analysis",
|
|
198181
198525
|
"tags": [
|
|
198182
198526
|
"code-scanning"
|
|
@@ -200899,6 +201243,10 @@
|
|
|
200899
201243
|
"starred_at": {
|
|
200900
201244
|
"type": "string",
|
|
200901
201245
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
201246
|
+
},
|
|
201247
|
+
"anonymous_access_enabled": {
|
|
201248
|
+
"type": "boolean",
|
|
201249
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
200902
201250
|
}
|
|
200903
201251
|
},
|
|
200904
201252
|
"required": [
|
|
@@ -208236,6 +208584,10 @@
|
|
|
208236
208584
|
"starred_at": {
|
|
208237
208585
|
"type": "string",
|
|
208238
208586
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
208587
|
+
},
|
|
208588
|
+
"anonymous_access_enabled": {
|
|
208589
|
+
"type": "boolean",
|
|
208590
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
208239
208591
|
}
|
|
208240
208592
|
},
|
|
208241
208593
|
"required": [
|
|
@@ -209566,6 +209918,10 @@
|
|
|
209566
209918
|
"starred_at": {
|
|
209567
209919
|
"type": "string",
|
|
209568
209920
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
209921
|
+
},
|
|
209922
|
+
"anonymous_access_enabled": {
|
|
209923
|
+
"type": "boolean",
|
|
209924
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
209569
209925
|
}
|
|
209570
209926
|
},
|
|
209571
209927
|
"required": [
|
|
@@ -211441,6 +211797,27 @@
|
|
|
211441
211797
|
}
|
|
211442
211798
|
}
|
|
211443
211799
|
}
|
|
211800
|
+
},
|
|
211801
|
+
"503": {
|
|
211802
|
+
"description": "Service unavailable",
|
|
211803
|
+
"content": {
|
|
211804
|
+
"application/json": {
|
|
211805
|
+
"schema": {
|
|
211806
|
+
"type": "object",
|
|
211807
|
+
"properties": {
|
|
211808
|
+
"code": {
|
|
211809
|
+
"type": "string"
|
|
211810
|
+
},
|
|
211811
|
+
"message": {
|
|
211812
|
+
"type": "string"
|
|
211813
|
+
},
|
|
211814
|
+
"documentation_url": {
|
|
211815
|
+
"type": "string"
|
|
211816
|
+
}
|
|
211817
|
+
}
|
|
211818
|
+
}
|
|
211819
|
+
}
|
|
211820
|
+
}
|
|
211444
211821
|
}
|
|
211445
211822
|
},
|
|
211446
211823
|
"x-github": {
|
|
@@ -214553,6 +214930,10 @@
|
|
|
214553
214930
|
"starred_at": {
|
|
214554
214931
|
"type": "string",
|
|
214555
214932
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
214933
|
+
},
|
|
214934
|
+
"anonymous_access_enabled": {
|
|
214935
|
+
"type": "boolean",
|
|
214936
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
214556
214937
|
}
|
|
214557
214938
|
},
|
|
214558
214939
|
"required": [
|
|
@@ -216771,6 +217152,10 @@
|
|
|
216771
217152
|
"starred_at": {
|
|
216772
217153
|
"type": "string",
|
|
216773
217154
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
217155
|
+
},
|
|
217156
|
+
"anonymous_access_enabled": {
|
|
217157
|
+
"type": "boolean",
|
|
217158
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
216774
217159
|
}
|
|
216775
217160
|
},
|
|
216776
217161
|
"required": [
|
|
@@ -219532,6 +219917,27 @@
|
|
|
219532
219917
|
}
|
|
219533
219918
|
}
|
|
219534
219919
|
}
|
|
219920
|
+
},
|
|
219921
|
+
"503": {
|
|
219922
|
+
"description": "Service unavailable",
|
|
219923
|
+
"content": {
|
|
219924
|
+
"application/json": {
|
|
219925
|
+
"schema": {
|
|
219926
|
+
"type": "object",
|
|
219927
|
+
"properties": {
|
|
219928
|
+
"code": {
|
|
219929
|
+
"type": "string"
|
|
219930
|
+
},
|
|
219931
|
+
"message": {
|
|
219932
|
+
"type": "string"
|
|
219933
|
+
},
|
|
219934
|
+
"documentation_url": {
|
|
219935
|
+
"type": "string"
|
|
219936
|
+
}
|
|
219937
|
+
}
|
|
219938
|
+
}
|
|
219939
|
+
}
|
|
219940
|
+
}
|
|
219535
219941
|
}
|
|
219536
219942
|
},
|
|
219537
219943
|
"x-github": {
|
|
@@ -219545,7 +219951,7 @@
|
|
|
219545
219951
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
219546
219952
|
"get": {
|
|
219547
219953
|
"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**
|
|
219954
|
+
"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
219955
|
"tags": [
|
|
219550
219956
|
"repos"
|
|
219551
219957
|
],
|
|
@@ -231274,6 +231680,10 @@
|
|
|
231274
231680
|
"starred_at": {
|
|
231275
231681
|
"type": "string",
|
|
231276
231682
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
231683
|
+
},
|
|
231684
|
+
"anonymous_access_enabled": {
|
|
231685
|
+
"type": "boolean",
|
|
231686
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
231277
231687
|
}
|
|
231278
231688
|
},
|
|
231279
231689
|
"required": [
|
|
@@ -233928,6 +234338,10 @@
|
|
|
233928
234338
|
"starred_at": {
|
|
233929
234339
|
"type": "string",
|
|
233930
234340
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
234341
|
+
},
|
|
234342
|
+
"anonymous_access_enabled": {
|
|
234343
|
+
"type": "boolean",
|
|
234344
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
233931
234345
|
}
|
|
233932
234346
|
},
|
|
233933
234347
|
"required": [
|
|
@@ -235975,6 +236389,10 @@
|
|
|
235975
236389
|
"starred_at": {
|
|
235976
236390
|
"type": "string",
|
|
235977
236391
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
236392
|
+
},
|
|
236393
|
+
"anonymous_access_enabled": {
|
|
236394
|
+
"type": "boolean",
|
|
236395
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
235978
236396
|
}
|
|
235979
236397
|
},
|
|
235980
236398
|
"required": [
|
|
@@ -237409,6 +237827,10 @@
|
|
|
237409
237827
|
"starred_at": {
|
|
237410
237828
|
"type": "string",
|
|
237411
237829
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
237830
|
+
},
|
|
237831
|
+
"anonymous_access_enabled": {
|
|
237832
|
+
"type": "boolean",
|
|
237833
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
237412
237834
|
}
|
|
237413
237835
|
},
|
|
237414
237836
|
"required": [
|
|
@@ -238598,6 +239020,10 @@
|
|
|
238598
239020
|
"starred_at": {
|
|
238599
239021
|
"type": "string",
|
|
238600
239022
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
239023
|
+
},
|
|
239024
|
+
"anonymous_access_enabled": {
|
|
239025
|
+
"type": "boolean",
|
|
239026
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
238601
239027
|
}
|
|
238602
239028
|
},
|
|
238603
239029
|
"required": [
|
|
@@ -246041,14 +246467,6 @@
|
|
|
246041
246467
|
"write"
|
|
246042
246468
|
]
|
|
246043
246469
|
},
|
|
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
246470
|
"deployments": {
|
|
246053
246471
|
"type": "string",
|
|
246054
246472
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -246569,7 +246987,13 @@
|
|
|
246569
246987
|
"category": "apps",
|
|
246570
246988
|
"subcategory": null
|
|
246571
246989
|
},
|
|
246572
|
-
"x-octokit": {
|
|
246990
|
+
"x-octokit": {
|
|
246991
|
+
"diff": {
|
|
246992
|
+
"api.github.com": {
|
|
246993
|
+
"type": "changed"
|
|
246994
|
+
}
|
|
246995
|
+
}
|
|
246996
|
+
}
|
|
246573
246997
|
}
|
|
246574
246998
|
},
|
|
246575
246999
|
"/repos/{owner}/{repo}/invitations": {
|
|
@@ -248185,6 +248609,10 @@
|
|
|
248185
248609
|
"starred_at": {
|
|
248186
248610
|
"type": "string",
|
|
248187
248611
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
248612
|
+
},
|
|
248613
|
+
"anonymous_access_enabled": {
|
|
248614
|
+
"type": "boolean",
|
|
248615
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
248188
248616
|
}
|
|
248189
248617
|
},
|
|
248190
248618
|
"required": [
|
|
@@ -248892,6 +249320,14 @@
|
|
|
248892
249320
|
]
|
|
248893
249321
|
}
|
|
248894
249322
|
}
|
|
249323
|
+
},
|
|
249324
|
+
"examples": {
|
|
249325
|
+
"default": {
|
|
249326
|
+
"summary": "Example request body",
|
|
249327
|
+
"value": {
|
|
249328
|
+
"permissions": "write"
|
|
249329
|
+
}
|
|
249330
|
+
}
|
|
248895
249331
|
}
|
|
248896
249332
|
}
|
|
248897
249333
|
}
|
|
@@ -250457,6 +250893,10 @@
|
|
|
250457
250893
|
"starred_at": {
|
|
250458
250894
|
"type": "string",
|
|
250459
250895
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
250896
|
+
},
|
|
250897
|
+
"anonymous_access_enabled": {
|
|
250898
|
+
"type": "boolean",
|
|
250899
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
250460
250900
|
}
|
|
250461
250901
|
},
|
|
250462
250902
|
"required": [
|
|
@@ -253301,6 +253741,10 @@
|
|
|
253301
253741
|
"starred_at": {
|
|
253302
253742
|
"type": "string",
|
|
253303
253743
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
253744
|
+
},
|
|
253745
|
+
"anonymous_access_enabled": {
|
|
253746
|
+
"type": "boolean",
|
|
253747
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
253304
253748
|
}
|
|
253305
253749
|
},
|
|
253306
253750
|
"required": [
|
|
@@ -253874,7 +254318,8 @@
|
|
|
253874
254318
|
"type": "User",
|
|
253875
254319
|
"site_admin": false
|
|
253876
254320
|
},
|
|
253877
|
-
"author_association": "COLLABORATOR"
|
|
254321
|
+
"author_association": "COLLABORATOR",
|
|
254322
|
+
"state_reason": "completed"
|
|
253878
254323
|
}
|
|
253879
254324
|
]
|
|
253880
254325
|
}
|
|
@@ -256153,6 +256598,10 @@
|
|
|
256153
256598
|
"starred_at": {
|
|
256154
256599
|
"type": "string",
|
|
256155
256600
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
256601
|
+
},
|
|
256602
|
+
"anonymous_access_enabled": {
|
|
256603
|
+
"type": "boolean",
|
|
256604
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
256156
256605
|
}
|
|
256157
256606
|
},
|
|
256158
256607
|
"required": [
|
|
@@ -256724,7 +257173,8 @@
|
|
|
256724
257173
|
"type": "User",
|
|
256725
257174
|
"site_admin": false
|
|
256726
257175
|
},
|
|
256727
|
-
"author_association": "COLLABORATOR"
|
|
257176
|
+
"author_association": "COLLABORATOR",
|
|
257177
|
+
"state_reason": "completed"
|
|
256728
257178
|
}
|
|
256729
257179
|
}
|
|
256730
257180
|
}
|
|
@@ -262158,6 +262608,10 @@
|
|
|
262158
262608
|
"starred_at": {
|
|
262159
262609
|
"type": "string",
|
|
262160
262610
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
262611
|
+
},
|
|
262612
|
+
"anonymous_access_enabled": {
|
|
262613
|
+
"type": "boolean",
|
|
262614
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
262161
262615
|
}
|
|
262162
262616
|
},
|
|
262163
262617
|
"required": [
|
|
@@ -263770,7 +264224,8 @@
|
|
|
263770
264224
|
"closed_at": null,
|
|
263771
264225
|
"created_at": "2011-04-22T13:33:48Z",
|
|
263772
264226
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
263773
|
-
"author_association": "COLLABORATOR"
|
|
264227
|
+
"author_association": "COLLABORATOR",
|
|
264228
|
+
"state_reason": "completed"
|
|
263774
264229
|
}
|
|
263775
264230
|
}
|
|
263776
264231
|
]
|
|
@@ -266066,6 +266521,10 @@
|
|
|
266066
266521
|
"starred_at": {
|
|
266067
266522
|
"type": "string",
|
|
266068
266523
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
266524
|
+
},
|
|
266525
|
+
"anonymous_access_enabled": {
|
|
266526
|
+
"type": "boolean",
|
|
266527
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
266069
266528
|
}
|
|
266070
266529
|
},
|
|
266071
266530
|
"required": [
|
|
@@ -267716,7 +268175,8 @@
|
|
|
267716
268175
|
"closed_at": null,
|
|
267717
268176
|
"created_at": "2011-04-22T13:33:48Z",
|
|
267718
268177
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
267719
|
-
"author_association": "COLLABORATOR"
|
|
268178
|
+
"author_association": "COLLABORATOR",
|
|
268179
|
+
"state_reason": "completed"
|
|
267720
268180
|
}
|
|
267721
268181
|
}
|
|
267722
268182
|
}
|
|
@@ -269856,6 +270316,10 @@
|
|
|
269856
270316
|
"starred_at": {
|
|
269857
270317
|
"type": "string",
|
|
269858
270318
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
270319
|
+
},
|
|
270320
|
+
"anonymous_access_enabled": {
|
|
270321
|
+
"type": "boolean",
|
|
270322
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
269859
270323
|
}
|
|
269860
270324
|
},
|
|
269861
270325
|
"required": [
|
|
@@ -270427,7 +270891,8 @@
|
|
|
270427
270891
|
"type": "User",
|
|
270428
270892
|
"site_admin": false
|
|
270429
270893
|
},
|
|
270430
|
-
"author_association": "COLLABORATOR"
|
|
270894
|
+
"author_association": "COLLABORATOR",
|
|
270895
|
+
"state_reason": "completed"
|
|
270431
270896
|
}
|
|
270432
270897
|
}
|
|
270433
270898
|
}
|
|
@@ -270601,6 +271066,12 @@
|
|
|
270601
271066
|
"closed"
|
|
270602
271067
|
]
|
|
270603
271068
|
},
|
|
271069
|
+
"state_reason": {
|
|
271070
|
+
"type": "string",
|
|
271071
|
+
"nullable": true,
|
|
271072
|
+
"description": "The reason for the current state",
|
|
271073
|
+
"example": "not_planned"
|
|
271074
|
+
},
|
|
270604
271075
|
"milestone": {
|
|
270605
271076
|
"oneOf": [
|
|
270606
271077
|
{
|
|
@@ -272674,6 +273145,10 @@
|
|
|
272674
273145
|
"starred_at": {
|
|
272675
273146
|
"type": "string",
|
|
272676
273147
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
273148
|
+
},
|
|
273149
|
+
"anonymous_access_enabled": {
|
|
273150
|
+
"type": "boolean",
|
|
273151
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
272677
273152
|
}
|
|
272678
273153
|
},
|
|
272679
273154
|
"required": [
|
|
@@ -273245,7 +273720,8 @@
|
|
|
273245
273720
|
"type": "User",
|
|
273246
273721
|
"site_admin": false
|
|
273247
273722
|
},
|
|
273248
|
-
"author_association": "COLLABORATOR"
|
|
273723
|
+
"author_association": "COLLABORATOR",
|
|
273724
|
+
"state_reason": "completed"
|
|
273249
273725
|
}
|
|
273250
273726
|
}
|
|
273251
273727
|
}
|
|
@@ -275529,6 +276005,10 @@
|
|
|
275529
276005
|
"starred_at": {
|
|
275530
276006
|
"type": "string",
|
|
275531
276007
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
276008
|
+
},
|
|
276009
|
+
"anonymous_access_enabled": {
|
|
276010
|
+
"type": "boolean",
|
|
276011
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
275532
276012
|
}
|
|
275533
276013
|
},
|
|
275534
276014
|
"required": [
|
|
@@ -276100,7 +276580,8 @@
|
|
|
276100
276580
|
"type": "User",
|
|
276101
276581
|
"site_admin": false
|
|
276102
276582
|
},
|
|
276103
|
-
"author_association": "COLLABORATOR"
|
|
276583
|
+
"author_association": "COLLABORATOR",
|
|
276584
|
+
"state_reason": "completed"
|
|
276104
276585
|
}
|
|
276105
276586
|
}
|
|
276106
276587
|
}
|
|
@@ -299381,6 +299862,10 @@
|
|
|
299381
299862
|
"starred_at": {
|
|
299382
299863
|
"type": "string",
|
|
299383
299864
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
299865
|
+
},
|
|
299866
|
+
"anonymous_access_enabled": {
|
|
299867
|
+
"type": "boolean",
|
|
299868
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
299384
299869
|
}
|
|
299385
299870
|
},
|
|
299386
299871
|
"required": [
|
|
@@ -308669,6 +309154,10 @@
|
|
|
308669
309154
|
"starred_at": {
|
|
308670
309155
|
"type": "string",
|
|
308671
309156
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
309157
|
+
},
|
|
309158
|
+
"anonymous_access_enabled": {
|
|
309159
|
+
"type": "boolean",
|
|
309160
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
308672
309161
|
}
|
|
308673
309162
|
},
|
|
308674
309163
|
"required": [
|
|
@@ -314708,6 +315197,10 @@
|
|
|
314708
315197
|
"starred_at": {
|
|
314709
315198
|
"type": "string",
|
|
314710
315199
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
315200
|
+
},
|
|
315201
|
+
"anonymous_access_enabled": {
|
|
315202
|
+
"type": "boolean",
|
|
315203
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
314711
315204
|
}
|
|
314712
315205
|
},
|
|
314713
315206
|
"required": [
|
|
@@ -316038,6 +316531,10 @@
|
|
|
316038
316531
|
"starred_at": {
|
|
316039
316532
|
"type": "string",
|
|
316040
316533
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
316534
|
+
},
|
|
316535
|
+
"anonymous_access_enabled": {
|
|
316536
|
+
"type": "boolean",
|
|
316537
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
316041
316538
|
}
|
|
316042
316539
|
},
|
|
316043
316540
|
"required": [
|
|
@@ -326595,6 +327092,27 @@
|
|
|
326595
327092
|
}
|
|
326596
327093
|
}
|
|
326597
327094
|
}
|
|
327095
|
+
},
|
|
327096
|
+
"503": {
|
|
327097
|
+
"description": "Service unavailable",
|
|
327098
|
+
"content": {
|
|
327099
|
+
"application/json": {
|
|
327100
|
+
"schema": {
|
|
327101
|
+
"type": "object",
|
|
327102
|
+
"properties": {
|
|
327103
|
+
"code": {
|
|
327104
|
+
"type": "string"
|
|
327105
|
+
},
|
|
327106
|
+
"message": {
|
|
327107
|
+
"type": "string"
|
|
327108
|
+
},
|
|
327109
|
+
"documentation_url": {
|
|
327110
|
+
"type": "string"
|
|
327111
|
+
}
|
|
327112
|
+
}
|
|
327113
|
+
}
|
|
327114
|
+
}
|
|
327115
|
+
}
|
|
326598
327116
|
}
|
|
326599
327117
|
},
|
|
326600
327118
|
"x-github": {
|
|
@@ -332818,6 +333336,27 @@
|
|
|
332818
333336
|
}
|
|
332819
333337
|
}
|
|
332820
333338
|
}
|
|
333339
|
+
},
|
|
333340
|
+
"503": {
|
|
333341
|
+
"description": "Service unavailable",
|
|
333342
|
+
"content": {
|
|
333343
|
+
"application/json": {
|
|
333344
|
+
"schema": {
|
|
333345
|
+
"type": "object",
|
|
333346
|
+
"properties": {
|
|
333347
|
+
"code": {
|
|
333348
|
+
"type": "string"
|
|
333349
|
+
},
|
|
333350
|
+
"message": {
|
|
333351
|
+
"type": "string"
|
|
333352
|
+
},
|
|
333353
|
+
"documentation_url": {
|
|
333354
|
+
"type": "string"
|
|
333355
|
+
}
|
|
333356
|
+
}
|
|
333357
|
+
}
|
|
333358
|
+
}
|
|
333359
|
+
}
|
|
332821
333360
|
}
|
|
332822
333361
|
},
|
|
332823
333362
|
"x-github": {
|
|
@@ -335839,6 +336378,10 @@
|
|
|
335839
336378
|
"starred_at": {
|
|
335840
336379
|
"type": "string",
|
|
335841
336380
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
336381
|
+
},
|
|
336382
|
+
"anonymous_access_enabled": {
|
|
336383
|
+
"type": "boolean",
|
|
336384
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
335842
336385
|
}
|
|
335843
336386
|
},
|
|
335844
336387
|
"required": [
|
|
@@ -337169,6 +337712,10 @@
|
|
|
337169
337712
|
"starred_at": {
|
|
337170
337713
|
"type": "string",
|
|
337171
337714
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
337715
|
+
},
|
|
337716
|
+
"anonymous_access_enabled": {
|
|
337717
|
+
"type": "boolean",
|
|
337718
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
337172
337719
|
}
|
|
337173
337720
|
},
|
|
337174
337721
|
"required": [
|
|
@@ -340548,6 +341095,10 @@
|
|
|
340548
341095
|
"starred_at": {
|
|
340549
341096
|
"type": "string",
|
|
340550
341097
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
341098
|
+
},
|
|
341099
|
+
"anonymous_access_enabled": {
|
|
341100
|
+
"type": "boolean",
|
|
341101
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
340551
341102
|
}
|
|
340552
341103
|
},
|
|
340553
341104
|
"required": [
|
|
@@ -341878,6 +342429,10 @@
|
|
|
341878
342429
|
"starred_at": {
|
|
341879
342430
|
"type": "string",
|
|
341880
342431
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
342432
|
+
},
|
|
342433
|
+
"anonymous_access_enabled": {
|
|
342434
|
+
"type": "boolean",
|
|
342435
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
341881
342436
|
}
|
|
341882
342437
|
},
|
|
341883
342438
|
"required": [
|
|
@@ -360404,6 +360959,10 @@
|
|
|
360404
360959
|
"starred_at": {
|
|
360405
360960
|
"type": "string",
|
|
360406
360961
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
360962
|
+
},
|
|
360963
|
+
"anonymous_access_enabled": {
|
|
360964
|
+
"type": "boolean",
|
|
360965
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
360407
360966
|
}
|
|
360408
360967
|
},
|
|
360409
360968
|
"required": [
|
|
@@ -360938,7 +361497,7 @@
|
|
|
360938
361497
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
360939
361498
|
"post": {
|
|
360940
361499
|
"summary": "Create a repository using a template",
|
|
360941
|
-
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template.
|
|
361500
|
+
"description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/enterprise-server@3.6/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository",
|
|
360942
361501
|
"tags": [
|
|
360943
361502
|
"repos"
|
|
360944
361503
|
],
|
|
@@ -362129,6 +362688,10 @@
|
|
|
362129
362688
|
"starred_at": {
|
|
362130
362689
|
"type": "string",
|
|
362131
362690
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
362691
|
+
},
|
|
362692
|
+
"anonymous_access_enabled": {
|
|
362693
|
+
"type": "boolean",
|
|
362694
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
362132
362695
|
}
|
|
362133
362696
|
},
|
|
362134
362697
|
"required": [
|
|
@@ -363944,6 +364507,10 @@
|
|
|
363944
364507
|
"starred_at": {
|
|
363945
364508
|
"type": "string",
|
|
363946
364509
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
364510
|
+
},
|
|
364511
|
+
"anonymous_access_enabled": {
|
|
364512
|
+
"type": "boolean",
|
|
364513
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
363947
364514
|
}
|
|
363948
364515
|
},
|
|
363949
364516
|
"required": [
|
|
@@ -366476,6 +367043,10 @@
|
|
|
366476
367043
|
"starred_at": {
|
|
366477
367044
|
"type": "string",
|
|
366478
367045
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
367046
|
+
},
|
|
367047
|
+
"anonymous_access_enabled": {
|
|
367048
|
+
"type": "boolean",
|
|
367049
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
366479
367050
|
}
|
|
366480
367051
|
},
|
|
366481
367052
|
"required": [
|
|
@@ -368905,6 +369476,10 @@
|
|
|
368905
369476
|
"starred_at": {
|
|
368906
369477
|
"type": "string",
|
|
368907
369478
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
369479
|
+
},
|
|
369480
|
+
"anonymous_access_enabled": {
|
|
369481
|
+
"type": "boolean",
|
|
369482
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
368908
369483
|
}
|
|
368909
369484
|
},
|
|
368910
369485
|
"required": [
|
|
@@ -371329,6 +371904,10 @@
|
|
|
371329
371904
|
"starred_at": {
|
|
371330
371905
|
"type": "string",
|
|
371331
371906
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
371907
|
+
},
|
|
371908
|
+
"anonymous_access_enabled": {
|
|
371909
|
+
"type": "boolean",
|
|
371910
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
371332
371911
|
}
|
|
371333
371912
|
},
|
|
371334
371913
|
"required": [
|
|
@@ -371839,7 +372418,8 @@
|
|
|
371839
372418
|
"body": "...",
|
|
371840
372419
|
"score": 1,
|
|
371841
372420
|
"locked": true,
|
|
371842
|
-
"author_association": "COLLABORATOR"
|
|
372421
|
+
"author_association": "COLLABORATOR",
|
|
372422
|
+
"state_reason": "completed"
|
|
371843
372423
|
}
|
|
371844
372424
|
]
|
|
371845
372425
|
}
|
|
@@ -375684,8 +376264,8 @@
|
|
|
375684
376264
|
"example": "2017-08-17T12:37:15Z"
|
|
375685
376265
|
},
|
|
375686
376266
|
"organization": {
|
|
375687
|
-
"title": "Organization
|
|
375688
|
-
"description": "Organization
|
|
376267
|
+
"title": "Team Organization",
|
|
376268
|
+
"description": "Team Organization",
|
|
375689
376269
|
"type": "object",
|
|
375690
376270
|
"properties": {
|
|
375691
376271
|
"login": {
|
|
@@ -376302,8 +376882,8 @@
|
|
|
376302
376882
|
"example": "2017-08-17T12:37:15Z"
|
|
376303
376883
|
},
|
|
376304
376884
|
"organization": {
|
|
376305
|
-
"title": "Organization
|
|
376306
|
-
"description": "Organization
|
|
376885
|
+
"title": "Team Organization",
|
|
376886
|
+
"description": "Team Organization",
|
|
376307
376887
|
"type": "object",
|
|
376308
376888
|
"properties": {
|
|
376309
376889
|
"login": {
|
|
@@ -376804,8 +377384,8 @@
|
|
|
376804
377384
|
"example": "2017-08-17T12:37:15Z"
|
|
376805
377385
|
},
|
|
376806
377386
|
"organization": {
|
|
376807
|
-
"title": "Organization
|
|
376808
|
-
"description": "Organization
|
|
377387
|
+
"title": "Team Organization",
|
|
377388
|
+
"description": "Team Organization",
|
|
376809
377389
|
"type": "object",
|
|
376810
377390
|
"properties": {
|
|
376811
377391
|
"login": {
|
|
@@ -385127,6 +385707,10 @@
|
|
|
385127
385707
|
"starred_at": {
|
|
385128
385708
|
"type": "string",
|
|
385129
385709
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
385710
|
+
},
|
|
385711
|
+
"anonymous_access_enabled": {
|
|
385712
|
+
"type": "boolean",
|
|
385713
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
385130
385714
|
}
|
|
385131
385715
|
},
|
|
385132
385716
|
"required": [
|
|
@@ -387193,6 +387777,10 @@
|
|
|
387193
387777
|
"starred_at": {
|
|
387194
387778
|
"type": "string",
|
|
387195
387779
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
387780
|
+
},
|
|
387781
|
+
"anonymous_access_enabled": {
|
|
387782
|
+
"type": "boolean",
|
|
387783
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
387196
387784
|
}
|
|
387197
387785
|
},
|
|
387198
387786
|
"required": [
|
|
@@ -392700,14 +393288,6 @@
|
|
|
392700
393288
|
"write"
|
|
392701
393289
|
]
|
|
392702
393290
|
},
|
|
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
393291
|
"deployments": {
|
|
392712
393292
|
"type": "string",
|
|
392713
393293
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -393297,7 +393877,13 @@
|
|
|
393297
393877
|
"category": "apps",
|
|
393298
393878
|
"subcategory": "installations"
|
|
393299
393879
|
},
|
|
393300
|
-
"x-octokit": {
|
|
393880
|
+
"x-octokit": {
|
|
393881
|
+
"diff": {
|
|
393882
|
+
"api.github.com": {
|
|
393883
|
+
"type": "changed"
|
|
393884
|
+
}
|
|
393885
|
+
}
|
|
393886
|
+
}
|
|
393301
393887
|
}
|
|
393302
393888
|
},
|
|
393303
393889
|
"/user/installations/{installation_id}/repositories": {
|
|
@@ -394477,6 +395063,10 @@
|
|
|
394477
395063
|
"starred_at": {
|
|
394478
395064
|
"type": "string",
|
|
394479
395065
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
395066
|
+
},
|
|
395067
|
+
"anonymous_access_enabled": {
|
|
395068
|
+
"type": "boolean",
|
|
395069
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
394480
395070
|
}
|
|
394481
395071
|
},
|
|
394482
395072
|
"required": [
|
|
@@ -397114,6 +397704,10 @@
|
|
|
397114
397704
|
"starred_at": {
|
|
397115
397705
|
"type": "string",
|
|
397116
397706
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
397707
|
+
},
|
|
397708
|
+
"anonymous_access_enabled": {
|
|
397709
|
+
"type": "boolean",
|
|
397710
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
397117
397711
|
}
|
|
397118
397712
|
},
|
|
397119
397713
|
"required": [
|
|
@@ -401342,6 +401936,10 @@
|
|
|
401342
401936
|
"starred_at": {
|
|
401343
401937
|
"type": "string",
|
|
401344
401938
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
401939
|
+
},
|
|
401940
|
+
"anonymous_access_enabled": {
|
|
401941
|
+
"type": "boolean",
|
|
401942
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
401345
401943
|
}
|
|
401346
401944
|
},
|
|
401347
401945
|
"required": [
|
|
@@ -403087,6 +403685,10 @@
|
|
|
403087
403685
|
"starred_at": {
|
|
403088
403686
|
"type": "string",
|
|
403089
403687
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
403688
|
+
},
|
|
403689
|
+
"anonymous_access_enabled": {
|
|
403690
|
+
"type": "boolean",
|
|
403691
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
403090
403692
|
}
|
|
403091
403693
|
},
|
|
403092
403694
|
"required": [
|
|
@@ -405197,6 +405799,10 @@
|
|
|
405197
405799
|
"starred_at": {
|
|
405198
405800
|
"type": "string",
|
|
405199
405801
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
405802
|
+
},
|
|
405803
|
+
"anonymous_access_enabled": {
|
|
405804
|
+
"type": "boolean",
|
|
405805
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
405200
405806
|
}
|
|
405201
405807
|
},
|
|
405202
405808
|
"required": [
|
|
@@ -407629,6 +408235,10 @@
|
|
|
407629
408235
|
"starred_at": {
|
|
407630
408236
|
"type": "string",
|
|
407631
408237
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
408238
|
+
},
|
|
408239
|
+
"anonymous_access_enabled": {
|
|
408240
|
+
"type": "boolean",
|
|
408241
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
407632
408242
|
}
|
|
407633
408243
|
},
|
|
407634
408244
|
"required": [
|
|
@@ -409248,6 +409858,10 @@
|
|
|
409248
409858
|
"starred_at": {
|
|
409249
409859
|
"type": "string",
|
|
409250
409860
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
409861
|
+
},
|
|
409862
|
+
"anonymous_access_enabled": {
|
|
409863
|
+
"type": "boolean",
|
|
409864
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
409251
409865
|
}
|
|
409252
409866
|
},
|
|
409253
409867
|
"required": [
|
|
@@ -411280,6 +411894,10 @@
|
|
|
411280
411894
|
"starred_at": {
|
|
411281
411895
|
"type": "string",
|
|
411282
411896
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
411897
|
+
},
|
|
411898
|
+
"anonymous_access_enabled": {
|
|
411899
|
+
"type": "boolean",
|
|
411900
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
411283
411901
|
}
|
|
411284
411902
|
},
|
|
411285
411903
|
"required": [
|
|
@@ -413440,6 +414058,10 @@
|
|
|
413440
414058
|
"starred_at": {
|
|
413441
414059
|
"type": "string",
|
|
413442
414060
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
414061
|
+
},
|
|
414062
|
+
"anonymous_access_enabled": {
|
|
414063
|
+
"type": "boolean",
|
|
414064
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
413443
414065
|
}
|
|
413444
414066
|
},
|
|
413445
414067
|
"required": [
|
|
@@ -414773,6 +415395,10 @@
|
|
|
414773
415395
|
"starred_at": {
|
|
414774
415396
|
"type": "string",
|
|
414775
415397
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
415398
|
+
},
|
|
415399
|
+
"anonymous_access_enabled": {
|
|
415400
|
+
"type": "boolean",
|
|
415401
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
414776
415402
|
}
|
|
414777
415403
|
},
|
|
414778
415404
|
"required": [
|
|
@@ -417029,6 +417655,10 @@
|
|
|
417029
417655
|
"starred_at": {
|
|
417030
417656
|
"type": "string",
|
|
417031
417657
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
417658
|
+
},
|
|
417659
|
+
"anonymous_access_enabled": {
|
|
417660
|
+
"type": "boolean",
|
|
417661
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
417032
417662
|
}
|
|
417033
417663
|
},
|
|
417034
417664
|
"required": [
|
|
@@ -417631,8 +418261,8 @@
|
|
|
417631
418261
|
"example": "2017-08-17T12:37:15Z"
|
|
417632
418262
|
},
|
|
417633
418263
|
"organization": {
|
|
417634
|
-
"title": "Organization
|
|
417635
|
-
"description": "Organization
|
|
418264
|
+
"title": "Team Organization",
|
|
418265
|
+
"description": "Team Organization",
|
|
417636
418266
|
"type": "object",
|
|
417637
418267
|
"properties": {
|
|
417638
418268
|
"login": {
|
|
@@ -421016,6 +421646,10 @@
|
|
|
421016
421646
|
"starred_at": {
|
|
421017
421647
|
"type": "string",
|
|
421018
421648
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
421649
|
+
},
|
|
421650
|
+
"anonymous_access_enabled": {
|
|
421651
|
+
"type": "boolean",
|
|
421652
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
421019
421653
|
}
|
|
421020
421654
|
},
|
|
421021
421655
|
"required": [
|
|
@@ -424214,6 +424848,10 @@
|
|
|
424214
424848
|
"starred_at": {
|
|
424215
424849
|
"type": "string",
|
|
424216
424850
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
424851
|
+
},
|
|
424852
|
+
"anonymous_access_enabled": {
|
|
424853
|
+
"type": "boolean",
|
|
424854
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
424217
424855
|
}
|
|
424218
424856
|
},
|
|
424219
424857
|
"required": [
|
|
@@ -427414,6 +428052,10 @@
|
|
|
427414
428052
|
"starred_at": {
|
|
427415
428053
|
"type": "string",
|
|
427416
428054
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
428055
|
+
},
|
|
428056
|
+
"anonymous_access_enabled": {
|
|
428057
|
+
"type": "boolean",
|
|
428058
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
427417
428059
|
}
|
|
427418
428060
|
},
|
|
427419
428061
|
"required": [
|
|
@@ -430262,14 +430904,6 @@
|
|
|
430262
430904
|
"write"
|
|
430263
430905
|
]
|
|
430264
430906
|
},
|
|
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
430907
|
"deployments": {
|
|
430274
430908
|
"type": "string",
|
|
430275
430909
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -430738,7 +431372,13 @@
|
|
|
430738
431372
|
"category": "apps",
|
|
430739
431373
|
"subcategory": null
|
|
430740
431374
|
},
|
|
430741
|
-
"x-octokit": {
|
|
431375
|
+
"x-octokit": {
|
|
431376
|
+
"diff": {
|
|
431377
|
+
"api.github.com": {
|
|
431378
|
+
"type": "changed"
|
|
431379
|
+
}
|
|
431380
|
+
}
|
|
431381
|
+
}
|
|
430742
431382
|
}
|
|
430743
431383
|
},
|
|
430744
431384
|
"/users/{username}/keys": {
|
|
@@ -433563,6 +434203,10 @@
|
|
|
433563
434203
|
"starred_at": {
|
|
433564
434204
|
"type": "string",
|
|
433565
434205
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
434206
|
+
},
|
|
434207
|
+
"anonymous_access_enabled": {
|
|
434208
|
+
"type": "boolean",
|
|
434209
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
433566
434210
|
}
|
|
433567
434211
|
},
|
|
433568
434212
|
"required": [
|
|
@@ -436763,6 +437407,10 @@
|
|
|
436763
437407
|
"starred_at": {
|
|
436764
437408
|
"type": "string",
|
|
436765
437409
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
437410
|
+
},
|
|
437411
|
+
"anonymous_access_enabled": {
|
|
437412
|
+
"type": "boolean",
|
|
437413
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
436766
437414
|
}
|
|
436767
437415
|
},
|
|
436768
437416
|
"required": [
|
|
@@ -439447,6 +440095,10 @@
|
|
|
439447
440095
|
"starred_at": {
|
|
439448
440096
|
"type": "string",
|
|
439449
440097
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
440098
|
+
},
|
|
440099
|
+
"anonymous_access_enabled": {
|
|
440100
|
+
"type": "boolean",
|
|
440101
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
439450
440102
|
}
|
|
439451
440103
|
},
|
|
439452
440104
|
"required": [
|
|
@@ -441077,6 +441729,10 @@
|
|
|
441077
441729
|
"starred_at": {
|
|
441078
441730
|
"type": "string",
|
|
441079
441731
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
441732
|
+
},
|
|
441733
|
+
"anonymous_access_enabled": {
|
|
441734
|
+
"type": "boolean",
|
|
441735
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
441080
441736
|
}
|
|
441081
441737
|
},
|
|
441082
441738
|
"required": [
|
|
@@ -442275,6 +442931,10 @@
|
|
|
442275
442931
|
"starred_at": {
|
|
442276
442932
|
"type": "string",
|
|
442277
442933
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
442934
|
+
},
|
|
442935
|
+
"anonymous_access_enabled": {
|
|
442936
|
+
"type": "boolean",
|
|
442937
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
442278
442938
|
}
|
|
442279
442939
|
},
|
|
442280
442940
|
"required": [
|
|
@@ -444101,6 +444761,10 @@
|
|
|
444101
444761
|
"starred_at": {
|
|
444102
444762
|
"type": "string",
|
|
444103
444763
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
444764
|
+
},
|
|
444765
|
+
"anonymous_access_enabled": {
|
|
444766
|
+
"type": "boolean",
|
|
444767
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
444104
444768
|
}
|
|
444105
444769
|
},
|
|
444106
444770
|
"required": [
|
|
@@ -447853,6 +448517,28 @@
|
|
|
447853
448517
|
}
|
|
447854
448518
|
}
|
|
447855
448519
|
},
|
|
448520
|
+
"/orgs/{org}/{security_product}/{enablement}": {
|
|
448521
|
+
"post": {
|
|
448522
|
+
"summary": "Enable or disable a security feature for an organization",
|
|
448523
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
448524
|
+
"tags": [
|
|
448525
|
+
"orgs"
|
|
448526
|
+
],
|
|
448527
|
+
"operationId": "orgs/enable-or-disable-security-product-on-all-org-repos",
|
|
448528
|
+
"externalDocs": {
|
|
448529
|
+
"description": "API method documentation",
|
|
448530
|
+
"url": "https://docs.github.com/rest/reference/orgs#enable-or-disable-security-product-on-all-org-repos"
|
|
448531
|
+
},
|
|
448532
|
+
"x-octokit": {
|
|
448533
|
+
"api.github.com": "removed"
|
|
448534
|
+
},
|
|
448535
|
+
"responses": {
|
|
448536
|
+
"501": {
|
|
448537
|
+
"description": "Not Implemented"
|
|
448538
|
+
}
|
|
448539
|
+
}
|
|
448540
|
+
}
|
|
448541
|
+
},
|
|
447856
448542
|
"/repos/{owner}/{repo}/actions/caches": {
|
|
447857
448543
|
"get": {
|
|
447858
448544
|
"summary": "List GitHub Actions caches for a repository",
|
|
@@ -450036,6 +450722,90 @@
|
|
|
450036
450722
|
}
|
|
450037
450723
|
}
|
|
450038
450724
|
},
|
|
450725
|
+
"/user/ssh_signing_keys": {
|
|
450726
|
+
"get": {
|
|
450727
|
+
"summary": "List SSH signing keys for the authenticated user",
|
|
450728
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
450729
|
+
"tags": [
|
|
450730
|
+
"users"
|
|
450731
|
+
],
|
|
450732
|
+
"operationId": "users/list-ssh-signing-keys-for-authenticated-user",
|
|
450733
|
+
"externalDocs": {
|
|
450734
|
+
"description": "API method documentation",
|
|
450735
|
+
"url": "https://docs.github.com/rest/reference/users#list-public-ssh-signing-keys-for-the-authenticated-user"
|
|
450736
|
+
},
|
|
450737
|
+
"x-octokit": {
|
|
450738
|
+
"api.github.com": "removed"
|
|
450739
|
+
},
|
|
450740
|
+
"responses": {
|
|
450741
|
+
"501": {
|
|
450742
|
+
"description": "Not Implemented"
|
|
450743
|
+
}
|
|
450744
|
+
}
|
|
450745
|
+
},
|
|
450746
|
+
"post": {
|
|
450747
|
+
"summary": "Create a SSH signing key for the authenticated user",
|
|
450748
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
450749
|
+
"operationId": "users/create-ssh-signing-key-for-authenticated-user",
|
|
450750
|
+
"tags": [
|
|
450751
|
+
"users"
|
|
450752
|
+
],
|
|
450753
|
+
"externalDocs": {
|
|
450754
|
+
"description": "API method documentation",
|
|
450755
|
+
"url": "https://docs.github.com/rest/reference/users#create-an-ssh-signing-key-for-the-authenticated-user"
|
|
450756
|
+
},
|
|
450757
|
+
"x-octokit": {
|
|
450758
|
+
"api.github.com": "removed"
|
|
450759
|
+
},
|
|
450760
|
+
"responses": {
|
|
450761
|
+
"501": {
|
|
450762
|
+
"description": "Not Implemented"
|
|
450763
|
+
}
|
|
450764
|
+
}
|
|
450765
|
+
}
|
|
450766
|
+
},
|
|
450767
|
+
"/user/ssh_signing_keys/{ssh_signing_key_id}": {
|
|
450768
|
+
"get": {
|
|
450769
|
+
"summary": "Get an SSH signing key for the authenticated user",
|
|
450770
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
450771
|
+
"tags": [
|
|
450772
|
+
"users"
|
|
450773
|
+
],
|
|
450774
|
+
"operationId": "users/get-ssh-signing-key-for-authenticated-user",
|
|
450775
|
+
"externalDocs": {
|
|
450776
|
+
"description": "API method documentation",
|
|
450777
|
+
"url": "https://docs.github.com/rest/reference/users#get-a-ssh-signing-key-for-the-authenticated-user"
|
|
450778
|
+
},
|
|
450779
|
+
"x-octokit": {
|
|
450780
|
+
"api.github.com": "removed"
|
|
450781
|
+
},
|
|
450782
|
+
"responses": {
|
|
450783
|
+
"501": {
|
|
450784
|
+
"description": "Not Implemented"
|
|
450785
|
+
}
|
|
450786
|
+
}
|
|
450787
|
+
},
|
|
450788
|
+
"delete": {
|
|
450789
|
+
"summary": "Delete an SSH signing key for the authenticated user",
|
|
450790
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
450791
|
+
"tags": [
|
|
450792
|
+
"users"
|
|
450793
|
+
],
|
|
450794
|
+
"operationId": "users/delete-ssh-signing-key-for-authenticated-user",
|
|
450795
|
+
"externalDocs": {
|
|
450796
|
+
"description": "API method documentation",
|
|
450797
|
+
"url": "https://docs.github.com/rest/reference/users#delete-a-ssh-signing-key-for-the-authenticated-user"
|
|
450798
|
+
},
|
|
450799
|
+
"x-octokit": {
|
|
450800
|
+
"api.github.com": "removed"
|
|
450801
|
+
},
|
|
450802
|
+
"responses": {
|
|
450803
|
+
"501": {
|
|
450804
|
+
"description": "Not Implemented"
|
|
450805
|
+
}
|
|
450806
|
+
}
|
|
450807
|
+
}
|
|
450808
|
+
},
|
|
450039
450809
|
"/users/{username}/packages": {
|
|
450040
450810
|
"get": {
|
|
450041
450811
|
"summary": "List packages for a user",
|
|
@@ -450273,6 +451043,28 @@
|
|
|
450273
451043
|
}
|
|
450274
451044
|
}
|
|
450275
451045
|
}
|
|
451046
|
+
},
|
|
451047
|
+
"/users/{username}/ssh_signing_keys": {
|
|
451048
|
+
"get": {
|
|
451049
|
+
"summary": "List SSH signing keys for a user",
|
|
451050
|
+
"description": "This endpoint does not exist in GitHub Enterprise Server 3.6. It was added in api.github.com",
|
|
451051
|
+
"tags": [
|
|
451052
|
+
"users"
|
|
451053
|
+
],
|
|
451054
|
+
"operationId": "users/list-ssh-signing-keys-for-user",
|
|
451055
|
+
"externalDocs": {
|
|
451056
|
+
"description": "API method documentation",
|
|
451057
|
+
"url": "https://docs.github.com/rest/reference/users#list-ssh-signing-keys-for-a-user"
|
|
451058
|
+
},
|
|
451059
|
+
"x-octokit": {
|
|
451060
|
+
"api.github.com": "removed"
|
|
451061
|
+
},
|
|
451062
|
+
"responses": {
|
|
451063
|
+
"501": {
|
|
451064
|
+
"description": "Not Implemented"
|
|
451065
|
+
}
|
|
451066
|
+
}
|
|
451067
|
+
}
|
|
450276
451068
|
}
|
|
450277
451069
|
}
|
|
450278
451070
|
}
|