@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": {
|
|
@@ -4087,14 +4087,6 @@
|
|
|
4087
4087
|
"write"
|
|
4088
4088
|
]
|
|
4089
4089
|
},
|
|
4090
|
-
"organization_custom_roles": {
|
|
4091
|
-
"type": "string",
|
|
4092
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4093
|
-
"enum": [
|
|
4094
|
-
"read",
|
|
4095
|
-
"write"
|
|
4096
|
-
]
|
|
4097
|
-
},
|
|
4098
4090
|
"deployments": {
|
|
4099
4091
|
"type": "string",
|
|
4100
4092
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5191,14 +5183,6 @@
|
|
|
5191
5183
|
"write"
|
|
5192
5184
|
]
|
|
5193
5185
|
},
|
|
5194
|
-
"organization_custom_roles": {
|
|
5195
|
-
"type": "string",
|
|
5196
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5197
|
-
"enum": [
|
|
5198
|
-
"read",
|
|
5199
|
-
"write"
|
|
5200
|
-
]
|
|
5201
|
-
},
|
|
5202
5186
|
"deployments": {
|
|
5203
5187
|
"type": "string",
|
|
5204
5188
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5871,14 +5855,6 @@
|
|
|
5871
5855
|
"write"
|
|
5872
5856
|
]
|
|
5873
5857
|
},
|
|
5874
|
-
"organization_custom_roles": {
|
|
5875
|
-
"type": "string",
|
|
5876
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5877
|
-
"enum": [
|
|
5878
|
-
"read",
|
|
5879
|
-
"write"
|
|
5880
|
-
]
|
|
5881
|
-
},
|
|
5882
5858
|
"deployments": {
|
|
5883
5859
|
"type": "string",
|
|
5884
5860
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8462,14 +8438,6 @@
|
|
|
8462
8438
|
"write"
|
|
8463
8439
|
]
|
|
8464
8440
|
},
|
|
8465
|
-
"organization_custom_roles": {
|
|
8466
|
-
"type": "string",
|
|
8467
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8468
|
-
"enum": [
|
|
8469
|
-
"read",
|
|
8470
|
-
"write"
|
|
8471
|
-
]
|
|
8472
|
-
},
|
|
8473
8441
|
"deployments": {
|
|
8474
8442
|
"type": "string",
|
|
8475
8443
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9273,14 +9241,6 @@
|
|
|
9273
9241
|
"write"
|
|
9274
9242
|
]
|
|
9275
9243
|
},
|
|
9276
|
-
"organization_custom_roles": {
|
|
9277
|
-
"type": "string",
|
|
9278
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9279
|
-
"enum": [
|
|
9280
|
-
"read",
|
|
9281
|
-
"write"
|
|
9282
|
-
]
|
|
9283
|
-
},
|
|
9284
9244
|
"deployments": {
|
|
9285
9245
|
"type": "string",
|
|
9286
9246
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9948,14 +9908,6 @@
|
|
|
9948
9908
|
"write"
|
|
9949
9909
|
]
|
|
9950
9910
|
},
|
|
9951
|
-
"organization_custom_roles": {
|
|
9952
|
-
"type": "string",
|
|
9953
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9954
|
-
"enum": [
|
|
9955
|
-
"read",
|
|
9956
|
-
"write"
|
|
9957
|
-
]
|
|
9958
|
-
},
|
|
9959
9911
|
"deployments": {
|
|
9960
9912
|
"type": "string",
|
|
9961
9913
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10249,14 +10201,6 @@
|
|
|
10249
10201
|
"write"
|
|
10250
10202
|
]
|
|
10251
10203
|
},
|
|
10252
|
-
"organization_custom_roles": {
|
|
10253
|
-
"type": "string",
|
|
10254
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10255
|
-
"enum": [
|
|
10256
|
-
"read",
|
|
10257
|
-
"write"
|
|
10258
|
-
]
|
|
10259
|
-
},
|
|
10260
10204
|
"deployments": {
|
|
10261
10205
|
"type": "string",
|
|
10262
10206
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -11520,6 +11464,10 @@
|
|
|
11520
11464
|
"starred_at": {
|
|
11521
11465
|
"type": "string",
|
|
11522
11466
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
11467
|
+
},
|
|
11468
|
+
"anonymous_access_enabled": {
|
|
11469
|
+
"type": "boolean",
|
|
11470
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
11523
11471
|
}
|
|
11524
11472
|
},
|
|
11525
11473
|
"required": [
|
|
@@ -13299,14 +13247,6 @@
|
|
|
13299
13247
|
"write"
|
|
13300
13248
|
]
|
|
13301
13249
|
},
|
|
13302
|
-
"organization_custom_roles": {
|
|
13303
|
-
"type": "string",
|
|
13304
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13305
|
-
"enum": [
|
|
13306
|
-
"read",
|
|
13307
|
-
"write"
|
|
13308
|
-
]
|
|
13309
|
-
},
|
|
13310
13250
|
"deployments": {
|
|
13311
13251
|
"type": "string",
|
|
13312
13252
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14164,14 +14104,6 @@
|
|
|
14164
14104
|
"write"
|
|
14165
14105
|
]
|
|
14166
14106
|
},
|
|
14167
|
-
"organization_custom_roles": {
|
|
14168
|
-
"type": "string",
|
|
14169
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14170
|
-
"enum": [
|
|
14171
|
-
"read",
|
|
14172
|
-
"write"
|
|
14173
|
-
]
|
|
14174
|
-
},
|
|
14175
14107
|
"deployments": {
|
|
14176
14108
|
"type": "string",
|
|
14177
14109
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14953,14 +14885,6 @@
|
|
|
14953
14885
|
"write"
|
|
14954
14886
|
]
|
|
14955
14887
|
},
|
|
14956
|
-
"organization_custom_roles": {
|
|
14957
|
-
"type": "string",
|
|
14958
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14959
|
-
"enum": [
|
|
14960
|
-
"read",
|
|
14961
|
-
"write"
|
|
14962
|
-
]
|
|
14963
|
-
},
|
|
14964
14888
|
"deployments": {
|
|
14965
14889
|
"type": "string",
|
|
14966
14890
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15444,14 +15368,6 @@
|
|
|
15444
15368
|
"write"
|
|
15445
15369
|
]
|
|
15446
15370
|
},
|
|
15447
|
-
"organization_custom_roles": {
|
|
15448
|
-
"type": "string",
|
|
15449
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15450
|
-
"enum": [
|
|
15451
|
-
"read",
|
|
15452
|
-
"write"
|
|
15453
|
-
]
|
|
15454
|
-
},
|
|
15455
15371
|
"deployments": {
|
|
15456
15372
|
"type": "string",
|
|
15457
15373
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16374,14 +16290,6 @@
|
|
|
16374
16290
|
"write"
|
|
16375
16291
|
]
|
|
16376
16292
|
},
|
|
16377
|
-
"organization_custom_roles": {
|
|
16378
|
-
"type": "string",
|
|
16379
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16380
|
-
"enum": [
|
|
16381
|
-
"read",
|
|
16382
|
-
"write"
|
|
16383
|
-
]
|
|
16384
|
-
},
|
|
16385
16293
|
"deployments": {
|
|
16386
16294
|
"type": "string",
|
|
16387
16295
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17156,14 +17064,6 @@
|
|
|
17156
17064
|
"write"
|
|
17157
17065
|
]
|
|
17158
17066
|
},
|
|
17159
|
-
"organization_custom_roles": {
|
|
17160
|
-
"type": "string",
|
|
17161
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
17162
|
-
"enum": [
|
|
17163
|
-
"read",
|
|
17164
|
-
"write"
|
|
17165
|
-
]
|
|
17166
|
-
},
|
|
17167
17067
|
"deployments": {
|
|
17168
17068
|
"type": "string",
|
|
17169
17069
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18359,14 +18259,6 @@
|
|
|
18359
18259
|
"write"
|
|
18360
18260
|
]
|
|
18361
18261
|
},
|
|
18362
|
-
"organization_custom_roles": {
|
|
18363
|
-
"type": "string",
|
|
18364
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
18365
|
-
"enum": [
|
|
18366
|
-
"read",
|
|
18367
|
-
"write"
|
|
18368
|
-
]
|
|
18369
|
-
},
|
|
18370
18262
|
"deployments": {
|
|
18371
18263
|
"type": "string",
|
|
18372
18264
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19234,14 +19126,6 @@
|
|
|
19234
19126
|
"write"
|
|
19235
19127
|
]
|
|
19236
19128
|
},
|
|
19237
|
-
"organization_custom_roles": {
|
|
19238
|
-
"type": "string",
|
|
19239
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19240
|
-
"enum": [
|
|
19241
|
-
"read",
|
|
19242
|
-
"write"
|
|
19243
|
-
]
|
|
19244
|
-
},
|
|
19245
19129
|
"deployments": {
|
|
19246
19130
|
"type": "string",
|
|
19247
19131
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20178,14 +20062,6 @@
|
|
|
20178
20062
|
"write"
|
|
20179
20063
|
]
|
|
20180
20064
|
},
|
|
20181
|
-
"organization_custom_roles": {
|
|
20182
|
-
"type": "string",
|
|
20183
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20184
|
-
"enum": [
|
|
20185
|
-
"read",
|
|
20186
|
-
"write"
|
|
20187
|
-
]
|
|
20188
|
-
},
|
|
20189
20065
|
"deployments": {
|
|
20190
20066
|
"type": "string",
|
|
20191
20067
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20866,14 +20742,6 @@
|
|
|
20866
20742
|
"write"
|
|
20867
20743
|
]
|
|
20868
20744
|
},
|
|
20869
|
-
"organization_custom_roles": {
|
|
20870
|
-
"type": "string",
|
|
20871
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20872
|
-
"enum": [
|
|
20873
|
-
"read",
|
|
20874
|
-
"write"
|
|
20875
|
-
]
|
|
20876
|
-
},
|
|
20877
20745
|
"deployments": {
|
|
20878
20746
|
"type": "string",
|
|
20879
20747
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21788,14 +21656,6 @@
|
|
|
21788
21656
|
"write"
|
|
21789
21657
|
]
|
|
21790
21658
|
},
|
|
21791
|
-
"organization_custom_roles": {
|
|
21792
|
-
"type": "string",
|
|
21793
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
21794
|
-
"enum": [
|
|
21795
|
-
"read",
|
|
21796
|
-
"write"
|
|
21797
|
-
]
|
|
21798
|
-
},
|
|
21799
21659
|
"deployments": {
|
|
21800
21660
|
"type": "string",
|
|
21801
21661
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22476,14 +22336,6 @@
|
|
|
22476
22336
|
"write"
|
|
22477
22337
|
]
|
|
22478
22338
|
},
|
|
22479
|
-
"organization_custom_roles": {
|
|
22480
|
-
"type": "string",
|
|
22481
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
22482
|
-
"enum": [
|
|
22483
|
-
"read",
|
|
22484
|
-
"write"
|
|
22485
|
-
]
|
|
22486
|
-
},
|
|
22487
22339
|
"deployments": {
|
|
22488
22340
|
"type": "string",
|
|
22489
22341
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -23276,14 +23128,6 @@
|
|
|
23276
23128
|
"write"
|
|
23277
23129
|
]
|
|
23278
23130
|
},
|
|
23279
|
-
"organization_custom_roles": {
|
|
23280
|
-
"type": "string",
|
|
23281
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
23282
|
-
"enum": [
|
|
23283
|
-
"read",
|
|
23284
|
-
"write"
|
|
23285
|
-
]
|
|
23286
|
-
},
|
|
23287
23131
|
"deployments": {
|
|
23288
23132
|
"type": "string",
|
|
23289
23133
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -24103,14 +23947,6 @@
|
|
|
24103
23947
|
"write"
|
|
24104
23948
|
]
|
|
24105
23949
|
},
|
|
24106
|
-
"organization_custom_roles": {
|
|
24107
|
-
"type": "string",
|
|
24108
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
24109
|
-
"enum": [
|
|
24110
|
-
"read",
|
|
24111
|
-
"write"
|
|
24112
|
-
]
|
|
24113
|
-
},
|
|
24114
23950
|
"deployments": {
|
|
24115
23951
|
"type": "string",
|
|
24116
23952
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -31298,6 +31134,10 @@
|
|
|
31298
31134
|
"starred_at": {
|
|
31299
31135
|
"type": "string",
|
|
31300
31136
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
31137
|
+
},
|
|
31138
|
+
"anonymous_access_enabled": {
|
|
31139
|
+
"type": "boolean",
|
|
31140
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
31301
31141
|
}
|
|
31302
31142
|
},
|
|
31303
31143
|
"required": [
|
|
@@ -32501,6 +32341,10 @@
|
|
|
32501
32341
|
"starred_at": {
|
|
32502
32342
|
"type": "string",
|
|
32503
32343
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
32344
|
+
},
|
|
32345
|
+
"anonymous_access_enabled": {
|
|
32346
|
+
"type": "boolean",
|
|
32347
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
32504
32348
|
}
|
|
32505
32349
|
},
|
|
32506
32350
|
"required": [
|
|
@@ -35290,6 +35134,10 @@
|
|
|
35290
35134
|
"starred_at": {
|
|
35291
35135
|
"type": "string",
|
|
35292
35136
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
35137
|
+
},
|
|
35138
|
+
"anonymous_access_enabled": {
|
|
35139
|
+
"type": "boolean",
|
|
35140
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
35293
35141
|
}
|
|
35294
35142
|
},
|
|
35295
35143
|
"required": [
|
|
@@ -47838,6 +47686,10 @@
|
|
|
47838
47686
|
"starred_at": {
|
|
47839
47687
|
"type": "string",
|
|
47840
47688
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
47689
|
+
},
|
|
47690
|
+
"anonymous_access_enabled": {
|
|
47691
|
+
"type": "boolean",
|
|
47692
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
47841
47693
|
}
|
|
47842
47694
|
},
|
|
47843
47695
|
"required": [
|
|
@@ -50222,6 +50074,10 @@
|
|
|
50222
50074
|
"starred_at": {
|
|
50223
50075
|
"type": "string",
|
|
50224
50076
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
50077
|
+
},
|
|
50078
|
+
"anonymous_access_enabled": {
|
|
50079
|
+
"type": "boolean",
|
|
50080
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
50225
50081
|
}
|
|
50226
50082
|
},
|
|
50227
50083
|
"required": [
|
|
@@ -53722,6 +53578,10 @@
|
|
|
53722
53578
|
"starred_at": {
|
|
53723
53579
|
"type": "string",
|
|
53724
53580
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
53581
|
+
},
|
|
53582
|
+
"anonymous_access_enabled": {
|
|
53583
|
+
"type": "boolean",
|
|
53584
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
53725
53585
|
}
|
|
53726
53586
|
},
|
|
53727
53587
|
"required": [
|
|
@@ -56386,6 +56246,10 @@
|
|
|
56386
56246
|
"starred_at": {
|
|
56387
56247
|
"type": "string",
|
|
56388
56248
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
56249
|
+
},
|
|
56250
|
+
"anonymous_access_enabled": {
|
|
56251
|
+
"type": "boolean",
|
|
56252
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
56389
56253
|
}
|
|
56390
56254
|
},
|
|
56391
56255
|
"required": [
|
|
@@ -58518,6 +58382,10 @@
|
|
|
58518
58382
|
"starred_at": {
|
|
58519
58383
|
"type": "string",
|
|
58520
58384
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
58385
|
+
},
|
|
58386
|
+
"anonymous_access_enabled": {
|
|
58387
|
+
"type": "boolean",
|
|
58388
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
58521
58389
|
}
|
|
58522
58390
|
},
|
|
58523
58391
|
"required": [
|
|
@@ -61846,6 +61714,10 @@
|
|
|
61846
61714
|
"starred_at": {
|
|
61847
61715
|
"type": "string",
|
|
61848
61716
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
61717
|
+
},
|
|
61718
|
+
"anonymous_access_enabled": {
|
|
61719
|
+
"type": "boolean",
|
|
61720
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
61849
61721
|
}
|
|
61850
61722
|
},
|
|
61851
61723
|
"required": [
|
|
@@ -64514,6 +64386,10 @@
|
|
|
64514
64386
|
"starred_at": {
|
|
64515
64387
|
"type": "string",
|
|
64516
64388
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
64389
|
+
},
|
|
64390
|
+
"anonymous_access_enabled": {
|
|
64391
|
+
"type": "boolean",
|
|
64392
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
64517
64393
|
}
|
|
64518
64394
|
},
|
|
64519
64395
|
"required": [
|
|
@@ -66999,6 +66875,10 @@
|
|
|
66999
66875
|
"starred_at": {
|
|
67000
66876
|
"type": "string",
|
|
67001
66877
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
66878
|
+
},
|
|
66879
|
+
"anonymous_access_enabled": {
|
|
66880
|
+
"type": "boolean",
|
|
66881
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
67002
66882
|
}
|
|
67003
66883
|
},
|
|
67004
66884
|
"required": [
|
|
@@ -68202,6 +68082,10 @@
|
|
|
68202
68082
|
"starred_at": {
|
|
68203
68083
|
"type": "string",
|
|
68204
68084
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
68085
|
+
},
|
|
68086
|
+
"anonymous_access_enabled": {
|
|
68087
|
+
"type": "boolean",
|
|
68088
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
68205
68089
|
}
|
|
68206
68090
|
},
|
|
68207
68091
|
"required": [
|
|
@@ -70546,6 +70430,10 @@
|
|
|
70546
70430
|
"starred_at": {
|
|
70547
70431
|
"type": "string",
|
|
70548
70432
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
70433
|
+
},
|
|
70434
|
+
"anonymous_access_enabled": {
|
|
70435
|
+
"type": "boolean",
|
|
70436
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
70549
70437
|
}
|
|
70550
70438
|
},
|
|
70551
70439
|
"required": [
|
|
@@ -73515,6 +73403,10 @@
|
|
|
73515
73403
|
"starred_at": {
|
|
73516
73404
|
"type": "string",
|
|
73517
73405
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
73406
|
+
},
|
|
73407
|
+
"anonymous_access_enabled": {
|
|
73408
|
+
"type": "boolean",
|
|
73409
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
73518
73410
|
}
|
|
73519
73411
|
},
|
|
73520
73412
|
"required": [
|
|
@@ -77180,14 +77072,6 @@
|
|
|
77180
77072
|
"write"
|
|
77181
77073
|
]
|
|
77182
77074
|
},
|
|
77183
|
-
"organization_custom_roles": {
|
|
77184
|
-
"type": "string",
|
|
77185
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
77186
|
-
"enum": [
|
|
77187
|
-
"read",
|
|
77188
|
-
"write"
|
|
77189
|
-
]
|
|
77190
|
-
},
|
|
77191
77075
|
"deployments": {
|
|
77192
77076
|
"type": "string",
|
|
77193
77077
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -78005,14 +77889,6 @@
|
|
|
78005
77889
|
"write"
|
|
78006
77890
|
]
|
|
78007
77891
|
},
|
|
78008
|
-
"organization_custom_roles": {
|
|
78009
|
-
"type": "string",
|
|
78010
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
78011
|
-
"enum": [
|
|
78012
|
-
"read",
|
|
78013
|
-
"write"
|
|
78014
|
-
]
|
|
78015
|
-
},
|
|
78016
77892
|
"deployments": {
|
|
78017
77893
|
"type": "string",
|
|
78018
77894
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -80561,6 +80437,10 @@
|
|
|
80561
80437
|
"starred_at": {
|
|
80562
80438
|
"type": "string",
|
|
80563
80439
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
80440
|
+
},
|
|
80441
|
+
"anonymous_access_enabled": {
|
|
80442
|
+
"type": "boolean",
|
|
80443
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
80564
80444
|
}
|
|
80565
80445
|
},
|
|
80566
80446
|
"required": [
|
|
@@ -81523,17 +81403,6 @@
|
|
|
81523
81403
|
}
|
|
81524
81404
|
}
|
|
81525
81405
|
},
|
|
81526
|
-
"302": {
|
|
81527
|
-
"description": "Response if requester is not an organization member",
|
|
81528
|
-
"headers": {
|
|
81529
|
-
"Location": {
|
|
81530
|
-
"example": "https://api.github.com/orgs/github/public_members",
|
|
81531
|
-
"schema": {
|
|
81532
|
-
"type": "string"
|
|
81533
|
-
}
|
|
81534
|
-
}
|
|
81535
|
-
}
|
|
81536
|
-
},
|
|
81537
81406
|
"422": {
|
|
81538
81407
|
"description": "Validation failed",
|
|
81539
81408
|
"content": {
|
|
@@ -86268,6 +86137,10 @@
|
|
|
86268
86137
|
"starred_at": {
|
|
86269
86138
|
"type": "string",
|
|
86270
86139
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
86140
|
+
},
|
|
86141
|
+
"anonymous_access_enabled": {
|
|
86142
|
+
"type": "boolean",
|
|
86143
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
86271
86144
|
}
|
|
86272
86145
|
},
|
|
86273
86146
|
"required": [
|
|
@@ -87823,6 +87696,10 @@
|
|
|
87823
87696
|
"starred_at": {
|
|
87824
87697
|
"type": "string",
|
|
87825
87698
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
87699
|
+
},
|
|
87700
|
+
"anonymous_access_enabled": {
|
|
87701
|
+
"type": "boolean",
|
|
87702
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
87826
87703
|
}
|
|
87827
87704
|
},
|
|
87828
87705
|
"required": [
|
|
@@ -89625,8 +89502,8 @@
|
|
|
89625
89502
|
"example": "2017-08-17T12:37:15Z"
|
|
89626
89503
|
},
|
|
89627
89504
|
"organization": {
|
|
89628
|
-
"title": "Organization
|
|
89629
|
-
"description": "Organization
|
|
89505
|
+
"title": "Team Organization",
|
|
89506
|
+
"description": "Team Organization",
|
|
89630
89507
|
"type": "object",
|
|
89631
89508
|
"properties": {
|
|
89632
89509
|
"login": {
|
|
@@ -90262,8 +90139,8 @@
|
|
|
90262
90139
|
"example": "2017-08-17T12:37:15Z"
|
|
90263
90140
|
},
|
|
90264
90141
|
"organization": {
|
|
90265
|
-
"title": "Organization
|
|
90266
|
-
"description": "Organization
|
|
90142
|
+
"title": "Team Organization",
|
|
90143
|
+
"description": "Team Organization",
|
|
90267
90144
|
"type": "object",
|
|
90268
90145
|
"properties": {
|
|
90269
90146
|
"login": {
|
|
@@ -90880,8 +90757,8 @@
|
|
|
90880
90757
|
"example": "2017-08-17T12:37:15Z"
|
|
90881
90758
|
},
|
|
90882
90759
|
"organization": {
|
|
90883
|
-
"title": "Organization
|
|
90884
|
-
"description": "Organization
|
|
90760
|
+
"title": "Team Organization",
|
|
90761
|
+
"description": "Team Organization",
|
|
90885
90762
|
"type": "object",
|
|
90886
90763
|
"properties": {
|
|
90887
90764
|
"login": {
|
|
@@ -99124,6 +99001,10 @@
|
|
|
99124
99001
|
"starred_at": {
|
|
99125
99002
|
"type": "string",
|
|
99126
99003
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
99004
|
+
},
|
|
99005
|
+
"anonymous_access_enabled": {
|
|
99006
|
+
"type": "boolean",
|
|
99007
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
99127
99008
|
}
|
|
99128
99009
|
},
|
|
99129
99010
|
"required": [
|
|
@@ -101081,6 +100962,10 @@
|
|
|
101081
100962
|
"starred_at": {
|
|
101082
100963
|
"type": "string",
|
|
101083
100964
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
100965
|
+
},
|
|
100966
|
+
"anonymous_access_enabled": {
|
|
100967
|
+
"type": "boolean",
|
|
100968
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
101084
100969
|
}
|
|
101085
100970
|
},
|
|
101086
100971
|
"required": [
|
|
@@ -109166,6 +109051,10 @@
|
|
|
109166
109051
|
"starred_at": {
|
|
109167
109052
|
"type": "string",
|
|
109168
109053
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
109054
|
+
},
|
|
109055
|
+
"anonymous_access_enabled": {
|
|
109056
|
+
"type": "boolean",
|
|
109057
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
109169
109058
|
}
|
|
109170
109059
|
},
|
|
109171
109060
|
"required": [
|
|
@@ -110473,6 +110362,10 @@
|
|
|
110473
110362
|
"starred_at": {
|
|
110474
110363
|
"type": "string",
|
|
110475
110364
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
110365
|
+
},
|
|
110366
|
+
"anonymous_access_enabled": {
|
|
110367
|
+
"type": "boolean",
|
|
110368
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
110476
110369
|
}
|
|
110477
110370
|
},
|
|
110478
110371
|
"required": [
|
|
@@ -111581,6 +111474,10 @@
|
|
|
111581
111474
|
"starred_at": {
|
|
111582
111475
|
"type": "string",
|
|
111583
111476
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
111477
|
+
},
|
|
111478
|
+
"anonymous_access_enabled": {
|
|
111479
|
+
"type": "boolean",
|
|
111480
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
111584
111481
|
}
|
|
111585
111482
|
},
|
|
111586
111483
|
"required": [
|
|
@@ -114154,6 +114051,10 @@
|
|
|
114154
114051
|
"starred_at": {
|
|
114155
114052
|
"type": "string",
|
|
114156
114053
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
114054
|
+
},
|
|
114055
|
+
"anonymous_access_enabled": {
|
|
114056
|
+
"type": "boolean",
|
|
114057
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
114157
114058
|
}
|
|
114158
114059
|
},
|
|
114159
114060
|
"required": [
|
|
@@ -115461,6 +115362,10 @@
|
|
|
115461
115362
|
"starred_at": {
|
|
115462
115363
|
"type": "string",
|
|
115463
115364
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
115365
|
+
},
|
|
115366
|
+
"anonymous_access_enabled": {
|
|
115367
|
+
"type": "boolean",
|
|
115368
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
115464
115369
|
}
|
|
115465
115370
|
},
|
|
115466
115371
|
"required": [
|
|
@@ -116569,6 +116474,10 @@
|
|
|
116569
116474
|
"starred_at": {
|
|
116570
116475
|
"type": "string",
|
|
116571
116476
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
116477
|
+
},
|
|
116478
|
+
"anonymous_access_enabled": {
|
|
116479
|
+
"type": "boolean",
|
|
116480
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
116572
116481
|
}
|
|
116573
116482
|
},
|
|
116574
116483
|
"required": [
|
|
@@ -120347,6 +120256,10 @@
|
|
|
120347
120256
|
"starred_at": {
|
|
120348
120257
|
"type": "string",
|
|
120349
120258
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
120259
|
+
},
|
|
120260
|
+
"anonymous_access_enabled": {
|
|
120261
|
+
"type": "boolean",
|
|
120262
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
120350
120263
|
}
|
|
120351
120264
|
},
|
|
120352
120265
|
"required": [
|
|
@@ -121559,6 +121472,10 @@
|
|
|
121559
121472
|
"starred_at": {
|
|
121560
121473
|
"type": "string",
|
|
121561
121474
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
121475
|
+
},
|
|
121476
|
+
"anonymous_access_enabled": {
|
|
121477
|
+
"type": "boolean",
|
|
121478
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
121562
121479
|
}
|
|
121563
121480
|
},
|
|
121564
121481
|
"required": [
|
|
@@ -123762,6 +123679,10 @@
|
|
|
123762
123679
|
"starred_at": {
|
|
123763
123680
|
"type": "string",
|
|
123764
123681
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
123682
|
+
},
|
|
123683
|
+
"anonymous_access_enabled": {
|
|
123684
|
+
"type": "boolean",
|
|
123685
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
123765
123686
|
}
|
|
123766
123687
|
},
|
|
123767
123688
|
"required": [
|
|
@@ -125435,6 +125356,10 @@
|
|
|
125435
125356
|
"starred_at": {
|
|
125436
125357
|
"type": "string",
|
|
125437
125358
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
125359
|
+
},
|
|
125360
|
+
"anonymous_access_enabled": {
|
|
125361
|
+
"type": "boolean",
|
|
125362
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
125438
125363
|
}
|
|
125439
125364
|
},
|
|
125440
125365
|
"required": [
|
|
@@ -127679,6 +127604,10 @@
|
|
|
127679
127604
|
"starred_at": {
|
|
127680
127605
|
"type": "string",
|
|
127681
127606
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
127607
|
+
},
|
|
127608
|
+
"anonymous_access_enabled": {
|
|
127609
|
+
"type": "boolean",
|
|
127610
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
127682
127611
|
}
|
|
127683
127612
|
},
|
|
127684
127613
|
"required": [
|
|
@@ -129352,6 +129281,10 @@
|
|
|
129352
129281
|
"starred_at": {
|
|
129353
129282
|
"type": "string",
|
|
129354
129283
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
129284
|
+
},
|
|
129285
|
+
"anonymous_access_enabled": {
|
|
129286
|
+
"type": "boolean",
|
|
129287
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
129355
129288
|
}
|
|
129356
129289
|
},
|
|
129357
129290
|
"required": [
|
|
@@ -135187,6 +135120,10 @@
|
|
|
135187
135120
|
"starred_at": {
|
|
135188
135121
|
"type": "string",
|
|
135189
135122
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
135123
|
+
},
|
|
135124
|
+
"anonymous_access_enabled": {
|
|
135125
|
+
"type": "boolean",
|
|
135126
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
135190
135127
|
}
|
|
135191
135128
|
},
|
|
135192
135129
|
"required": [
|
|
@@ -136860,6 +136797,10 @@
|
|
|
136860
136797
|
"starred_at": {
|
|
136861
136798
|
"type": "string",
|
|
136862
136799
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
136800
|
+
},
|
|
136801
|
+
"anonymous_access_enabled": {
|
|
136802
|
+
"type": "boolean",
|
|
136803
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
136863
136804
|
}
|
|
136864
136805
|
},
|
|
136865
136806
|
"required": [
|
|
@@ -137787,6 +137728,11 @@
|
|
|
137787
137728
|
"url_template": {
|
|
137788
137729
|
"type": "string",
|
|
137789
137730
|
"description": "The URL must contain `<num>` for the reference number."
|
|
137731
|
+
},
|
|
137732
|
+
"is_alphanumeric": {
|
|
137733
|
+
"type": "boolean",
|
|
137734
|
+
"default": "true",
|
|
137735
|
+
"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."
|
|
137790
137736
|
}
|
|
137791
137737
|
},
|
|
137792
137738
|
"required": [
|
|
@@ -137798,7 +137744,8 @@
|
|
|
137798
137744
|
"default": {
|
|
137799
137745
|
"value": {
|
|
137800
137746
|
"key_prefix": "TICKET-",
|
|
137801
|
-
"url_template": "https://example.com/TICKET?query=<num>"
|
|
137747
|
+
"url_template": "https://example.com/TICKET?query=<num>",
|
|
137748
|
+
"is_alphanumeric": true
|
|
137802
137749
|
}
|
|
137803
137750
|
}
|
|
137804
137751
|
}
|
|
@@ -140913,6 +140860,111 @@
|
|
|
140913
140860
|
"protected",
|
|
140914
140861
|
"protection_url"
|
|
140915
140862
|
]
|
|
140863
|
+
},
|
|
140864
|
+
"examples": {
|
|
140865
|
+
"default": {
|
|
140866
|
+
"value": {
|
|
140867
|
+
"name": "main",
|
|
140868
|
+
"commit": {
|
|
140869
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140870
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
140871
|
+
"commit": {
|
|
140872
|
+
"author": {
|
|
140873
|
+
"name": "The Octocat",
|
|
140874
|
+
"email": "octocat@nowhere.com",
|
|
140875
|
+
"date": "2012-03-06T23:06:50Z"
|
|
140876
|
+
},
|
|
140877
|
+
"committer": {
|
|
140878
|
+
"name": "The Octocat",
|
|
140879
|
+
"email": "octocat@nowhere.com",
|
|
140880
|
+
"date": "2012-03-06T23:06:50Z"
|
|
140881
|
+
},
|
|
140882
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
140883
|
+
"tree": {
|
|
140884
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
140885
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
140886
|
+
},
|
|
140887
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140888
|
+
"comment_count": 77,
|
|
140889
|
+
"verification": {
|
|
140890
|
+
"verified": false,
|
|
140891
|
+
"reason": "unsigned",
|
|
140892
|
+
"signature": null,
|
|
140893
|
+
"payload": null
|
|
140894
|
+
}
|
|
140895
|
+
},
|
|
140896
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140897
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
140898
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
140899
|
+
"author": {
|
|
140900
|
+
"login": "octocat",
|
|
140901
|
+
"id": 583231,
|
|
140902
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
140903
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
140904
|
+
"gravatar_id": "",
|
|
140905
|
+
"url": "https://api.github.com/users/octocat",
|
|
140906
|
+
"html_url": "https://github.com/octocat",
|
|
140907
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
140908
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
140909
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
140910
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
140911
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
140912
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
140913
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
140914
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
140915
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
140916
|
+
"type": "User",
|
|
140917
|
+
"site_admin": false
|
|
140918
|
+
},
|
|
140919
|
+
"committer": {
|
|
140920
|
+
"login": "octocat",
|
|
140921
|
+
"id": 583231,
|
|
140922
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
140923
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
140924
|
+
"gravatar_id": "",
|
|
140925
|
+
"url": "https://api.github.com/users/octocat",
|
|
140926
|
+
"html_url": "https://github.com/octocat",
|
|
140927
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
140928
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
140929
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
140930
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
140931
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
140932
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
140933
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
140934
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
140935
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
140936
|
+
"type": "User",
|
|
140937
|
+
"site_admin": false
|
|
140938
|
+
},
|
|
140939
|
+
"parents": [
|
|
140940
|
+
{
|
|
140941
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
140942
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
140943
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
140944
|
+
},
|
|
140945
|
+
{
|
|
140946
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
140947
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
140948
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
140949
|
+
}
|
|
140950
|
+
]
|
|
140951
|
+
},
|
|
140952
|
+
"_links": {
|
|
140953
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
140954
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
140955
|
+
},
|
|
140956
|
+
"protected": false,
|
|
140957
|
+
"protection": {
|
|
140958
|
+
"enabled": false,
|
|
140959
|
+
"required_status_checks": {
|
|
140960
|
+
"enforcement_level": "off",
|
|
140961
|
+
"contexts": [],
|
|
140962
|
+
"checks": []
|
|
140963
|
+
}
|
|
140964
|
+
},
|
|
140965
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
140966
|
+
}
|
|
140967
|
+
}
|
|
140916
140968
|
}
|
|
140917
140969
|
}
|
|
140918
140970
|
}
|
|
@@ -143545,6 +143597,73 @@
|
|
|
143545
143597
|
"required": [
|
|
143546
143598
|
"url"
|
|
143547
143599
|
]
|
|
143600
|
+
},
|
|
143601
|
+
"examples": {
|
|
143602
|
+
"default": {
|
|
143603
|
+
"value": {
|
|
143604
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
143605
|
+
"required_status_checks": {
|
|
143606
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
143607
|
+
"strict": true,
|
|
143608
|
+
"contexts": [
|
|
143609
|
+
"continuous-integration/travis-ci"
|
|
143610
|
+
],
|
|
143611
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
143612
|
+
"checks": [
|
|
143613
|
+
{
|
|
143614
|
+
"context": "continuous-integration/travis-ci",
|
|
143615
|
+
"app_id": null
|
|
143616
|
+
}
|
|
143617
|
+
]
|
|
143618
|
+
},
|
|
143619
|
+
"restrictions": {
|
|
143620
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
143621
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
143622
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
143623
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
143624
|
+
"users": [],
|
|
143625
|
+
"teams": [],
|
|
143626
|
+
"apps": []
|
|
143627
|
+
},
|
|
143628
|
+
"required_pull_request_reviews": {
|
|
143629
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
143630
|
+
"dismiss_stale_reviews": true,
|
|
143631
|
+
"require_code_owner_reviews": true,
|
|
143632
|
+
"required_approving_review_count": 2,
|
|
143633
|
+
"dismissal_restrictions": {
|
|
143634
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
143635
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
143636
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
143637
|
+
"users": [],
|
|
143638
|
+
"teams": [],
|
|
143639
|
+
"apps": []
|
|
143640
|
+
}
|
|
143641
|
+
},
|
|
143642
|
+
"required_signatures": {
|
|
143643
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
143644
|
+
"enabled": false
|
|
143645
|
+
},
|
|
143646
|
+
"enforce_admins": {
|
|
143647
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
143648
|
+
"enabled": true
|
|
143649
|
+
},
|
|
143650
|
+
"required_linear_history": {
|
|
143651
|
+
"enabled": true
|
|
143652
|
+
},
|
|
143653
|
+
"allow_force_pushes": {
|
|
143654
|
+
"enabled": true
|
|
143655
|
+
},
|
|
143656
|
+
"allow_deletions": {
|
|
143657
|
+
"enabled": true
|
|
143658
|
+
},
|
|
143659
|
+
"block_creations": {
|
|
143660
|
+
"enabled": true
|
|
143661
|
+
},
|
|
143662
|
+
"required_conversation_resolution": {
|
|
143663
|
+
"enabled": true
|
|
143664
|
+
}
|
|
143665
|
+
}
|
|
143666
|
+
}
|
|
143548
143667
|
}
|
|
143549
143668
|
}
|
|
143550
143669
|
}
|
|
@@ -146596,7 +146715,7 @@
|
|
|
146596
146715
|
"properties": {
|
|
146597
146716
|
"contexts": {
|
|
146598
146717
|
"type": "array",
|
|
146599
|
-
"description": "
|
|
146718
|
+
"description": "The name of the status checks",
|
|
146600
146719
|
"items": {
|
|
146601
146720
|
"type": "string"
|
|
146602
146721
|
}
|
|
@@ -146612,6 +146731,17 @@
|
|
|
146612
146731
|
}
|
|
146613
146732
|
}
|
|
146614
146733
|
]
|
|
146734
|
+
},
|
|
146735
|
+
"examples": {
|
|
146736
|
+
"default": {
|
|
146737
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
146738
|
+
"value": {
|
|
146739
|
+
"contexts": [
|
|
146740
|
+
"continuous-integration/travis-ci",
|
|
146741
|
+
"continuous-integration/jenkins"
|
|
146742
|
+
]
|
|
146743
|
+
}
|
|
146744
|
+
}
|
|
146615
146745
|
}
|
|
146616
146746
|
}
|
|
146617
146747
|
}
|
|
@@ -146821,7 +146951,7 @@
|
|
|
146821
146951
|
"properties": {
|
|
146822
146952
|
"contexts": {
|
|
146823
146953
|
"type": "array",
|
|
146824
|
-
"description": "
|
|
146954
|
+
"description": "The name of the status checks",
|
|
146825
146955
|
"items": {
|
|
146826
146956
|
"type": "string"
|
|
146827
146957
|
}
|
|
@@ -146837,6 +146967,16 @@
|
|
|
146837
146967
|
}
|
|
146838
146968
|
}
|
|
146839
146969
|
]
|
|
146970
|
+
},
|
|
146971
|
+
"examples": {
|
|
146972
|
+
"default": {
|
|
146973
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
146974
|
+
"value": {
|
|
146975
|
+
"contexts": [
|
|
146976
|
+
"continuous-integration/travis-ci"
|
|
146977
|
+
]
|
|
146978
|
+
}
|
|
146979
|
+
}
|
|
146840
146980
|
}
|
|
146841
146981
|
}
|
|
146842
146982
|
}
|
|
@@ -147018,7 +147158,7 @@
|
|
|
147018
147158
|
"properties": {
|
|
147019
147159
|
"contexts": {
|
|
147020
147160
|
"type": "array",
|
|
147021
|
-
"description": "
|
|
147161
|
+
"description": "The name of the status checks",
|
|
147022
147162
|
"items": {
|
|
147023
147163
|
"type": "string"
|
|
147024
147164
|
}
|
|
@@ -147034,6 +147174,16 @@
|
|
|
147034
147174
|
}
|
|
147035
147175
|
}
|
|
147036
147176
|
]
|
|
147177
|
+
},
|
|
147178
|
+
"examples": {
|
|
147179
|
+
"default": {
|
|
147180
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
147181
|
+
"value": {
|
|
147182
|
+
"contexts": [
|
|
147183
|
+
"continuous-integration/travis-ci"
|
|
147184
|
+
]
|
|
147185
|
+
}
|
|
147186
|
+
}
|
|
147037
147187
|
}
|
|
147038
147188
|
}
|
|
147039
147189
|
}
|
|
@@ -149739,7 +149889,7 @@
|
|
|
149739
149889
|
"properties": {
|
|
149740
149890
|
"teams": {
|
|
149741
149891
|
"type": "array",
|
|
149742
|
-
"description": "teams
|
|
149892
|
+
"description": "The slug values for teams",
|
|
149743
149893
|
"items": {
|
|
149744
149894
|
"type": "string"
|
|
149745
149895
|
}
|
|
@@ -149755,6 +149905,16 @@
|
|
|
149755
149905
|
}
|
|
149756
149906
|
}
|
|
149757
149907
|
]
|
|
149908
|
+
},
|
|
149909
|
+
"examples": {
|
|
149910
|
+
"default": {
|
|
149911
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
149912
|
+
"value": {
|
|
149913
|
+
"teams": [
|
|
149914
|
+
"justice-league"
|
|
149915
|
+
]
|
|
149916
|
+
}
|
|
149917
|
+
}
|
|
149758
149918
|
}
|
|
149759
149919
|
}
|
|
149760
149920
|
}
|
|
@@ -150085,7 +150245,7 @@
|
|
|
150085
150245
|
"properties": {
|
|
150086
150246
|
"teams": {
|
|
150087
150247
|
"type": "array",
|
|
150088
|
-
"description": "teams
|
|
150248
|
+
"description": "The slug values for teams",
|
|
150089
150249
|
"items": {
|
|
150090
150250
|
"type": "string"
|
|
150091
150251
|
}
|
|
@@ -150096,11 +150256,21 @@
|
|
|
150096
150256
|
],
|
|
150097
150257
|
"example": {
|
|
150098
150258
|
"teams": [
|
|
150099
|
-
"
|
|
150259
|
+
"justice-league"
|
|
150100
150260
|
]
|
|
150101
150261
|
}
|
|
150102
150262
|
}
|
|
150103
150263
|
]
|
|
150264
|
+
},
|
|
150265
|
+
"examples": {
|
|
150266
|
+
"default": {
|
|
150267
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
150268
|
+
"value": {
|
|
150269
|
+
"teams": [
|
|
150270
|
+
"justice-league"
|
|
150271
|
+
]
|
|
150272
|
+
}
|
|
150273
|
+
}
|
|
150104
150274
|
}
|
|
150105
150275
|
}
|
|
150106
150276
|
}
|
|
@@ -150430,7 +150600,7 @@
|
|
|
150430
150600
|
"properties": {
|
|
150431
150601
|
"teams": {
|
|
150432
150602
|
"type": "array",
|
|
150433
|
-
"description": "teams
|
|
150603
|
+
"description": "The slug values for teams",
|
|
150434
150604
|
"items": {
|
|
150435
150605
|
"type": "string"
|
|
150436
150606
|
}
|
|
@@ -150446,6 +150616,16 @@
|
|
|
150446
150616
|
}
|
|
150447
150617
|
}
|
|
150448
150618
|
]
|
|
150619
|
+
},
|
|
150620
|
+
"examples": {
|
|
150621
|
+
"default": {
|
|
150622
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
150623
|
+
"value": {
|
|
150624
|
+
"teams": [
|
|
150625
|
+
"justice-league"
|
|
150626
|
+
]
|
|
150627
|
+
}
|
|
150628
|
+
}
|
|
150449
150629
|
}
|
|
150450
150630
|
}
|
|
150451
150631
|
}
|
|
@@ -151010,7 +151190,7 @@
|
|
|
151010
151190
|
"properties": {
|
|
151011
151191
|
"users": {
|
|
151012
151192
|
"type": "array",
|
|
151013
|
-
"description": "users
|
|
151193
|
+
"description": "The username for users",
|
|
151014
151194
|
"items": {
|
|
151015
151195
|
"type": "string"
|
|
151016
151196
|
}
|
|
@@ -151026,6 +151206,16 @@
|
|
|
151026
151206
|
}
|
|
151027
151207
|
}
|
|
151028
151208
|
]
|
|
151209
|
+
},
|
|
151210
|
+
"examples": {
|
|
151211
|
+
"default": {
|
|
151212
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
151213
|
+
"value": {
|
|
151214
|
+
"users": [
|
|
151215
|
+
"octocat"
|
|
151216
|
+
]
|
|
151217
|
+
}
|
|
151218
|
+
}
|
|
151029
151219
|
}
|
|
151030
151220
|
}
|
|
151031
151221
|
}
|
|
@@ -151317,7 +151507,7 @@
|
|
|
151317
151507
|
"properties": {
|
|
151318
151508
|
"users": {
|
|
151319
151509
|
"type": "array",
|
|
151320
|
-
"description": "users
|
|
151510
|
+
"description": "The username for users",
|
|
151321
151511
|
"items": {
|
|
151322
151512
|
"type": "string"
|
|
151323
151513
|
}
|
|
@@ -151333,6 +151523,16 @@
|
|
|
151333
151523
|
}
|
|
151334
151524
|
}
|
|
151335
151525
|
]
|
|
151526
|
+
},
|
|
151527
|
+
"examples": {
|
|
151528
|
+
"default": {
|
|
151529
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
151530
|
+
"value": {
|
|
151531
|
+
"users": [
|
|
151532
|
+
"octocat"
|
|
151533
|
+
]
|
|
151534
|
+
}
|
|
151535
|
+
}
|
|
151336
151536
|
}
|
|
151337
151537
|
}
|
|
151338
151538
|
}
|
|
@@ -151623,7 +151823,7 @@
|
|
|
151623
151823
|
"properties": {
|
|
151624
151824
|
"users": {
|
|
151625
151825
|
"type": "array",
|
|
151626
|
-
"description": "users
|
|
151826
|
+
"description": "The username for users",
|
|
151627
151827
|
"items": {
|
|
151628
151828
|
"type": "string"
|
|
151629
151829
|
}
|
|
@@ -151639,6 +151839,16 @@
|
|
|
151639
151839
|
}
|
|
151640
151840
|
}
|
|
151641
151841
|
]
|
|
151842
|
+
},
|
|
151843
|
+
"examples": {
|
|
151844
|
+
"default": {
|
|
151845
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
151846
|
+
"value": {
|
|
151847
|
+
"users": [
|
|
151848
|
+
"octocat"
|
|
151849
|
+
]
|
|
151850
|
+
}
|
|
151851
|
+
}
|
|
151642
151852
|
}
|
|
151643
151853
|
}
|
|
151644
151854
|
}
|
|
@@ -159528,6 +159738,10 @@
|
|
|
159528
159738
|
"starred_at": {
|
|
159529
159739
|
"type": "string",
|
|
159530
159740
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
159741
|
+
},
|
|
159742
|
+
"anonymous_access_enabled": {
|
|
159743
|
+
"type": "boolean",
|
|
159744
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
159531
159745
|
}
|
|
159532
159746
|
},
|
|
159533
159747
|
"required": [
|
|
@@ -162019,6 +162233,10 @@
|
|
|
162019
162233
|
"starred_at": {
|
|
162020
162234
|
"type": "string",
|
|
162021
162235
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
162236
|
+
},
|
|
162237
|
+
"anonymous_access_enabled": {
|
|
162238
|
+
"type": "boolean",
|
|
162239
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
162022
162240
|
}
|
|
162023
162241
|
},
|
|
162024
162242
|
"required": [
|
|
@@ -164227,6 +164445,10 @@
|
|
|
164227
164445
|
"starred_at": {
|
|
164228
164446
|
"type": "string",
|
|
164229
164447
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
164448
|
+
},
|
|
164449
|
+
"anonymous_access_enabled": {
|
|
164450
|
+
"type": "boolean",
|
|
164451
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
164230
164452
|
}
|
|
164231
164453
|
},
|
|
164232
164454
|
"required": [
|
|
@@ -166608,6 +166830,10 @@
|
|
|
166608
166830
|
"starred_at": {
|
|
166609
166831
|
"type": "string",
|
|
166610
166832
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
166833
|
+
},
|
|
166834
|
+
"anonymous_access_enabled": {
|
|
166835
|
+
"type": "boolean",
|
|
166836
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
166611
166837
|
}
|
|
166612
166838
|
},
|
|
166613
166839
|
"required": [
|
|
@@ -169262,6 +169488,11 @@
|
|
|
169262
169488
|
"nullable": true,
|
|
169263
169489
|
"type": "string",
|
|
169264
169490
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
169491
|
+
},
|
|
169492
|
+
"help_uri": {
|
|
169493
|
+
"nullable": true,
|
|
169494
|
+
"type": "string",
|
|
169495
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
169265
169496
|
}
|
|
169266
169497
|
}
|
|
169267
169498
|
},
|
|
@@ -169422,7 +169653,8 @@
|
|
|
169422
169653
|
"security",
|
|
169423
169654
|
"external/cwe/cwe-022"
|
|
169424
169655
|
],
|
|
169425
|
-
"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 ..."
|
|
169656
|
+
"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 ...",
|
|
169657
|
+
"help_uri": "https://codeql.github.com/"
|
|
169426
169658
|
},
|
|
169427
169659
|
"tool": {
|
|
169428
169660
|
"name": "CodeQL",
|
|
@@ -169878,6 +170110,11 @@
|
|
|
169878
170110
|
"nullable": true,
|
|
169879
170111
|
"type": "string",
|
|
169880
170112
|
"description": "Detailed documentation for the rule as GitHub Flavored Markdown."
|
|
170113
|
+
},
|
|
170114
|
+
"help_uri": {
|
|
170115
|
+
"nullable": true,
|
|
170116
|
+
"type": "string",
|
|
170117
|
+
"description": "A link to the documentation for the rule used to detect the alert."
|
|
169881
170118
|
}
|
|
169882
170119
|
}
|
|
169883
170120
|
},
|
|
@@ -170038,7 +170275,8 @@
|
|
|
170038
170275
|
"security",
|
|
170039
170276
|
"external/cwe/cwe-022"
|
|
170040
170277
|
],
|
|
170041
|
-
"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 ..."
|
|
170278
|
+
"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 ...",
|
|
170279
|
+
"help_uri": "https://codeql.github.com/"
|
|
170042
170280
|
},
|
|
170043
170281
|
"tool": {
|
|
170044
170282
|
"name": "CodeQL",
|
|
@@ -173592,6 +173830,10 @@
|
|
|
173592
173830
|
"starred_at": {
|
|
173593
173831
|
"type": "string",
|
|
173594
173832
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
173833
|
+
},
|
|
173834
|
+
"anonymous_access_enabled": {
|
|
173835
|
+
"type": "boolean",
|
|
173836
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
173595
173837
|
}
|
|
173596
173838
|
},
|
|
173597
173839
|
"required": [
|
|
@@ -180828,6 +181070,10 @@
|
|
|
180828
181070
|
"starred_at": {
|
|
180829
181071
|
"type": "string",
|
|
180830
181072
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
181073
|
+
},
|
|
181074
|
+
"anonymous_access_enabled": {
|
|
181075
|
+
"type": "boolean",
|
|
181076
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
180831
181077
|
}
|
|
180832
181078
|
},
|
|
180833
181079
|
"required": [
|
|
@@ -182077,6 +182323,10 @@
|
|
|
182077
182323
|
"starred_at": {
|
|
182078
182324
|
"type": "string",
|
|
182079
182325
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
182326
|
+
},
|
|
182327
|
+
"anonymous_access_enabled": {
|
|
182328
|
+
"type": "boolean",
|
|
182329
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
182080
182330
|
}
|
|
182081
182331
|
},
|
|
182082
182332
|
"required": [
|
|
@@ -183952,6 +184202,27 @@
|
|
|
183952
184202
|
}
|
|
183953
184203
|
}
|
|
183954
184204
|
}
|
|
184205
|
+
},
|
|
184206
|
+
"503": {
|
|
184207
|
+
"description": "Service unavailable",
|
|
184208
|
+
"content": {
|
|
184209
|
+
"application/json": {
|
|
184210
|
+
"schema": {
|
|
184211
|
+
"type": "object",
|
|
184212
|
+
"properties": {
|
|
184213
|
+
"code": {
|
|
184214
|
+
"type": "string"
|
|
184215
|
+
},
|
|
184216
|
+
"message": {
|
|
184217
|
+
"type": "string"
|
|
184218
|
+
},
|
|
184219
|
+
"documentation_url": {
|
|
184220
|
+
"type": "string"
|
|
184221
|
+
}
|
|
184222
|
+
}
|
|
184223
|
+
}
|
|
184224
|
+
}
|
|
184225
|
+
}
|
|
183955
184226
|
}
|
|
183956
184227
|
},
|
|
183957
184228
|
"x-github": {
|
|
@@ -186979,6 +187250,10 @@
|
|
|
186979
187250
|
"starred_at": {
|
|
186980
187251
|
"type": "string",
|
|
186981
187252
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
187253
|
+
},
|
|
187254
|
+
"anonymous_access_enabled": {
|
|
187255
|
+
"type": "boolean",
|
|
187256
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
186982
187257
|
}
|
|
186983
187258
|
},
|
|
186984
187259
|
"required": [
|
|
@@ -189108,6 +189383,10 @@
|
|
|
189108
189383
|
"starred_at": {
|
|
189109
189384
|
"type": "string",
|
|
189110
189385
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
189386
|
+
},
|
|
189387
|
+
"anonymous_access_enabled": {
|
|
189388
|
+
"type": "boolean",
|
|
189389
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
189111
189390
|
}
|
|
189112
189391
|
},
|
|
189113
189392
|
"required": [
|
|
@@ -191865,6 +192144,27 @@
|
|
|
191865
192144
|
}
|
|
191866
192145
|
}
|
|
191867
192146
|
}
|
|
192147
|
+
},
|
|
192148
|
+
"503": {
|
|
192149
|
+
"description": "Service unavailable",
|
|
192150
|
+
"content": {
|
|
192151
|
+
"application/json": {
|
|
192152
|
+
"schema": {
|
|
192153
|
+
"type": "object",
|
|
192154
|
+
"properties": {
|
|
192155
|
+
"code": {
|
|
192156
|
+
"type": "string"
|
|
192157
|
+
},
|
|
192158
|
+
"message": {
|
|
192159
|
+
"type": "string"
|
|
192160
|
+
},
|
|
192161
|
+
"documentation_url": {
|
|
192162
|
+
"type": "string"
|
|
192163
|
+
}
|
|
192164
|
+
}
|
|
192165
|
+
}
|
|
192166
|
+
}
|
|
192167
|
+
}
|
|
191868
192168
|
}
|
|
191869
192169
|
},
|
|
191870
192170
|
"x-github": {
|
|
@@ -192192,7 +192492,7 @@
|
|
|
192192
192492
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
192193
192493
|
"get": {
|
|
192194
192494
|
"summary": "Get repository content",
|
|
192195
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
192495
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.3/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.3/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.3/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download. \n* This API supports files up to 1 megabyte in size.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
192196
192496
|
"tags": [
|
|
192197
192497
|
"repos"
|
|
192198
192498
|
],
|
|
@@ -203117,6 +203417,10 @@
|
|
|
203117
203417
|
"starred_at": {
|
|
203118
203418
|
"type": "string",
|
|
203119
203419
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
203420
|
+
},
|
|
203421
|
+
"anonymous_access_enabled": {
|
|
203422
|
+
"type": "boolean",
|
|
203423
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
203120
203424
|
}
|
|
203121
203425
|
},
|
|
203122
203426
|
"required": [
|
|
@@ -205686,6 +205990,10 @@
|
|
|
205686
205990
|
"starred_at": {
|
|
205687
205991
|
"type": "string",
|
|
205688
205992
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
205993
|
+
},
|
|
205994
|
+
"anonymous_access_enabled": {
|
|
205995
|
+
"type": "boolean",
|
|
205996
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
205689
205997
|
}
|
|
205690
205998
|
},
|
|
205691
205999
|
"required": [
|
|
@@ -207648,6 +207956,10 @@
|
|
|
207648
207956
|
"starred_at": {
|
|
207649
207957
|
"type": "string",
|
|
207650
207958
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
207959
|
+
},
|
|
207960
|
+
"anonymous_access_enabled": {
|
|
207961
|
+
"type": "boolean",
|
|
207962
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
207651
207963
|
}
|
|
207652
207964
|
},
|
|
207653
207965
|
"required": [
|
|
@@ -208955,6 +209267,10 @@
|
|
|
208955
209267
|
"starred_at": {
|
|
208956
209268
|
"type": "string",
|
|
208957
209269
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
209270
|
+
},
|
|
209271
|
+
"anonymous_access_enabled": {
|
|
209272
|
+
"type": "boolean",
|
|
209273
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
208958
209274
|
}
|
|
208959
209275
|
},
|
|
208960
209276
|
"required": [
|
|
@@ -210063,6 +210379,10 @@
|
|
|
210063
210379
|
"starred_at": {
|
|
210064
210380
|
"type": "string",
|
|
210065
210381
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
210382
|
+
},
|
|
210383
|
+
"anonymous_access_enabled": {
|
|
210384
|
+
"type": "boolean",
|
|
210385
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
210066
210386
|
}
|
|
210067
210387
|
},
|
|
210068
210388
|
"required": [
|
|
@@ -217498,14 +217818,6 @@
|
|
|
217498
217818
|
"write"
|
|
217499
217819
|
]
|
|
217500
217820
|
},
|
|
217501
|
-
"organization_custom_roles": {
|
|
217502
|
-
"type": "string",
|
|
217503
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
217504
|
-
"enum": [
|
|
217505
|
-
"read",
|
|
217506
|
-
"write"
|
|
217507
|
-
]
|
|
217508
|
-
},
|
|
217509
217821
|
"deployments": {
|
|
217510
217822
|
"type": "string",
|
|
217511
217823
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -219571,6 +219883,10 @@
|
|
|
219571
219883
|
"starred_at": {
|
|
219572
219884
|
"type": "string",
|
|
219573
219885
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
219886
|
+
},
|
|
219887
|
+
"anonymous_access_enabled": {
|
|
219888
|
+
"type": "boolean",
|
|
219889
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
219574
219890
|
}
|
|
219575
219891
|
},
|
|
219576
219892
|
"required": [
|
|
@@ -220274,6 +220590,14 @@
|
|
|
220274
220590
|
]
|
|
220275
220591
|
}
|
|
220276
220592
|
}
|
|
220593
|
+
},
|
|
220594
|
+
"examples": {
|
|
220595
|
+
"default": {
|
|
220596
|
+
"summary": "Example request body",
|
|
220597
|
+
"value": {
|
|
220598
|
+
"permissions": "write"
|
|
220599
|
+
}
|
|
220600
|
+
}
|
|
220277
220601
|
}
|
|
220278
220602
|
}
|
|
220279
220603
|
}
|
|
@@ -221754,6 +222078,10 @@
|
|
|
221754
222078
|
"starred_at": {
|
|
221755
222079
|
"type": "string",
|
|
221756
222080
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
222081
|
+
},
|
|
222082
|
+
"anonymous_access_enabled": {
|
|
222083
|
+
"type": "boolean",
|
|
222084
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
221757
222085
|
}
|
|
221758
222086
|
},
|
|
221759
222087
|
"required": [
|
|
@@ -224513,6 +224841,10 @@
|
|
|
224513
224841
|
"starred_at": {
|
|
224514
224842
|
"type": "string",
|
|
224515
224843
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
224844
|
+
},
|
|
224845
|
+
"anonymous_access_enabled": {
|
|
224846
|
+
"type": "boolean",
|
|
224847
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
224516
224848
|
}
|
|
224517
224849
|
},
|
|
224518
224850
|
"required": [
|
|
@@ -225086,7 +225418,8 @@
|
|
|
225086
225418
|
"type": "User",
|
|
225087
225419
|
"site_admin": false
|
|
225088
225420
|
},
|
|
225089
|
-
"author_association": "COLLABORATOR"
|
|
225421
|
+
"author_association": "COLLABORATOR",
|
|
225422
|
+
"state_reason": "completed"
|
|
225090
225423
|
}
|
|
225091
225424
|
]
|
|
225092
225425
|
}
|
|
@@ -227284,6 +227617,10 @@
|
|
|
227284
227617
|
"starred_at": {
|
|
227285
227618
|
"type": "string",
|
|
227286
227619
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
227620
|
+
},
|
|
227621
|
+
"anonymous_access_enabled": {
|
|
227622
|
+
"type": "boolean",
|
|
227623
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
227287
227624
|
}
|
|
227288
227625
|
},
|
|
227289
227626
|
"required": [
|
|
@@ -227855,7 +228192,8 @@
|
|
|
227855
228192
|
"type": "User",
|
|
227856
228193
|
"site_admin": false
|
|
227857
228194
|
},
|
|
227858
|
-
"author_association": "COLLABORATOR"
|
|
228195
|
+
"author_association": "COLLABORATOR",
|
|
228196
|
+
"state_reason": "completed"
|
|
227859
228197
|
}
|
|
227860
228198
|
}
|
|
227861
228199
|
}
|
|
@@ -233208,6 +233546,10 @@
|
|
|
233208
233546
|
"starred_at": {
|
|
233209
233547
|
"type": "string",
|
|
233210
233548
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
233549
|
+
},
|
|
233550
|
+
"anonymous_access_enabled": {
|
|
233551
|
+
"type": "boolean",
|
|
233552
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
233211
233553
|
}
|
|
233212
233554
|
},
|
|
233213
233555
|
"required": [
|
|
@@ -234820,7 +235162,8 @@
|
|
|
234820
235162
|
"closed_at": null,
|
|
234821
235163
|
"created_at": "2011-04-22T13:33:48Z",
|
|
234822
235164
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
234823
|
-
"author_association": "COLLABORATOR"
|
|
235165
|
+
"author_association": "COLLABORATOR",
|
|
235166
|
+
"state_reason": "completed"
|
|
234824
235167
|
}
|
|
234825
235168
|
}
|
|
234826
235169
|
]
|
|
@@ -237035,6 +237378,10 @@
|
|
|
237035
237378
|
"starred_at": {
|
|
237036
237379
|
"type": "string",
|
|
237037
237380
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
237381
|
+
},
|
|
237382
|
+
"anonymous_access_enabled": {
|
|
237383
|
+
"type": "boolean",
|
|
237384
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
237038
237385
|
}
|
|
237039
237386
|
},
|
|
237040
237387
|
"required": [
|
|
@@ -238685,7 +239032,8 @@
|
|
|
238685
239032
|
"closed_at": null,
|
|
238686
239033
|
"created_at": "2011-04-22T13:33:48Z",
|
|
238687
239034
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
238688
|
-
"author_association": "COLLABORATOR"
|
|
239035
|
+
"author_association": "COLLABORATOR",
|
|
239036
|
+
"state_reason": "completed"
|
|
238689
239037
|
}
|
|
238690
239038
|
}
|
|
238691
239039
|
}
|
|
@@ -240744,6 +241092,10 @@
|
|
|
240744
241092
|
"starred_at": {
|
|
240745
241093
|
"type": "string",
|
|
240746
241094
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
241095
|
+
},
|
|
241096
|
+
"anonymous_access_enabled": {
|
|
241097
|
+
"type": "boolean",
|
|
241098
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
240747
241099
|
}
|
|
240748
241100
|
},
|
|
240749
241101
|
"required": [
|
|
@@ -241315,7 +241667,8 @@
|
|
|
241315
241667
|
"type": "User",
|
|
241316
241668
|
"site_admin": false
|
|
241317
241669
|
},
|
|
241318
|
-
"author_association": "COLLABORATOR"
|
|
241670
|
+
"author_association": "COLLABORATOR",
|
|
241671
|
+
"state_reason": "completed"
|
|
241319
241672
|
}
|
|
241320
241673
|
}
|
|
241321
241674
|
}
|
|
@@ -241489,6 +241842,12 @@
|
|
|
241489
241842
|
"closed"
|
|
241490
241843
|
]
|
|
241491
241844
|
},
|
|
241845
|
+
"state_reason": {
|
|
241846
|
+
"type": "string",
|
|
241847
|
+
"nullable": true,
|
|
241848
|
+
"description": "The reason for the current state",
|
|
241849
|
+
"example": "not_planned"
|
|
241850
|
+
},
|
|
241492
241851
|
"milestone": {
|
|
241493
241852
|
"oneOf": [
|
|
241494
241853
|
{
|
|
@@ -243481,6 +243840,10 @@
|
|
|
243481
243840
|
"starred_at": {
|
|
243482
243841
|
"type": "string",
|
|
243483
243842
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
243843
|
+
},
|
|
243844
|
+
"anonymous_access_enabled": {
|
|
243845
|
+
"type": "boolean",
|
|
243846
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
243484
243847
|
}
|
|
243485
243848
|
},
|
|
243486
243849
|
"required": [
|
|
@@ -244052,7 +244415,8 @@
|
|
|
244052
244415
|
"type": "User",
|
|
244053
244416
|
"site_admin": false
|
|
244054
244417
|
},
|
|
244055
|
-
"author_association": "COLLABORATOR"
|
|
244418
|
+
"author_association": "COLLABORATOR",
|
|
244419
|
+
"state_reason": "completed"
|
|
244056
244420
|
}
|
|
244057
244421
|
}
|
|
244058
244422
|
}
|
|
@@ -246255,6 +246619,10 @@
|
|
|
246255
246619
|
"starred_at": {
|
|
246256
246620
|
"type": "string",
|
|
246257
246621
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
246622
|
+
},
|
|
246623
|
+
"anonymous_access_enabled": {
|
|
246624
|
+
"type": "boolean",
|
|
246625
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
246258
246626
|
}
|
|
246259
246627
|
},
|
|
246260
246628
|
"required": [
|
|
@@ -246826,7 +247194,8 @@
|
|
|
246826
247194
|
"type": "User",
|
|
246827
247195
|
"site_admin": false
|
|
246828
247196
|
},
|
|
246829
|
-
"author_association": "COLLABORATOR"
|
|
247197
|
+
"author_association": "COLLABORATOR",
|
|
247198
|
+
"state_reason": "completed"
|
|
246830
247199
|
}
|
|
246831
247200
|
}
|
|
246832
247201
|
}
|
|
@@ -270026,6 +270395,10 @@
|
|
|
270026
270395
|
"starred_at": {
|
|
270027
270396
|
"type": "string",
|
|
270028
270397
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
270398
|
+
},
|
|
270399
|
+
"anonymous_access_enabled": {
|
|
270400
|
+
"type": "boolean",
|
|
270401
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
270029
270402
|
}
|
|
270030
270403
|
},
|
|
270031
270404
|
"required": [
|
|
@@ -279211,6 +279584,10 @@
|
|
|
279211
279584
|
"starred_at": {
|
|
279212
279585
|
"type": "string",
|
|
279213
279586
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
279587
|
+
},
|
|
279588
|
+
"anonymous_access_enabled": {
|
|
279589
|
+
"type": "boolean",
|
|
279590
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
279214
279591
|
}
|
|
279215
279592
|
},
|
|
279216
279593
|
"required": [
|
|
@@ -285141,6 +285518,10 @@
|
|
|
285141
285518
|
"starred_at": {
|
|
285142
285519
|
"type": "string",
|
|
285143
285520
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
285521
|
+
},
|
|
285522
|
+
"anonymous_access_enabled": {
|
|
285523
|
+
"type": "boolean",
|
|
285524
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
285144
285525
|
}
|
|
285145
285526
|
},
|
|
285146
285527
|
"required": [
|
|
@@ -286390,6 +286771,10 @@
|
|
|
286390
286771
|
"starred_at": {
|
|
286391
286772
|
"type": "string",
|
|
286392
286773
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
286774
|
+
},
|
|
286775
|
+
"anonymous_access_enabled": {
|
|
286776
|
+
"type": "boolean",
|
|
286777
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
286393
286778
|
}
|
|
286394
286779
|
},
|
|
286395
286780
|
"required": [
|
|
@@ -296935,6 +297320,27 @@
|
|
|
296935
297320
|
}
|
|
296936
297321
|
}
|
|
296937
297322
|
}
|
|
297323
|
+
},
|
|
297324
|
+
"503": {
|
|
297325
|
+
"description": "Service unavailable",
|
|
297326
|
+
"content": {
|
|
297327
|
+
"application/json": {
|
|
297328
|
+
"schema": {
|
|
297329
|
+
"type": "object",
|
|
297330
|
+
"properties": {
|
|
297331
|
+
"code": {
|
|
297332
|
+
"type": "string"
|
|
297333
|
+
},
|
|
297334
|
+
"message": {
|
|
297335
|
+
"type": "string"
|
|
297336
|
+
},
|
|
297337
|
+
"documentation_url": {
|
|
297338
|
+
"type": "string"
|
|
297339
|
+
}
|
|
297340
|
+
}
|
|
297341
|
+
}
|
|
297342
|
+
}
|
|
297343
|
+
}
|
|
296938
297344
|
}
|
|
296939
297345
|
},
|
|
296940
297346
|
"x-github": {
|
|
@@ -303152,6 +303558,27 @@
|
|
|
303152
303558
|
}
|
|
303153
303559
|
}
|
|
303154
303560
|
}
|
|
303561
|
+
},
|
|
303562
|
+
"503": {
|
|
303563
|
+
"description": "Service unavailable",
|
|
303564
|
+
"content": {
|
|
303565
|
+
"application/json": {
|
|
303566
|
+
"schema": {
|
|
303567
|
+
"type": "object",
|
|
303568
|
+
"properties": {
|
|
303569
|
+
"code": {
|
|
303570
|
+
"type": "string"
|
|
303571
|
+
},
|
|
303572
|
+
"message": {
|
|
303573
|
+
"type": "string"
|
|
303574
|
+
},
|
|
303575
|
+
"documentation_url": {
|
|
303576
|
+
"type": "string"
|
|
303577
|
+
}
|
|
303578
|
+
}
|
|
303579
|
+
}
|
|
303580
|
+
}
|
|
303581
|
+
}
|
|
303155
303582
|
}
|
|
303156
303583
|
},
|
|
303157
303584
|
"x-github": {
|
|
@@ -306092,6 +306519,10 @@
|
|
|
306092
306519
|
"starred_at": {
|
|
306093
306520
|
"type": "string",
|
|
306094
306521
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
306522
|
+
},
|
|
306523
|
+
"anonymous_access_enabled": {
|
|
306524
|
+
"type": "boolean",
|
|
306525
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
306095
306526
|
}
|
|
306096
306527
|
},
|
|
306097
306528
|
"required": [
|
|
@@ -307341,6 +307772,10 @@
|
|
|
307341
307772
|
"starred_at": {
|
|
307342
307773
|
"type": "string",
|
|
307343
307774
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
307775
|
+
},
|
|
307776
|
+
"anonymous_access_enabled": {
|
|
307777
|
+
"type": "boolean",
|
|
307778
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
307344
307779
|
}
|
|
307345
307780
|
},
|
|
307346
307781
|
"required": [
|
|
@@ -310639,6 +311074,10 @@
|
|
|
310639
311074
|
"starred_at": {
|
|
310640
311075
|
"type": "string",
|
|
310641
311076
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
311077
|
+
},
|
|
311078
|
+
"anonymous_access_enabled": {
|
|
311079
|
+
"type": "boolean",
|
|
311080
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
310642
311081
|
}
|
|
310643
311082
|
},
|
|
310644
311083
|
"required": [
|
|
@@ -311888,6 +312327,10 @@
|
|
|
311888
312327
|
"starred_at": {
|
|
311889
312328
|
"type": "string",
|
|
311890
312329
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
312330
|
+
},
|
|
312331
|
+
"anonymous_access_enabled": {
|
|
312332
|
+
"type": "boolean",
|
|
312333
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
311891
312334
|
}
|
|
311892
312335
|
},
|
|
311893
312336
|
"required": [
|
|
@@ -329197,6 +329640,10 @@
|
|
|
329197
329640
|
"starred_at": {
|
|
329198
329641
|
"type": "string",
|
|
329199
329642
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
329643
|
+
},
|
|
329644
|
+
"anonymous_access_enabled": {
|
|
329645
|
+
"type": "boolean",
|
|
329646
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
329200
329647
|
}
|
|
329201
329648
|
},
|
|
329202
329649
|
"required": [
|
|
@@ -329727,7 +330174,7 @@
|
|
|
329727
330174
|
"/repos/{template_owner}/{template_repo}/generate": {
|
|
329728
330175
|
"post": {
|
|
329729
330176
|
"summary": "Create a repository using a template",
|
|
329730
|
-
"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.
|
|
330177
|
+
"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.3/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.3/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",
|
|
329731
330178
|
"tags": [
|
|
329732
330179
|
"repos"
|
|
329733
330180
|
],
|
|
@@ -330837,6 +331284,10 @@
|
|
|
330837
331284
|
"starred_at": {
|
|
330838
331285
|
"type": "string",
|
|
330839
331286
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
331287
|
+
},
|
|
331288
|
+
"anonymous_access_enabled": {
|
|
331289
|
+
"type": "boolean",
|
|
331290
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
330840
331291
|
}
|
|
330841
331292
|
},
|
|
330842
331293
|
"required": [
|
|
@@ -332567,6 +333018,10 @@
|
|
|
332567
333018
|
"starred_at": {
|
|
332568
333019
|
"type": "string",
|
|
332569
333020
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
333021
|
+
},
|
|
333022
|
+
"anonymous_access_enabled": {
|
|
333023
|
+
"type": "boolean",
|
|
333024
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
332570
333025
|
}
|
|
332571
333026
|
},
|
|
332572
333027
|
"required": [
|
|
@@ -335004,6 +335459,10 @@
|
|
|
335004
335459
|
"starred_at": {
|
|
335005
335460
|
"type": "string",
|
|
335006
335461
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
335462
|
+
},
|
|
335463
|
+
"anonymous_access_enabled": {
|
|
335464
|
+
"type": "boolean",
|
|
335465
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
335007
335466
|
}
|
|
335008
335467
|
},
|
|
335009
335468
|
"required": [
|
|
@@ -337344,6 +337803,10 @@
|
|
|
337344
337803
|
"starred_at": {
|
|
337345
337804
|
"type": "string",
|
|
337346
337805
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
337806
|
+
},
|
|
337807
|
+
"anonymous_access_enabled": {
|
|
337808
|
+
"type": "boolean",
|
|
337809
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
337347
337810
|
}
|
|
337348
337811
|
},
|
|
337349
337812
|
"required": [
|
|
@@ -339683,6 +340146,10 @@
|
|
|
339683
340146
|
"starred_at": {
|
|
339684
340147
|
"type": "string",
|
|
339685
340148
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
340149
|
+
},
|
|
340150
|
+
"anonymous_access_enabled": {
|
|
340151
|
+
"type": "boolean",
|
|
340152
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
339686
340153
|
}
|
|
339687
340154
|
},
|
|
339688
340155
|
"required": [
|
|
@@ -340193,7 +340660,8 @@
|
|
|
340193
340660
|
"body": "...",
|
|
340194
340661
|
"score": 1,
|
|
340195
340662
|
"locked": true,
|
|
340196
|
-
"author_association": "COLLABORATOR"
|
|
340663
|
+
"author_association": "COLLABORATOR",
|
|
340664
|
+
"state_reason": "completed"
|
|
340197
340665
|
}
|
|
340198
340666
|
]
|
|
340199
340667
|
}
|
|
@@ -343968,8 +344436,8 @@
|
|
|
343968
344436
|
"example": "2017-08-17T12:37:15Z"
|
|
343969
344437
|
},
|
|
343970
344438
|
"organization": {
|
|
343971
|
-
"title": "Organization
|
|
343972
|
-
"description": "Organization
|
|
344439
|
+
"title": "Team Organization",
|
|
344440
|
+
"description": "Team Organization",
|
|
343973
344441
|
"type": "object",
|
|
343974
344442
|
"properties": {
|
|
343975
344443
|
"login": {
|
|
@@ -344583,8 +345051,8 @@
|
|
|
344583
345051
|
"example": "2017-08-17T12:37:15Z"
|
|
344584
345052
|
},
|
|
344585
345053
|
"organization": {
|
|
344586
|
-
"title": "Organization
|
|
344587
|
-
"description": "Organization
|
|
345054
|
+
"title": "Team Organization",
|
|
345055
|
+
"description": "Team Organization",
|
|
344588
345056
|
"type": "object",
|
|
344589
345057
|
"properties": {
|
|
344590
345058
|
"login": {
|
|
@@ -345076,8 +345544,8 @@
|
|
|
345076
345544
|
"example": "2017-08-17T12:37:15Z"
|
|
345077
345545
|
},
|
|
345078
345546
|
"organization": {
|
|
345079
|
-
"title": "Organization
|
|
345080
|
-
"description": "Organization
|
|
345547
|
+
"title": "Team Organization",
|
|
345548
|
+
"description": "Team Organization",
|
|
345081
345549
|
"type": "object",
|
|
345082
345550
|
"properties": {
|
|
345083
345551
|
"login": {
|
|
@@ -353311,6 +353779,10 @@
|
|
|
353311
353779
|
"starred_at": {
|
|
353312
353780
|
"type": "string",
|
|
353313
353781
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
353782
|
+
},
|
|
353783
|
+
"anonymous_access_enabled": {
|
|
353784
|
+
"type": "boolean",
|
|
353785
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
353314
353786
|
}
|
|
353315
353787
|
},
|
|
353316
353788
|
"required": [
|
|
@@ -355288,6 +355760,10 @@
|
|
|
355288
355760
|
"starred_at": {
|
|
355289
355761
|
"type": "string",
|
|
355290
355762
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
355763
|
+
},
|
|
355764
|
+
"anonymous_access_enabled": {
|
|
355765
|
+
"type": "boolean",
|
|
355766
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
355291
355767
|
}
|
|
355292
355768
|
},
|
|
355293
355769
|
"required": [
|
|
@@ -360732,14 +361208,6 @@
|
|
|
360732
361208
|
"write"
|
|
360733
361209
|
]
|
|
360734
361210
|
},
|
|
360735
|
-
"organization_custom_roles": {
|
|
360736
|
-
"type": "string",
|
|
360737
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
360738
|
-
"enum": [
|
|
360739
|
-
"read",
|
|
360740
|
-
"write"
|
|
360741
|
-
]
|
|
360742
|
-
},
|
|
360743
361211
|
"deployments": {
|
|
360744
361212
|
"type": "string",
|
|
360745
361213
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -362442,6 +362910,10 @@
|
|
|
362442
362910
|
"starred_at": {
|
|
362443
362911
|
"type": "string",
|
|
362444
362912
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
362913
|
+
},
|
|
362914
|
+
"anonymous_access_enabled": {
|
|
362915
|
+
"type": "boolean",
|
|
362916
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
362445
362917
|
}
|
|
362446
362918
|
},
|
|
362447
362919
|
"required": [
|
|
@@ -364998,6 +365470,10 @@
|
|
|
364998
365470
|
"starred_at": {
|
|
364999
365471
|
"type": "string",
|
|
365000
365472
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
365473
|
+
},
|
|
365474
|
+
"anonymous_access_enabled": {
|
|
365475
|
+
"type": "boolean",
|
|
365476
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
365001
365477
|
}
|
|
365002
365478
|
},
|
|
365003
365479
|
"required": [
|
|
@@ -369882,6 +370358,10 @@
|
|
|
369882
370358
|
"starred_at": {
|
|
369883
370359
|
"type": "string",
|
|
369884
370360
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
370361
|
+
},
|
|
370362
|
+
"anonymous_access_enabled": {
|
|
370363
|
+
"type": "boolean",
|
|
370364
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
369885
370365
|
}
|
|
369886
370366
|
},
|
|
369887
370367
|
"required": [
|
|
@@ -371420,6 +371900,10 @@
|
|
|
371420
371900
|
"starred_at": {
|
|
371421
371901
|
"type": "string",
|
|
371422
371902
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
371903
|
+
},
|
|
371904
|
+
"anonymous_access_enabled": {
|
|
371905
|
+
"type": "boolean",
|
|
371906
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
371423
371907
|
}
|
|
371424
371908
|
},
|
|
371425
371909
|
"required": [
|
|
@@ -373367,6 +373851,10 @@
|
|
|
373367
373851
|
"starred_at": {
|
|
373368
373852
|
"type": "string",
|
|
373369
373853
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
373854
|
+
},
|
|
373855
|
+
"anonymous_access_enabled": {
|
|
373856
|
+
"type": "boolean",
|
|
373857
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
373370
373858
|
}
|
|
373371
373859
|
},
|
|
373372
373860
|
"required": [
|
|
@@ -375442,6 +375930,10 @@
|
|
|
375442
375930
|
"starred_at": {
|
|
375443
375931
|
"type": "string",
|
|
375444
375932
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
375933
|
+
},
|
|
375934
|
+
"anonymous_access_enabled": {
|
|
375935
|
+
"type": "boolean",
|
|
375936
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
375445
375937
|
}
|
|
375446
375938
|
},
|
|
375447
375939
|
"required": [
|
|
@@ -376694,6 +377186,10 @@
|
|
|
376694
377186
|
"starred_at": {
|
|
376695
377187
|
"type": "string",
|
|
376696
377188
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
377189
|
+
},
|
|
377190
|
+
"anonymous_access_enabled": {
|
|
377191
|
+
"type": "boolean",
|
|
377192
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
376697
377193
|
}
|
|
376698
377194
|
},
|
|
376699
377195
|
"required": [
|
|
@@ -378865,6 +379361,10 @@
|
|
|
378865
379361
|
"starred_at": {
|
|
378866
379362
|
"type": "string",
|
|
378867
379363
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
379364
|
+
},
|
|
379365
|
+
"anonymous_access_enabled": {
|
|
379366
|
+
"type": "boolean",
|
|
379367
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
378868
379368
|
}
|
|
378869
379369
|
},
|
|
378870
379370
|
"required": [
|
|
@@ -379463,8 +379963,8 @@
|
|
|
379463
379963
|
"example": "2017-08-17T12:37:15Z"
|
|
379464
379964
|
},
|
|
379465
379965
|
"organization": {
|
|
379466
|
-
"title": "Organization
|
|
379467
|
-
"description": "Organization
|
|
379966
|
+
"title": "Team Organization",
|
|
379967
|
+
"description": "Team Organization",
|
|
379468
379968
|
"type": "object",
|
|
379469
379969
|
"properties": {
|
|
379470
379970
|
"login": {
|
|
@@ -382764,6 +383264,10 @@
|
|
|
382764
383264
|
"starred_at": {
|
|
382765
383265
|
"type": "string",
|
|
382766
383266
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
383267
|
+
},
|
|
383268
|
+
"anonymous_access_enabled": {
|
|
383269
|
+
"type": "boolean",
|
|
383270
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
382767
383271
|
}
|
|
382768
383272
|
},
|
|
382769
383273
|
"required": [
|
|
@@ -385881,6 +386385,10 @@
|
|
|
385881
386385
|
"starred_at": {
|
|
385882
386386
|
"type": "string",
|
|
385883
386387
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
386388
|
+
},
|
|
386389
|
+
"anonymous_access_enabled": {
|
|
386390
|
+
"type": "boolean",
|
|
386391
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
385884
386392
|
}
|
|
385885
386393
|
},
|
|
385886
386394
|
"required": [
|
|
@@ -389000,6 +389508,10 @@
|
|
|
389000
389508
|
"starred_at": {
|
|
389001
389509
|
"type": "string",
|
|
389002
389510
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
389511
|
+
},
|
|
389512
|
+
"anonymous_access_enabled": {
|
|
389513
|
+
"type": "boolean",
|
|
389514
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
389003
389515
|
}
|
|
389004
389516
|
},
|
|
389005
389517
|
"required": [
|
|
@@ -391831,14 +392343,6 @@
|
|
|
391831
392343
|
"write"
|
|
391832
392344
|
]
|
|
391833
392345
|
},
|
|
391834
|
-
"organization_custom_roles": {
|
|
391835
|
-
"type": "string",
|
|
391836
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
391837
|
-
"enum": [
|
|
391838
|
-
"read",
|
|
391839
|
-
"write"
|
|
391840
|
-
]
|
|
391841
|
-
},
|
|
391842
392346
|
"deployments": {
|
|
391843
392347
|
"type": "string",
|
|
391844
392348
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -395065,6 +395569,10 @@
|
|
|
395065
395569
|
"starred_at": {
|
|
395066
395570
|
"type": "string",
|
|
395067
395571
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
395572
|
+
},
|
|
395573
|
+
"anonymous_access_enabled": {
|
|
395574
|
+
"type": "boolean",
|
|
395575
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
395068
395576
|
}
|
|
395069
395577
|
},
|
|
395070
395578
|
"required": [
|
|
@@ -398184,6 +398692,10 @@
|
|
|
398184
398692
|
"starred_at": {
|
|
398185
398693
|
"type": "string",
|
|
398186
398694
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
398695
|
+
},
|
|
398696
|
+
"anonymous_access_enabled": {
|
|
398697
|
+
"type": "boolean",
|
|
398698
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
398187
398699
|
}
|
|
398188
398700
|
},
|
|
398189
398701
|
"required": [
|
|
@@ -400783,6 +401295,10 @@
|
|
|
400783
401295
|
"starred_at": {
|
|
400784
401296
|
"type": "string",
|
|
400785
401297
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
401298
|
+
},
|
|
401299
|
+
"anonymous_access_enabled": {
|
|
401300
|
+
"type": "boolean",
|
|
401301
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
400786
401302
|
}
|
|
400787
401303
|
},
|
|
400788
401304
|
"required": [
|
|
@@ -402316,6 +402832,10 @@
|
|
|
402316
402832
|
"starred_at": {
|
|
402317
402833
|
"type": "string",
|
|
402318
402834
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
402835
|
+
},
|
|
402836
|
+
"anonymous_access_enabled": {
|
|
402837
|
+
"type": "boolean",
|
|
402838
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
402319
402839
|
}
|
|
402320
402840
|
},
|
|
402321
402841
|
"required": [
|
|
@@ -403433,6 +403953,10 @@
|
|
|
403433
403953
|
"starred_at": {
|
|
403434
403954
|
"type": "string",
|
|
403435
403955
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
403956
|
+
},
|
|
403957
|
+
"anonymous_access_enabled": {
|
|
403958
|
+
"type": "boolean",
|
|
403959
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
403436
403960
|
}
|
|
403437
403961
|
},
|
|
403438
403962
|
"required": [
|
|
@@ -405174,6 +405698,10 @@
|
|
|
405174
405698
|
"starred_at": {
|
|
405175
405699
|
"type": "string",
|
|
405176
405700
|
"example": "\"2020-07-09T00:17:42Z\""
|
|
405701
|
+
},
|
|
405702
|
+
"anonymous_access_enabled": {
|
|
405703
|
+
"type": "boolean",
|
|
405704
|
+
"description": "Whether anonymous git access is enabled for this repository"
|
|
405177
405705
|
}
|
|
405178
405706
|
},
|
|
405179
405707
|
"required": [
|