@octokit/openapi 7.3.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +9963 -140
- package/generated/api.github.com.json +1055 -110
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +133 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +127 -14
- package/generated/ghes-3.2.deref.json +458 -242
- package/generated/ghes-3.2.json +694 -35
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +458 -244
- package/generated/ghes-3.3.json +694 -36
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +462 -230
- package/generated/ghes-3.4.json +703 -38
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +1548 -135
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +48182 -31728
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +9496 -4686
- package/generated/ghes-3.5.deref.json +556 -242
- package/generated/ghes-3.5.json +797 -50
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17473 -6079
- package/generated/ghes-3.6-diff-to-api.github.com.json +4604 -2146
- package/generated/ghes-3.6.deref.json +8136 -240
- package/generated/ghes-3.6.json +1109 -133
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +1018 -34
- package/generated/github.ae-diff-to-api.github.com.deref.json +24735 -16611
- package/generated/github.ae-diff-to-api.github.com.json +1390 -126
- package/generated/github.ae.deref.json +1214 -163
- package/generated/github.ae.json +821 -44
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.6.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": {
|
|
@@ -4087,14 +4087,6 @@
|
|
|
4087
4087
|
"write"
|
|
4088
4088
|
]
|
|
4089
4089
|
},
|
|
4090
|
-
"organization_custom_roles": {
|
|
4091
|
-
"type": "string",
|
|
4092
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
4093
|
-
"enum": [
|
|
4094
|
-
"read",
|
|
4095
|
-
"write"
|
|
4096
|
-
]
|
|
4097
|
-
},
|
|
4098
4090
|
"deployments": {
|
|
4099
4091
|
"type": "string",
|
|
4100
4092
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5177,14 +5169,6 @@
|
|
|
5177
5169
|
"write"
|
|
5178
5170
|
]
|
|
5179
5171
|
},
|
|
5180
|
-
"organization_custom_roles": {
|
|
5181
|
-
"type": "string",
|
|
5182
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5183
|
-
"enum": [
|
|
5184
|
-
"read",
|
|
5185
|
-
"write"
|
|
5186
|
-
]
|
|
5187
|
-
},
|
|
5188
5172
|
"deployments": {
|
|
5189
5173
|
"type": "string",
|
|
5190
5174
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -5849,14 +5833,6 @@
|
|
|
5849
5833
|
"write"
|
|
5850
5834
|
]
|
|
5851
5835
|
},
|
|
5852
|
-
"organization_custom_roles": {
|
|
5853
|
-
"type": "string",
|
|
5854
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5855
|
-
"enum": [
|
|
5856
|
-
"read",
|
|
5857
|
-
"write"
|
|
5858
|
-
]
|
|
5859
|
-
},
|
|
5860
5836
|
"deployments": {
|
|
5861
5837
|
"type": "string",
|
|
5862
5838
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -8426,14 +8402,6 @@
|
|
|
8426
8402
|
"write"
|
|
8427
8403
|
]
|
|
8428
8404
|
},
|
|
8429
|
-
"organization_custom_roles": {
|
|
8430
|
-
"type": "string",
|
|
8431
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
8432
|
-
"enum": [
|
|
8433
|
-
"read",
|
|
8434
|
-
"write"
|
|
8435
|
-
]
|
|
8436
|
-
},
|
|
8437
8405
|
"deployments": {
|
|
8438
8406
|
"type": "string",
|
|
8439
8407
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9223,14 +9191,6 @@
|
|
|
9223
9191
|
"write"
|
|
9224
9192
|
]
|
|
9225
9193
|
},
|
|
9226
|
-
"organization_custom_roles": {
|
|
9227
|
-
"type": "string",
|
|
9228
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9229
|
-
"enum": [
|
|
9230
|
-
"read",
|
|
9231
|
-
"write"
|
|
9232
|
-
]
|
|
9233
|
-
},
|
|
9234
9194
|
"deployments": {
|
|
9235
9195
|
"type": "string",
|
|
9236
9196
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -9884,14 +9844,6 @@
|
|
|
9884
9844
|
"write"
|
|
9885
9845
|
]
|
|
9886
9846
|
},
|
|
9887
|
-
"organization_custom_roles": {
|
|
9888
|
-
"type": "string",
|
|
9889
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
9890
|
-
"enum": [
|
|
9891
|
-
"read",
|
|
9892
|
-
"write"
|
|
9893
|
-
]
|
|
9894
|
-
},
|
|
9895
9847
|
"deployments": {
|
|
9896
9848
|
"type": "string",
|
|
9897
9849
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -10177,14 +10129,6 @@
|
|
|
10177
10129
|
"write"
|
|
10178
10130
|
]
|
|
10179
10131
|
},
|
|
10180
|
-
"organization_custom_roles": {
|
|
10181
|
-
"type": "string",
|
|
10182
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
10183
|
-
"enum": [
|
|
10184
|
-
"read",
|
|
10185
|
-
"write"
|
|
10186
|
-
]
|
|
10187
|
-
},
|
|
10188
10132
|
"deployments": {
|
|
10189
10133
|
"type": "string",
|
|
10190
10134
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -13160,14 +13104,6 @@
|
|
|
13160
13104
|
"write"
|
|
13161
13105
|
]
|
|
13162
13106
|
},
|
|
13163
|
-
"organization_custom_roles": {
|
|
13164
|
-
"type": "string",
|
|
13165
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
13166
|
-
"enum": [
|
|
13167
|
-
"read",
|
|
13168
|
-
"write"
|
|
13169
|
-
]
|
|
13170
|
-
},
|
|
13171
13107
|
"deployments": {
|
|
13172
13108
|
"type": "string",
|
|
13173
13109
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14011,14 +13947,6 @@
|
|
|
14011
13947
|
"write"
|
|
14012
13948
|
]
|
|
14013
13949
|
},
|
|
14014
|
-
"organization_custom_roles": {
|
|
14015
|
-
"type": "string",
|
|
14016
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14017
|
-
"enum": [
|
|
14018
|
-
"read",
|
|
14019
|
-
"write"
|
|
14020
|
-
]
|
|
14021
|
-
},
|
|
14022
13950
|
"deployments": {
|
|
14023
13951
|
"type": "string",
|
|
14024
13952
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -14786,14 +14714,6 @@
|
|
|
14786
14714
|
"write"
|
|
14787
14715
|
]
|
|
14788
14716
|
},
|
|
14789
|
-
"organization_custom_roles": {
|
|
14790
|
-
"type": "string",
|
|
14791
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
14792
|
-
"enum": [
|
|
14793
|
-
"read",
|
|
14794
|
-
"write"
|
|
14795
|
-
]
|
|
14796
|
-
},
|
|
14797
14717
|
"deployments": {
|
|
14798
14718
|
"type": "string",
|
|
14799
14719
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -15269,14 +15189,6 @@
|
|
|
15269
15189
|
"write"
|
|
15270
15190
|
]
|
|
15271
15191
|
},
|
|
15272
|
-
"organization_custom_roles": {
|
|
15273
|
-
"type": "string",
|
|
15274
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
15275
|
-
"enum": [
|
|
15276
|
-
"read",
|
|
15277
|
-
"write"
|
|
15278
|
-
]
|
|
15279
|
-
},
|
|
15280
15192
|
"deployments": {
|
|
15281
15193
|
"type": "string",
|
|
15282
15194
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -16574,14 +16486,6 @@
|
|
|
16574
16486
|
"write"
|
|
16575
16487
|
]
|
|
16576
16488
|
},
|
|
16577
|
-
"organization_custom_roles": {
|
|
16578
|
-
"type": "string",
|
|
16579
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
16580
|
-
"enum": [
|
|
16581
|
-
"read",
|
|
16582
|
-
"write"
|
|
16583
|
-
]
|
|
16584
|
-
},
|
|
16585
16489
|
"deployments": {
|
|
16586
16490
|
"type": "string",
|
|
16587
16491
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -17435,14 +17339,6 @@
|
|
|
17435
17339
|
"write"
|
|
17436
17340
|
]
|
|
17437
17341
|
},
|
|
17438
|
-
"organization_custom_roles": {
|
|
17439
|
-
"type": "string",
|
|
17440
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
17441
|
-
"enum": [
|
|
17442
|
-
"read",
|
|
17443
|
-
"write"
|
|
17444
|
-
]
|
|
17445
|
-
},
|
|
17446
17342
|
"deployments": {
|
|
17447
17343
|
"type": "string",
|
|
17448
17344
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -18365,14 +18261,6 @@
|
|
|
18365
18261
|
"write"
|
|
18366
18262
|
]
|
|
18367
18263
|
},
|
|
18368
|
-
"organization_custom_roles": {
|
|
18369
|
-
"type": "string",
|
|
18370
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
18371
|
-
"enum": [
|
|
18372
|
-
"read",
|
|
18373
|
-
"write"
|
|
18374
|
-
]
|
|
18375
|
-
},
|
|
18376
18264
|
"deployments": {
|
|
18377
18265
|
"type": "string",
|
|
18378
18266
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19045,14 +18933,6 @@
|
|
|
19045
18933
|
"write"
|
|
19046
18934
|
]
|
|
19047
18935
|
},
|
|
19048
|
-
"organization_custom_roles": {
|
|
19049
|
-
"type": "string",
|
|
19050
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19051
|
-
"enum": [
|
|
19052
|
-
"read",
|
|
19053
|
-
"write"
|
|
19054
|
-
]
|
|
19055
|
-
},
|
|
19056
18936
|
"deployments": {
|
|
19057
18937
|
"type": "string",
|
|
19058
18938
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -19953,14 +19833,6 @@
|
|
|
19953
19833
|
"write"
|
|
19954
19834
|
]
|
|
19955
19835
|
},
|
|
19956
|
-
"organization_custom_roles": {
|
|
19957
|
-
"type": "string",
|
|
19958
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
19959
|
-
"enum": [
|
|
19960
|
-
"read",
|
|
19961
|
-
"write"
|
|
19962
|
-
]
|
|
19963
|
-
},
|
|
19964
19836
|
"deployments": {
|
|
19965
19837
|
"type": "string",
|
|
19966
19838
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -20633,14 +20505,6 @@
|
|
|
20633
20505
|
"write"
|
|
20634
20506
|
]
|
|
20635
20507
|
},
|
|
20636
|
-
"organization_custom_roles": {
|
|
20637
|
-
"type": "string",
|
|
20638
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
20639
|
-
"enum": [
|
|
20640
|
-
"read",
|
|
20641
|
-
"write"
|
|
20642
|
-
]
|
|
20643
|
-
},
|
|
20644
20508
|
"deployments": {
|
|
20645
20509
|
"type": "string",
|
|
20646
20510
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -21419,14 +21283,6 @@
|
|
|
21419
21283
|
"write"
|
|
21420
21284
|
]
|
|
21421
21285
|
},
|
|
21422
|
-
"organization_custom_roles": {
|
|
21423
|
-
"type": "string",
|
|
21424
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
21425
|
-
"enum": [
|
|
21426
|
-
"read",
|
|
21427
|
-
"write"
|
|
21428
|
-
]
|
|
21429
|
-
},
|
|
21430
21286
|
"deployments": {
|
|
21431
21287
|
"type": "string",
|
|
21432
21288
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -22232,14 +22088,6 @@
|
|
|
22232
22088
|
"write"
|
|
22233
22089
|
]
|
|
22234
22090
|
},
|
|
22235
|
-
"organization_custom_roles": {
|
|
22236
|
-
"type": "string",
|
|
22237
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
22238
|
-
"enum": [
|
|
22239
|
-
"read",
|
|
22240
|
-
"write"
|
|
22241
|
-
]
|
|
22242
|
-
},
|
|
22243
22091
|
"deployments": {
|
|
22244
22092
|
"type": "string",
|
|
22245
22093
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -60219,7 +60067,7 @@
|
|
|
60219
60067
|
"/organizations/{organization_id}/custom_roles": {
|
|
60220
60068
|
"get": {
|
|
60221
60069
|
"summary": "List custom repository roles in an organization",
|
|
60222
|
-
"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.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
60070
|
+
"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.5/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
60223
60071
|
"tags": [
|
|
60224
60072
|
"orgs"
|
|
60225
60073
|
],
|
|
@@ -60231,6 +60079,7 @@
|
|
|
60231
60079
|
"parameters": [
|
|
60232
60080
|
{
|
|
60233
60081
|
"name": "organization_id",
|
|
60082
|
+
"description": "The unique identifier of the organization.",
|
|
60234
60083
|
"in": "path",
|
|
60235
60084
|
"required": true,
|
|
60236
60085
|
"schema": {
|
|
@@ -60684,7 +60533,13 @@
|
|
|
60684
60533
|
"category": "orgs",
|
|
60685
60534
|
"subcategory": null
|
|
60686
60535
|
},
|
|
60687
|
-
"x-octokit": {
|
|
60536
|
+
"x-octokit": {
|
|
60537
|
+
"diff": {
|
|
60538
|
+
"ghes-3.6": {
|
|
60539
|
+
"type": "changed"
|
|
60540
|
+
}
|
|
60541
|
+
}
|
|
60542
|
+
}
|
|
60688
60543
|
},
|
|
60689
60544
|
"patch": {
|
|
60690
60545
|
"summary": "Update an organization",
|
|
@@ -61274,7 +61129,13 @@
|
|
|
61274
61129
|
"category": "orgs",
|
|
61275
61130
|
"subcategory": null
|
|
61276
61131
|
},
|
|
61277
|
-
"x-octokit": {
|
|
61132
|
+
"x-octokit": {
|
|
61133
|
+
"diff": {
|
|
61134
|
+
"ghes-3.6": {
|
|
61135
|
+
"type": "changed"
|
|
61136
|
+
}
|
|
61137
|
+
}
|
|
61138
|
+
}
|
|
61278
61139
|
}
|
|
61279
61140
|
},
|
|
61280
61141
|
"/orgs/{org}/actions/cache/usage": {
|
|
@@ -83060,14 +82921,6 @@
|
|
|
83060
82921
|
"write"
|
|
83061
82922
|
]
|
|
83062
82923
|
},
|
|
83063
|
-
"organization_custom_roles": {
|
|
83064
|
-
"type": "string",
|
|
83065
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
83066
|
-
"enum": [
|
|
83067
|
-
"read",
|
|
83068
|
-
"write"
|
|
83069
|
-
]
|
|
83070
|
-
},
|
|
83071
82924
|
"deployments": {
|
|
83072
82925
|
"type": "string",
|
|
83073
82926
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -83871,14 +83724,6 @@
|
|
|
83871
83724
|
"write"
|
|
83872
83725
|
]
|
|
83873
83726
|
},
|
|
83874
|
-
"organization_custom_roles": {
|
|
83875
|
-
"type": "string",
|
|
83876
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
83877
|
-
"enum": [
|
|
83878
|
-
"read",
|
|
83879
|
-
"write"
|
|
83880
|
-
]
|
|
83881
|
-
},
|
|
83882
83727
|
"deployments": {
|
|
83883
83728
|
"type": "string",
|
|
83884
83729
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -97448,6 +97293,40 @@
|
|
|
97448
97293
|
"type": "boolean",
|
|
97449
97294
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
97450
97295
|
"default": false
|
|
97296
|
+
},
|
|
97297
|
+
"squash_merge_commit_title": {
|
|
97298
|
+
"type": "string",
|
|
97299
|
+
"enum": [
|
|
97300
|
+
"PR_TITLE",
|
|
97301
|
+
"COMMIT_OR_PR_TITLE"
|
|
97302
|
+
],
|
|
97303
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
97304
|
+
},
|
|
97305
|
+
"squash_merge_commit_message": {
|
|
97306
|
+
"type": "string",
|
|
97307
|
+
"enum": [
|
|
97308
|
+
"PR_BODY",
|
|
97309
|
+
"COMMIT_MESSAGES",
|
|
97310
|
+
"BLANK"
|
|
97311
|
+
],
|
|
97312
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
97313
|
+
},
|
|
97314
|
+
"merge_commit_title": {
|
|
97315
|
+
"type": "string",
|
|
97316
|
+
"enum": [
|
|
97317
|
+
"PR_TITLE",
|
|
97318
|
+
"MERGE_MESSAGE"
|
|
97319
|
+
],
|
|
97320
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
97321
|
+
},
|
|
97322
|
+
"merge_commit_message": {
|
|
97323
|
+
"type": "string",
|
|
97324
|
+
"enum": [
|
|
97325
|
+
"PR_BODY",
|
|
97326
|
+
"PR_TITLE",
|
|
97327
|
+
"BLANK"
|
|
97328
|
+
],
|
|
97329
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
97451
97330
|
}
|
|
97452
97331
|
},
|
|
97453
97332
|
"required": [
|
|
@@ -100498,8 +100377,8 @@
|
|
|
100498
100377
|
"example": "2017-08-17T12:37:15Z"
|
|
100499
100378
|
},
|
|
100500
100379
|
"organization": {
|
|
100501
|
-
"title": "Organization
|
|
100502
|
-
"description": "Organization
|
|
100380
|
+
"title": "Team Organization",
|
|
100381
|
+
"description": "Team Organization",
|
|
100503
100382
|
"type": "object",
|
|
100504
100383
|
"properties": {
|
|
100505
100384
|
"login": {
|
|
@@ -100934,7 +100813,13 @@
|
|
|
100934
100813
|
"category": "teams",
|
|
100935
100814
|
"subcategory": null
|
|
100936
100815
|
},
|
|
100937
|
-
"x-octokit": {
|
|
100816
|
+
"x-octokit": {
|
|
100817
|
+
"diff": {
|
|
100818
|
+
"ghes-3.6": {
|
|
100819
|
+
"type": "changed"
|
|
100820
|
+
}
|
|
100821
|
+
}
|
|
100822
|
+
}
|
|
100938
100823
|
}
|
|
100939
100824
|
},
|
|
100940
100825
|
"/orgs/{org}/teams/{team_slug}": {
|
|
@@ -101134,8 +101019,8 @@
|
|
|
101134
101019
|
"example": "2017-08-17T12:37:15Z"
|
|
101135
101020
|
},
|
|
101136
101021
|
"organization": {
|
|
101137
|
-
"title": "Organization
|
|
101138
|
-
"description": "Organization
|
|
101022
|
+
"title": "Team Organization",
|
|
101023
|
+
"description": "Team Organization",
|
|
101139
101024
|
"type": "object",
|
|
101140
101025
|
"properties": {
|
|
101141
101026
|
"login": {
|
|
@@ -101501,7 +101386,13 @@
|
|
|
101501
101386
|
"category": "teams",
|
|
101502
101387
|
"subcategory": null
|
|
101503
101388
|
},
|
|
101504
|
-
"x-octokit": {
|
|
101389
|
+
"x-octokit": {
|
|
101390
|
+
"diff": {
|
|
101391
|
+
"ghes-3.6": {
|
|
101392
|
+
"type": "changed"
|
|
101393
|
+
}
|
|
101394
|
+
}
|
|
101395
|
+
}
|
|
101505
101396
|
},
|
|
101506
101397
|
"patch": {
|
|
101507
101398
|
"summary": "Update a team",
|
|
@@ -101751,8 +101642,8 @@
|
|
|
101751
101642
|
"example": "2017-08-17T12:37:15Z"
|
|
101752
101643
|
},
|
|
101753
101644
|
"organization": {
|
|
101754
|
-
"title": "Organization
|
|
101755
|
-
"description": "Organization
|
|
101645
|
+
"title": "Team Organization",
|
|
101646
|
+
"description": "Team Organization",
|
|
101756
101647
|
"type": "object",
|
|
101757
101648
|
"properties": {
|
|
101758
101649
|
"login": {
|
|
@@ -102092,7 +101983,13 @@
|
|
|
102092
101983
|
"category": "teams",
|
|
102093
101984
|
"subcategory": null
|
|
102094
101985
|
},
|
|
102095
|
-
"x-octokit": {
|
|
101986
|
+
"x-octokit": {
|
|
101987
|
+
"diff": {
|
|
101988
|
+
"ghes-3.6": {
|
|
101989
|
+
"type": "changed"
|
|
101990
|
+
}
|
|
101991
|
+
}
|
|
101992
|
+
}
|
|
102096
101993
|
},
|
|
102097
101994
|
"delete": {
|
|
102098
101995
|
"summary": "Delete a team",
|
|
@@ -123368,6 +123265,40 @@
|
|
|
123368
123265
|
"description": "Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message.",
|
|
123369
123266
|
"default": false
|
|
123370
123267
|
},
|
|
123268
|
+
"squash_merge_commit_title": {
|
|
123269
|
+
"type": "string",
|
|
123270
|
+
"enum": [
|
|
123271
|
+
"PR_TITLE",
|
|
123272
|
+
"COMMIT_OR_PR_TITLE"
|
|
123273
|
+
],
|
|
123274
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
123275
|
+
},
|
|
123276
|
+
"squash_merge_commit_message": {
|
|
123277
|
+
"type": "string",
|
|
123278
|
+
"enum": [
|
|
123279
|
+
"PR_BODY",
|
|
123280
|
+
"COMMIT_MESSAGES",
|
|
123281
|
+
"BLANK"
|
|
123282
|
+
],
|
|
123283
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
123284
|
+
},
|
|
123285
|
+
"merge_commit_title": {
|
|
123286
|
+
"type": "string",
|
|
123287
|
+
"enum": [
|
|
123288
|
+
"PR_TITLE",
|
|
123289
|
+
"MERGE_MESSAGE"
|
|
123290
|
+
],
|
|
123291
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
123292
|
+
},
|
|
123293
|
+
"merge_commit_message": {
|
|
123294
|
+
"type": "string",
|
|
123295
|
+
"enum": [
|
|
123296
|
+
"PR_BODY",
|
|
123297
|
+
"PR_TITLE",
|
|
123298
|
+
"BLANK"
|
|
123299
|
+
],
|
|
123300
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
123301
|
+
},
|
|
123371
123302
|
"archived": {
|
|
123372
123303
|
"type": "boolean",
|
|
123373
123304
|
"description": "`true` to archive this repository. **Note**: You cannot unarchive repositories through the API.",
|
|
@@ -127642,7 +127573,6 @@
|
|
|
127642
127573
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
127643
127574
|
"html_url": "https://github.com/licenses/mit"
|
|
127644
127575
|
},
|
|
127645
|
-
"language": null,
|
|
127646
127576
|
"forks_count": 9,
|
|
127647
127577
|
"forks": 9,
|
|
127648
127578
|
"stargazers_count": 80,
|
|
@@ -129593,6 +129523,11 @@
|
|
|
129593
129523
|
"schema": {
|
|
129594
129524
|
"type": "object",
|
|
129595
129525
|
"nullable": true
|
|
129526
|
+
},
|
|
129527
|
+
"examples": {
|
|
129528
|
+
"default": {
|
|
129529
|
+
"value": null
|
|
129530
|
+
}
|
|
129596
129531
|
}
|
|
129597
129532
|
}
|
|
129598
129533
|
}
|
|
@@ -147958,9 +147893,16 @@
|
|
|
147958
147893
|
"content": {
|
|
147959
147894
|
"application/json": {
|
|
147960
147895
|
"schema": {
|
|
147896
|
+
"title": "Empty Object",
|
|
147897
|
+
"description": "An object without any properties.",
|
|
147961
147898
|
"type": "object",
|
|
147962
147899
|
"properties": {},
|
|
147963
147900
|
"additionalProperties": false
|
|
147901
|
+
},
|
|
147902
|
+
"examples": {
|
|
147903
|
+
"default": {
|
|
147904
|
+
"value": null
|
|
147905
|
+
}
|
|
147964
147906
|
}
|
|
147965
147907
|
}
|
|
147966
147908
|
}
|
|
@@ -149153,6 +149095,17 @@
|
|
|
149153
149095
|
"state",
|
|
149154
149096
|
"comment"
|
|
149155
149097
|
]
|
|
149098
|
+
},
|
|
149099
|
+
"examples": {
|
|
149100
|
+
"default": {
|
|
149101
|
+
"value": {
|
|
149102
|
+
"environment_ids": [
|
|
149103
|
+
161171787
|
|
149104
|
+
],
|
|
149105
|
+
"state": "approved",
|
|
149106
|
+
"comment": "Ship it!"
|
|
149107
|
+
}
|
|
149108
|
+
}
|
|
149156
149109
|
}
|
|
149157
149110
|
}
|
|
149158
149111
|
}
|
|
@@ -149742,6 +149695,11 @@
|
|
|
149742
149695
|
"schema": {
|
|
149743
149696
|
"type": "object",
|
|
149744
149697
|
"nullable": true
|
|
149698
|
+
},
|
|
149699
|
+
"examples": {
|
|
149700
|
+
"default": {
|
|
149701
|
+
"value": null
|
|
149702
|
+
}
|
|
149745
149703
|
}
|
|
149746
149704
|
}
|
|
149747
149705
|
}
|
|
@@ -149752,9 +149710,16 @@
|
|
|
149752
149710
|
"content": {
|
|
149753
149711
|
"application/json": {
|
|
149754
149712
|
"schema": {
|
|
149713
|
+
"title": "Empty Object",
|
|
149714
|
+
"description": "An object without any properties.",
|
|
149755
149715
|
"type": "object",
|
|
149756
149716
|
"properties": {},
|
|
149757
149717
|
"additionalProperties": false
|
|
149718
|
+
},
|
|
149719
|
+
"examples": {
|
|
149720
|
+
"default": {
|
|
149721
|
+
"value": null
|
|
149722
|
+
}
|
|
149758
149723
|
}
|
|
149759
149724
|
}
|
|
149760
149725
|
}
|
|
@@ -149823,6 +149788,11 @@
|
|
|
149823
149788
|
"schema": {
|
|
149824
149789
|
"type": "object",
|
|
149825
149790
|
"nullable": true
|
|
149791
|
+
},
|
|
149792
|
+
"examples": {
|
|
149793
|
+
"default": {
|
|
149794
|
+
"value": null
|
|
149795
|
+
}
|
|
149826
149796
|
}
|
|
149827
149797
|
}
|
|
149828
149798
|
}
|
|
@@ -150260,9 +150230,16 @@
|
|
|
150260
150230
|
"content": {
|
|
150261
150231
|
"application/json": {
|
|
150262
150232
|
"schema": {
|
|
150233
|
+
"title": "Empty Object",
|
|
150234
|
+
"description": "An object without any properties.",
|
|
150263
150235
|
"type": "object",
|
|
150264
150236
|
"properties": {},
|
|
150265
150237
|
"additionalProperties": false
|
|
150238
|
+
},
|
|
150239
|
+
"examples": {
|
|
150240
|
+
"default": {
|
|
150241
|
+
"value": null
|
|
150242
|
+
}
|
|
150266
150243
|
}
|
|
150267
150244
|
}
|
|
150268
150245
|
}
|
|
@@ -159967,6 +159944,111 @@
|
|
|
159967
159944
|
"protected",
|
|
159968
159945
|
"protection_url"
|
|
159969
159946
|
]
|
|
159947
|
+
},
|
|
159948
|
+
"examples": {
|
|
159949
|
+
"default": {
|
|
159950
|
+
"value": {
|
|
159951
|
+
"name": "main",
|
|
159952
|
+
"commit": {
|
|
159953
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
159954
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
159955
|
+
"commit": {
|
|
159956
|
+
"author": {
|
|
159957
|
+
"name": "The Octocat",
|
|
159958
|
+
"email": "octocat@nowhere.com",
|
|
159959
|
+
"date": "2012-03-06T23:06:50Z"
|
|
159960
|
+
},
|
|
159961
|
+
"committer": {
|
|
159962
|
+
"name": "The Octocat",
|
|
159963
|
+
"email": "octocat@nowhere.com",
|
|
159964
|
+
"date": "2012-03-06T23:06:50Z"
|
|
159965
|
+
},
|
|
159966
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
159967
|
+
"tree": {
|
|
159968
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
159969
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
159970
|
+
},
|
|
159971
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
159972
|
+
"comment_count": 77,
|
|
159973
|
+
"verification": {
|
|
159974
|
+
"verified": false,
|
|
159975
|
+
"reason": "unsigned",
|
|
159976
|
+
"signature": null,
|
|
159977
|
+
"payload": null
|
|
159978
|
+
}
|
|
159979
|
+
},
|
|
159980
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
159981
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
159982
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
159983
|
+
"author": {
|
|
159984
|
+
"login": "octocat",
|
|
159985
|
+
"id": 583231,
|
|
159986
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
159987
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
159988
|
+
"gravatar_id": "",
|
|
159989
|
+
"url": "https://api.github.com/users/octocat",
|
|
159990
|
+
"html_url": "https://github.com/octocat",
|
|
159991
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
159992
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
159993
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
159994
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
159995
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
159996
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
159997
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
159998
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
159999
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
160000
|
+
"type": "User",
|
|
160001
|
+
"site_admin": false
|
|
160002
|
+
},
|
|
160003
|
+
"committer": {
|
|
160004
|
+
"login": "octocat",
|
|
160005
|
+
"id": 583231,
|
|
160006
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
160007
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
160008
|
+
"gravatar_id": "",
|
|
160009
|
+
"url": "https://api.github.com/users/octocat",
|
|
160010
|
+
"html_url": "https://github.com/octocat",
|
|
160011
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
160012
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
160013
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
160014
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
160015
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
160016
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
160017
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
160018
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
160019
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
160020
|
+
"type": "User",
|
|
160021
|
+
"site_admin": false
|
|
160022
|
+
},
|
|
160023
|
+
"parents": [
|
|
160024
|
+
{
|
|
160025
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
160026
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
160027
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
160028
|
+
},
|
|
160029
|
+
{
|
|
160030
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
160031
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
160032
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
160033
|
+
}
|
|
160034
|
+
]
|
|
160035
|
+
},
|
|
160036
|
+
"_links": {
|
|
160037
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
160038
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
160039
|
+
},
|
|
160040
|
+
"protected": false,
|
|
160041
|
+
"protection": {
|
|
160042
|
+
"enabled": false,
|
|
160043
|
+
"required_status_checks": {
|
|
160044
|
+
"enforcement_level": "off",
|
|
160045
|
+
"contexts": [],
|
|
160046
|
+
"checks": []
|
|
160047
|
+
}
|
|
160048
|
+
},
|
|
160049
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
160050
|
+
}
|
|
160051
|
+
}
|
|
159970
160052
|
}
|
|
159971
160053
|
}
|
|
159972
160054
|
}
|
|
@@ -163740,6 +163822,73 @@
|
|
|
163740
163822
|
"required": [
|
|
163741
163823
|
"url"
|
|
163742
163824
|
]
|
|
163825
|
+
},
|
|
163826
|
+
"examples": {
|
|
163827
|
+
"default": {
|
|
163828
|
+
"value": {
|
|
163829
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
163830
|
+
"required_status_checks": {
|
|
163831
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
163832
|
+
"strict": true,
|
|
163833
|
+
"contexts": [
|
|
163834
|
+
"continuous-integration/travis-ci"
|
|
163835
|
+
],
|
|
163836
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
163837
|
+
"checks": [
|
|
163838
|
+
{
|
|
163839
|
+
"context": "continuous-integration/travis-ci",
|
|
163840
|
+
"app_id": null
|
|
163841
|
+
}
|
|
163842
|
+
]
|
|
163843
|
+
},
|
|
163844
|
+
"restrictions": {
|
|
163845
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
163846
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
163847
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
163848
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
163849
|
+
"users": [],
|
|
163850
|
+
"teams": [],
|
|
163851
|
+
"apps": []
|
|
163852
|
+
},
|
|
163853
|
+
"required_pull_request_reviews": {
|
|
163854
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
163855
|
+
"dismiss_stale_reviews": true,
|
|
163856
|
+
"require_code_owner_reviews": true,
|
|
163857
|
+
"required_approving_review_count": 2,
|
|
163858
|
+
"dismissal_restrictions": {
|
|
163859
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
163860
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
163861
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
163862
|
+
"users": [],
|
|
163863
|
+
"teams": [],
|
|
163864
|
+
"apps": []
|
|
163865
|
+
}
|
|
163866
|
+
},
|
|
163867
|
+
"required_signatures": {
|
|
163868
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
163869
|
+
"enabled": false
|
|
163870
|
+
},
|
|
163871
|
+
"enforce_admins": {
|
|
163872
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
163873
|
+
"enabled": true
|
|
163874
|
+
},
|
|
163875
|
+
"required_linear_history": {
|
|
163876
|
+
"enabled": true
|
|
163877
|
+
},
|
|
163878
|
+
"allow_force_pushes": {
|
|
163879
|
+
"enabled": true
|
|
163880
|
+
},
|
|
163881
|
+
"allow_deletions": {
|
|
163882
|
+
"enabled": true
|
|
163883
|
+
},
|
|
163884
|
+
"block_creations": {
|
|
163885
|
+
"enabled": true
|
|
163886
|
+
},
|
|
163887
|
+
"required_conversation_resolution": {
|
|
163888
|
+
"enabled": true
|
|
163889
|
+
}
|
|
163890
|
+
}
|
|
163891
|
+
}
|
|
163743
163892
|
}
|
|
163744
163893
|
}
|
|
163745
163894
|
}
|
|
@@ -167943,7 +168092,7 @@
|
|
|
167943
168092
|
"properties": {
|
|
167944
168093
|
"contexts": {
|
|
167945
168094
|
"type": "array",
|
|
167946
|
-
"description": "
|
|
168095
|
+
"description": "The name of the status checks",
|
|
167947
168096
|
"items": {
|
|
167948
168097
|
"type": "string"
|
|
167949
168098
|
}
|
|
@@ -167959,6 +168108,17 @@
|
|
|
167959
168108
|
}
|
|
167960
168109
|
}
|
|
167961
168110
|
]
|
|
168111
|
+
},
|
|
168112
|
+
"examples": {
|
|
168113
|
+
"default": {
|
|
168114
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
168115
|
+
"value": {
|
|
168116
|
+
"contexts": [
|
|
168117
|
+
"continuous-integration/travis-ci",
|
|
168118
|
+
"continuous-integration/jenkins"
|
|
168119
|
+
]
|
|
168120
|
+
}
|
|
168121
|
+
}
|
|
167962
168122
|
}
|
|
167963
168123
|
}
|
|
167964
168124
|
}
|
|
@@ -168168,7 +168328,7 @@
|
|
|
168168
168328
|
"properties": {
|
|
168169
168329
|
"contexts": {
|
|
168170
168330
|
"type": "array",
|
|
168171
|
-
"description": "
|
|
168331
|
+
"description": "The name of the status checks",
|
|
168172
168332
|
"items": {
|
|
168173
168333
|
"type": "string"
|
|
168174
168334
|
}
|
|
@@ -168184,6 +168344,16 @@
|
|
|
168184
168344
|
}
|
|
168185
168345
|
}
|
|
168186
168346
|
]
|
|
168347
|
+
},
|
|
168348
|
+
"examples": {
|
|
168349
|
+
"default": {
|
|
168350
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
168351
|
+
"value": {
|
|
168352
|
+
"contexts": [
|
|
168353
|
+
"continuous-integration/travis-ci"
|
|
168354
|
+
]
|
|
168355
|
+
}
|
|
168356
|
+
}
|
|
168187
168357
|
}
|
|
168188
168358
|
}
|
|
168189
168359
|
}
|
|
@@ -168365,7 +168535,7 @@
|
|
|
168365
168535
|
"properties": {
|
|
168366
168536
|
"contexts": {
|
|
168367
168537
|
"type": "array",
|
|
168368
|
-
"description": "
|
|
168538
|
+
"description": "The name of the status checks",
|
|
168369
168539
|
"items": {
|
|
168370
168540
|
"type": "string"
|
|
168371
168541
|
}
|
|
@@ -168381,6 +168551,16 @@
|
|
|
168381
168551
|
}
|
|
168382
168552
|
}
|
|
168383
168553
|
]
|
|
168554
|
+
},
|
|
168555
|
+
"examples": {
|
|
168556
|
+
"default": {
|
|
168557
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
168558
|
+
"value": {
|
|
168559
|
+
"contexts": [
|
|
168560
|
+
"continuous-integration/travis-ci"
|
|
168561
|
+
]
|
|
168562
|
+
}
|
|
168563
|
+
}
|
|
168384
168564
|
}
|
|
168385
168565
|
}
|
|
168386
168566
|
}
|
|
@@ -171086,7 +171266,7 @@
|
|
|
171086
171266
|
"properties": {
|
|
171087
171267
|
"teams": {
|
|
171088
171268
|
"type": "array",
|
|
171089
|
-
"description": "teams
|
|
171269
|
+
"description": "The slug values for teams",
|
|
171090
171270
|
"items": {
|
|
171091
171271
|
"type": "string"
|
|
171092
171272
|
}
|
|
@@ -171102,6 +171282,16 @@
|
|
|
171102
171282
|
}
|
|
171103
171283
|
}
|
|
171104
171284
|
]
|
|
171285
|
+
},
|
|
171286
|
+
"examples": {
|
|
171287
|
+
"default": {
|
|
171288
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
171289
|
+
"value": {
|
|
171290
|
+
"teams": [
|
|
171291
|
+
"justice-league"
|
|
171292
|
+
]
|
|
171293
|
+
}
|
|
171294
|
+
}
|
|
171105
171295
|
}
|
|
171106
171296
|
}
|
|
171107
171297
|
}
|
|
@@ -171432,7 +171622,7 @@
|
|
|
171432
171622
|
"properties": {
|
|
171433
171623
|
"teams": {
|
|
171434
171624
|
"type": "array",
|
|
171435
|
-
"description": "teams
|
|
171625
|
+
"description": "The slug values for teams",
|
|
171436
171626
|
"items": {
|
|
171437
171627
|
"type": "string"
|
|
171438
171628
|
}
|
|
@@ -171443,11 +171633,21 @@
|
|
|
171443
171633
|
],
|
|
171444
171634
|
"example": {
|
|
171445
171635
|
"teams": [
|
|
171446
|
-
"
|
|
171636
|
+
"justice-league"
|
|
171447
171637
|
]
|
|
171448
171638
|
}
|
|
171449
171639
|
}
|
|
171450
171640
|
]
|
|
171641
|
+
},
|
|
171642
|
+
"examples": {
|
|
171643
|
+
"default": {
|
|
171644
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
171645
|
+
"value": {
|
|
171646
|
+
"teams": [
|
|
171647
|
+
"justice-league"
|
|
171648
|
+
]
|
|
171649
|
+
}
|
|
171650
|
+
}
|
|
171451
171651
|
}
|
|
171452
171652
|
}
|
|
171453
171653
|
}
|
|
@@ -171777,7 +171977,7 @@
|
|
|
171777
171977
|
"properties": {
|
|
171778
171978
|
"teams": {
|
|
171779
171979
|
"type": "array",
|
|
171780
|
-
"description": "teams
|
|
171980
|
+
"description": "The slug values for teams",
|
|
171781
171981
|
"items": {
|
|
171782
171982
|
"type": "string"
|
|
171783
171983
|
}
|
|
@@ -171793,6 +171993,16 @@
|
|
|
171793
171993
|
}
|
|
171794
171994
|
}
|
|
171795
171995
|
]
|
|
171996
|
+
},
|
|
171997
|
+
"examples": {
|
|
171998
|
+
"default": {
|
|
171999
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
172000
|
+
"value": {
|
|
172001
|
+
"teams": [
|
|
172002
|
+
"justice-league"
|
|
172003
|
+
]
|
|
172004
|
+
}
|
|
172005
|
+
}
|
|
171796
172006
|
}
|
|
171797
172007
|
}
|
|
171798
172008
|
}
|
|
@@ -172357,7 +172567,7 @@
|
|
|
172357
172567
|
"properties": {
|
|
172358
172568
|
"users": {
|
|
172359
172569
|
"type": "array",
|
|
172360
|
-
"description": "users
|
|
172570
|
+
"description": "The username for users",
|
|
172361
172571
|
"items": {
|
|
172362
172572
|
"type": "string"
|
|
172363
172573
|
}
|
|
@@ -172373,6 +172583,16 @@
|
|
|
172373
172583
|
}
|
|
172374
172584
|
}
|
|
172375
172585
|
]
|
|
172586
|
+
},
|
|
172587
|
+
"examples": {
|
|
172588
|
+
"default": {
|
|
172589
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
172590
|
+
"value": {
|
|
172591
|
+
"users": [
|
|
172592
|
+
"octocat"
|
|
172593
|
+
]
|
|
172594
|
+
}
|
|
172595
|
+
}
|
|
172376
172596
|
}
|
|
172377
172597
|
}
|
|
172378
172598
|
}
|
|
@@ -172664,7 +172884,7 @@
|
|
|
172664
172884
|
"properties": {
|
|
172665
172885
|
"users": {
|
|
172666
172886
|
"type": "array",
|
|
172667
|
-
"description": "users
|
|
172887
|
+
"description": "The username for users",
|
|
172668
172888
|
"items": {
|
|
172669
172889
|
"type": "string"
|
|
172670
172890
|
}
|
|
@@ -172680,6 +172900,16 @@
|
|
|
172680
172900
|
}
|
|
172681
172901
|
}
|
|
172682
172902
|
]
|
|
172903
|
+
},
|
|
172904
|
+
"examples": {
|
|
172905
|
+
"default": {
|
|
172906
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
172907
|
+
"value": {
|
|
172908
|
+
"users": [
|
|
172909
|
+
"octocat"
|
|
172910
|
+
]
|
|
172911
|
+
}
|
|
172912
|
+
}
|
|
172683
172913
|
}
|
|
172684
172914
|
}
|
|
172685
172915
|
}
|
|
@@ -172970,7 +173200,7 @@
|
|
|
172970
173200
|
"properties": {
|
|
172971
173201
|
"users": {
|
|
172972
173202
|
"type": "array",
|
|
172973
|
-
"description": "users
|
|
173203
|
+
"description": "The username for users",
|
|
172974
173204
|
"items": {
|
|
172975
173205
|
"type": "string"
|
|
172976
173206
|
}
|
|
@@ -172986,6 +173216,16 @@
|
|
|
172986
173216
|
}
|
|
172987
173217
|
}
|
|
172988
173218
|
]
|
|
173219
|
+
},
|
|
173220
|
+
"examples": {
|
|
173221
|
+
"default": {
|
|
173222
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
173223
|
+
"value": {
|
|
173224
|
+
"users": [
|
|
173225
|
+
"octocat"
|
|
173226
|
+
]
|
|
173227
|
+
}
|
|
173228
|
+
}
|
|
172989
173229
|
}
|
|
172990
173230
|
}
|
|
172991
173231
|
}
|
|
@@ -192356,6 +192596,7 @@
|
|
|
192356
192596
|
"ref": "refs/heads/main",
|
|
192357
192597
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
192358
192598
|
"environment": "",
|
|
192599
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
192359
192600
|
"state": "open",
|
|
192360
192601
|
"fixed_at": null,
|
|
192361
192602
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -193152,7 +193393,7 @@
|
|
|
193152
193393
|
},
|
|
193153
193394
|
"delete": {
|
|
193154
193395
|
"summary": "Delete a code scanning analysis from a repository",
|
|
193155
|
-
"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* `
|
|
193396
|
+
"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.",
|
|
193156
193397
|
"operationId": "code-scanning/delete-analysis",
|
|
193157
193398
|
"tags": [
|
|
193158
193399
|
"code-scanning"
|
|
@@ -214116,7 +214357,7 @@
|
|
|
214116
214357
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
214117
214358
|
"get": {
|
|
214118
214359
|
"summary": "Get repository content",
|
|
214119
|
-
"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.5/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.5/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
214360
|
+
"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.5/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.5/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.5/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.5/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.",
|
|
214120
214361
|
"tags": [
|
|
214121
214362
|
"repos"
|
|
214122
214363
|
],
|
|
@@ -232794,7 +233035,6 @@
|
|
|
232794
233035
|
"node_id": "MDc6TGljZW5zZW1pdA==",
|
|
232795
233036
|
"html_url": "https://github.com/licenses/mit"
|
|
232796
233037
|
},
|
|
232797
|
-
"language": null,
|
|
232798
233038
|
"forks_count": 9,
|
|
232799
233039
|
"forks": 9,
|
|
232800
233040
|
"stargazers_count": 80,
|
|
@@ -239906,14 +240146,6 @@
|
|
|
239906
240146
|
"write"
|
|
239907
240147
|
]
|
|
239908
240148
|
},
|
|
239909
|
-
"organization_custom_roles": {
|
|
239910
|
-
"type": "string",
|
|
239911
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
239912
|
-
"enum": [
|
|
239913
|
-
"read",
|
|
239914
|
-
"write"
|
|
239915
|
-
]
|
|
239916
|
-
},
|
|
239917
240149
|
"deployments": {
|
|
239918
240150
|
"type": "string",
|
|
239919
240151
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -242678,6 +242910,14 @@
|
|
|
242678
242910
|
]
|
|
242679
242911
|
}
|
|
242680
242912
|
}
|
|
242913
|
+
},
|
|
242914
|
+
"examples": {
|
|
242915
|
+
"default": {
|
|
242916
|
+
"summary": "Example request body",
|
|
242917
|
+
"value": {
|
|
242918
|
+
"permissions": "write"
|
|
242919
|
+
}
|
|
242920
|
+
}
|
|
242681
242921
|
}
|
|
242682
242922
|
}
|
|
242683
242923
|
}
|
|
@@ -247500,7 +247740,8 @@
|
|
|
247500
247740
|
"type": "User",
|
|
247501
247741
|
"site_admin": false
|
|
247502
247742
|
},
|
|
247503
|
-
"author_association": "COLLABORATOR"
|
|
247743
|
+
"author_association": "COLLABORATOR",
|
|
247744
|
+
"state_reason": "completed"
|
|
247504
247745
|
}
|
|
247505
247746
|
]
|
|
247506
247747
|
}
|
|
@@ -250275,7 +250516,8 @@
|
|
|
250275
250516
|
"type": "User",
|
|
250276
250517
|
"site_admin": false
|
|
250277
250518
|
},
|
|
250278
|
-
"author_association": "COLLABORATOR"
|
|
250519
|
+
"author_association": "COLLABORATOR",
|
|
250520
|
+
"state_reason": "completed"
|
|
250279
250521
|
}
|
|
250280
250522
|
}
|
|
250281
250523
|
}
|
|
@@ -257246,7 +257488,8 @@
|
|
|
257246
257488
|
"closed_at": null,
|
|
257247
257489
|
"created_at": "2011-04-22T13:33:48Z",
|
|
257248
257490
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
257249
|
-
"author_association": "COLLABORATOR"
|
|
257491
|
+
"author_association": "COLLABORATOR",
|
|
257492
|
+
"state_reason": "completed"
|
|
257250
257493
|
}
|
|
257251
257494
|
}
|
|
257252
257495
|
]
|
|
@@ -261117,7 +261360,8 @@
|
|
|
261117
261360
|
"closed_at": null,
|
|
261118
261361
|
"created_at": "2011-04-22T13:33:48Z",
|
|
261119
261362
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
261120
|
-
"author_association": "COLLABORATOR"
|
|
261363
|
+
"author_association": "COLLABORATOR",
|
|
261364
|
+
"state_reason": "completed"
|
|
261121
261365
|
}
|
|
261122
261366
|
}
|
|
261123
261367
|
}
|
|
@@ -263753,7 +263997,8 @@
|
|
|
263753
263997
|
"type": "User",
|
|
263754
263998
|
"site_admin": false
|
|
263755
263999
|
},
|
|
263756
|
-
"author_association": "COLLABORATOR"
|
|
264000
|
+
"author_association": "COLLABORATOR",
|
|
264001
|
+
"state_reason": "completed"
|
|
263757
264002
|
}
|
|
263758
264003
|
}
|
|
263759
264004
|
}
|
|
@@ -263933,6 +264178,12 @@
|
|
|
263933
264178
|
"closed"
|
|
263934
264179
|
]
|
|
263935
264180
|
},
|
|
264181
|
+
"state_reason": {
|
|
264182
|
+
"type": "string",
|
|
264183
|
+
"nullable": true,
|
|
264184
|
+
"description": "The reason for the current state",
|
|
264185
|
+
"example": "not_planned"
|
|
264186
|
+
},
|
|
263936
264187
|
"milestone": {
|
|
263937
264188
|
"oneOf": [
|
|
263938
264189
|
{
|
|
@@ -266496,7 +266747,8 @@
|
|
|
266496
266747
|
"type": "User",
|
|
266497
266748
|
"site_admin": false
|
|
266498
266749
|
},
|
|
266499
|
-
"author_association": "COLLABORATOR"
|
|
266750
|
+
"author_association": "COLLABORATOR",
|
|
266751
|
+
"state_reason": "completed"
|
|
266500
266752
|
}
|
|
266501
266753
|
}
|
|
266502
266754
|
}
|
|
@@ -269276,7 +269528,8 @@
|
|
|
269276
269528
|
"type": "User",
|
|
269277
269529
|
"site_admin": false
|
|
269278
269530
|
},
|
|
269279
|
-
"author_association": "COLLABORATOR"
|
|
269531
|
+
"author_association": "COLLABORATOR",
|
|
269532
|
+
"state_reason": "completed"
|
|
269280
269533
|
}
|
|
269281
269534
|
}
|
|
269282
269535
|
}
|
|
@@ -313428,7 +313681,13 @@
|
|
|
313428
313681
|
"category": "pulls",
|
|
313429
313682
|
"subcategory": null
|
|
313430
313683
|
},
|
|
313431
|
-
"x-octokit": {
|
|
313684
|
+
"x-octokit": {
|
|
313685
|
+
"diff": {
|
|
313686
|
+
"ghes-3.6": {
|
|
313687
|
+
"type": "changed"
|
|
313688
|
+
}
|
|
313689
|
+
}
|
|
313690
|
+
}
|
|
313432
313691
|
}
|
|
313433
313692
|
},
|
|
313434
313693
|
"/repos/{owner}/{repo}/pulls/comments": {
|
|
@@ -319415,7 +319674,13 @@
|
|
|
319415
319674
|
"category": "pulls",
|
|
319416
319675
|
"subcategory": null
|
|
319417
319676
|
},
|
|
319418
|
-
"x-octokit": {
|
|
319677
|
+
"x-octokit": {
|
|
319678
|
+
"diff": {
|
|
319679
|
+
"ghes-3.6": {
|
|
319680
|
+
"type": "changed"
|
|
319681
|
+
}
|
|
319682
|
+
}
|
|
319683
|
+
}
|
|
319419
319684
|
},
|
|
319420
319685
|
"patch": {
|
|
319421
319686
|
"summary": "Update a pull request",
|
|
@@ -322822,7 +323087,13 @@
|
|
|
322822
323087
|
"category": "pulls",
|
|
322823
323088
|
"subcategory": null
|
|
322824
323089
|
},
|
|
322825
|
-
"x-octokit": {
|
|
323090
|
+
"x-octokit": {
|
|
323091
|
+
"diff": {
|
|
323092
|
+
"ghes-3.6": {
|
|
323093
|
+
"type": "changed"
|
|
323094
|
+
}
|
|
323095
|
+
}
|
|
323096
|
+
}
|
|
322826
323097
|
}
|
|
322827
323098
|
},
|
|
322828
323099
|
"/repos/{owner}/{repo}/pulls/{pull_number}/comments": {
|
|
@@ -363364,7 +363635,8 @@
|
|
|
363364
363635
|
"body": "...",
|
|
363365
363636
|
"score": 1,
|
|
363366
363637
|
"locked": true,
|
|
363367
|
-
"author_association": "COLLABORATOR"
|
|
363638
|
+
"author_association": "COLLABORATOR",
|
|
363639
|
+
"state_reason": "completed"
|
|
363368
363640
|
}
|
|
363369
363641
|
]
|
|
363370
363642
|
}
|
|
@@ -364757,7 +365029,13 @@
|
|
|
364757
365029
|
"category": "search",
|
|
364758
365030
|
"subcategory": null
|
|
364759
365031
|
},
|
|
364760
|
-
"x-octokit": {
|
|
365032
|
+
"x-octokit": {
|
|
365033
|
+
"diff": {
|
|
365034
|
+
"ghes-3.6": {
|
|
365035
|
+
"type": "changed"
|
|
365036
|
+
}
|
|
365037
|
+
}
|
|
365038
|
+
}
|
|
364761
365039
|
}
|
|
364762
365040
|
},
|
|
364763
365041
|
"/search/topics": {
|
|
@@ -367145,8 +367423,8 @@
|
|
|
367145
367423
|
"example": "2017-08-17T12:37:15Z"
|
|
367146
367424
|
},
|
|
367147
367425
|
"organization": {
|
|
367148
|
-
"title": "Organization
|
|
367149
|
-
"description": "Organization
|
|
367426
|
+
"title": "Team Organization",
|
|
367427
|
+
"description": "Team Organization",
|
|
367150
367428
|
"type": "object",
|
|
367151
367429
|
"properties": {
|
|
367152
367430
|
"login": {
|
|
@@ -367515,7 +367793,13 @@
|
|
|
367515
367793
|
"subcategory": null
|
|
367516
367794
|
},
|
|
367517
367795
|
"deprecated": true,
|
|
367518
|
-
"x-octokit": {
|
|
367796
|
+
"x-octokit": {
|
|
367797
|
+
"diff": {
|
|
367798
|
+
"ghes-3.6": {
|
|
367799
|
+
"type": "changed"
|
|
367800
|
+
}
|
|
367801
|
+
}
|
|
367802
|
+
}
|
|
367519
367803
|
},
|
|
367520
367804
|
"patch": {
|
|
367521
367805
|
"summary": "Update a team (Legacy)",
|
|
@@ -367759,8 +368043,8 @@
|
|
|
367759
368043
|
"example": "2017-08-17T12:37:15Z"
|
|
367760
368044
|
},
|
|
367761
368045
|
"organization": {
|
|
367762
|
-
"title": "Organization
|
|
367763
|
-
"description": "Organization
|
|
368046
|
+
"title": "Team Organization",
|
|
368047
|
+
"description": "Team Organization",
|
|
367764
368048
|
"type": "object",
|
|
367765
368049
|
"properties": {
|
|
367766
368050
|
"login": {
|
|
@@ -368257,8 +368541,8 @@
|
|
|
368257
368541
|
"example": "2017-08-17T12:37:15Z"
|
|
368258
368542
|
},
|
|
368259
368543
|
"organization": {
|
|
368260
|
-
"title": "Organization
|
|
368261
|
-
"description": "Organization
|
|
368544
|
+
"title": "Team Organization",
|
|
368545
|
+
"description": "Team Organization",
|
|
368262
368546
|
"type": "object",
|
|
368263
368547
|
"properties": {
|
|
368264
368548
|
"login": {
|
|
@@ -368722,7 +369006,13 @@
|
|
|
368722
369006
|
"subcategory": null
|
|
368723
369007
|
},
|
|
368724
369008
|
"deprecated": true,
|
|
368725
|
-
"x-octokit": {
|
|
369009
|
+
"x-octokit": {
|
|
369010
|
+
"diff": {
|
|
369011
|
+
"ghes-3.6": {
|
|
369012
|
+
"type": "changed"
|
|
369013
|
+
}
|
|
369014
|
+
}
|
|
369015
|
+
}
|
|
368726
369016
|
},
|
|
368727
369017
|
"delete": {
|
|
368728
369018
|
"summary": "Delete a team (Legacy)",
|
|
@@ -383949,14 +384239,6 @@
|
|
|
383949
384239
|
"write"
|
|
383950
384240
|
]
|
|
383951
384241
|
},
|
|
383952
|
-
"organization_custom_roles": {
|
|
383953
|
-
"type": "string",
|
|
383954
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
383955
|
-
"enum": [
|
|
383956
|
-
"read",
|
|
383957
|
-
"write"
|
|
383958
|
-
]
|
|
383959
|
-
},
|
|
383960
384242
|
"deployments": {
|
|
383961
384243
|
"type": "string",
|
|
383962
384244
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -398871,6 +399153,40 @@
|
|
|
398871
399153
|
"type": "boolean",
|
|
398872
399154
|
"example": false
|
|
398873
399155
|
},
|
|
399156
|
+
"squash_merge_commit_title": {
|
|
399157
|
+
"type": "string",
|
|
399158
|
+
"enum": [
|
|
399159
|
+
"PR_TITLE",
|
|
399160
|
+
"COMMIT_OR_PR_TITLE"
|
|
399161
|
+
],
|
|
399162
|
+
"description": "The default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."
|
|
399163
|
+
},
|
|
399164
|
+
"squash_merge_commit_message": {
|
|
399165
|
+
"type": "string",
|
|
399166
|
+
"enum": [
|
|
399167
|
+
"PR_BODY",
|
|
399168
|
+
"COMMIT_MESSAGES",
|
|
399169
|
+
"BLANK"
|
|
399170
|
+
],
|
|
399171
|
+
"description": "The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."
|
|
399172
|
+
},
|
|
399173
|
+
"merge_commit_title": {
|
|
399174
|
+
"type": "string",
|
|
399175
|
+
"enum": [
|
|
399176
|
+
"PR_TITLE",
|
|
399177
|
+
"MERGE_MESSAGE"
|
|
399178
|
+
],
|
|
399179
|
+
"description": "The default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."
|
|
399180
|
+
},
|
|
399181
|
+
"merge_commit_message": {
|
|
399182
|
+
"type": "string",
|
|
399183
|
+
"enum": [
|
|
399184
|
+
"PR_BODY",
|
|
399185
|
+
"PR_TITLE",
|
|
399186
|
+
"BLANK"
|
|
399187
|
+
],
|
|
399188
|
+
"description": "The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."
|
|
399189
|
+
},
|
|
398874
399190
|
"has_downloads": {
|
|
398875
399191
|
"description": "Whether downloads are enabled.",
|
|
398876
399192
|
"default": true,
|
|
@@ -408002,8 +408318,8 @@
|
|
|
408002
408318
|
"example": "2017-08-17T12:37:15Z"
|
|
408003
408319
|
},
|
|
408004
408320
|
"organization": {
|
|
408005
|
-
"title": "Organization
|
|
408006
|
-
"description": "Organization
|
|
408321
|
+
"title": "Team Organization",
|
|
408322
|
+
"description": "Team Organization",
|
|
408007
408323
|
"type": "object",
|
|
408008
408324
|
"properties": {
|
|
408009
408325
|
"login": {
|
|
@@ -408409,7 +408725,13 @@
|
|
|
408409
408725
|
"category": "teams",
|
|
408410
408726
|
"subcategory": null
|
|
408411
408727
|
},
|
|
408412
|
-
"x-octokit": {
|
|
408728
|
+
"x-octokit": {
|
|
408729
|
+
"diff": {
|
|
408730
|
+
"ghes-3.6": {
|
|
408731
|
+
"type": "changed"
|
|
408732
|
+
}
|
|
408733
|
+
}
|
|
408734
|
+
}
|
|
408413
408735
|
}
|
|
408414
408736
|
},
|
|
408415
408737
|
"/users": {
|
|
@@ -420393,14 +420715,6 @@
|
|
|
420393
420715
|
"write"
|
|
420394
420716
|
]
|
|
420395
420717
|
},
|
|
420396
|
-
"organization_custom_roles": {
|
|
420397
|
-
"type": "string",
|
|
420398
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
420399
|
-
"enum": [
|
|
420400
|
-
"read",
|
|
420401
|
-
"write"
|
|
420402
|
-
]
|
|
420403
|
-
},
|
|
420404
420718
|
"deployments": {
|
|
420405
420719
|
"type": "string",
|
|
420406
420720
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|