@octokit/openapi 7.5.0 → 7.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/api.github.com.deref.json +466 -140
- package/generated/api.github.com.json +607 -28
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +31 -25
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +25 -14
- package/generated/ghes-3.2.deref.json +319 -242
- package/generated/ghes-3.2.json +558 -26
- package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +0 -16
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +187 -223
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +432 -10
- package/generated/ghes-3.3.deref.json +319 -242
- package/generated/ghes-3.3.json +558 -26
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +9 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +9 -1
- package/generated/ghes-3.4.deref.json +322 -228
- package/generated/ghes-3.4.json +566 -28
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +45 -39
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +283 -15
- package/generated/ghes-3.5.deref.json +322 -228
- package/generated/ghes-3.5.json +566 -28
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +433 -88
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +17464 -6423
- package/generated/ghes-3.6-diff-to-api.github.com.json +4502 -2247
- package/generated/ghes-3.6.deref.json +406 -240
- package/generated/ghes-3.6.json +654 -40
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +318 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +15845 -8423
- package/generated/github.ae-diff-to-api.github.com.json +1168 -44
- package/generated/github.ae.deref.json +409 -163
- package/generated/github.ae.json +646 -35
- package/package.json +1 -1
package/generated/ghes-3.6.json
CHANGED
|
@@ -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": {
|
|
@@ -2906,7 +2906,13 @@
|
|
|
2906
2906
|
"category": "apps",
|
|
2907
2907
|
"subcategory": null
|
|
2908
2908
|
},
|
|
2909
|
-
"x-octokit": {
|
|
2909
|
+
"x-octokit": {
|
|
2910
|
+
"diff": {
|
|
2911
|
+
"api.github.com": {
|
|
2912
|
+
"type": "changed"
|
|
2913
|
+
}
|
|
2914
|
+
}
|
|
2915
|
+
}
|
|
2910
2916
|
}
|
|
2911
2917
|
},
|
|
2912
2918
|
"/app/installations/{installation_id}": {
|
|
@@ -2952,7 +2958,13 @@
|
|
|
2952
2958
|
"category": "apps",
|
|
2953
2959
|
"subcategory": null
|
|
2954
2960
|
},
|
|
2955
|
-
"x-octokit": {
|
|
2961
|
+
"x-octokit": {
|
|
2962
|
+
"diff": {
|
|
2963
|
+
"api.github.com": {
|
|
2964
|
+
"type": "changed"
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2967
|
+
}
|
|
2956
2968
|
},
|
|
2957
2969
|
"delete": {
|
|
2958
2970
|
"summary": "Delete an installation for the authenticated app",
|
|
@@ -3083,7 +3095,13 @@
|
|
|
3083
3095
|
"category": "apps",
|
|
3084
3096
|
"subcategory": null
|
|
3085
3097
|
},
|
|
3086
|
-
"x-octokit": {
|
|
3098
|
+
"x-octokit": {
|
|
3099
|
+
"diff": {
|
|
3100
|
+
"api.github.com": {
|
|
3101
|
+
"type": "changed"
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
}
|
|
3087
3105
|
}
|
|
3088
3106
|
},
|
|
3089
3107
|
"/app/installations/{installation_id}/suspended": {
|
|
@@ -3476,7 +3494,13 @@
|
|
|
3476
3494
|
"category": "apps",
|
|
3477
3495
|
"subcategory": "oauth-applications"
|
|
3478
3496
|
},
|
|
3479
|
-
"x-octokit": {
|
|
3497
|
+
"x-octokit": {
|
|
3498
|
+
"diff": {
|
|
3499
|
+
"api.github.com": {
|
|
3500
|
+
"type": "changed"
|
|
3501
|
+
}
|
|
3502
|
+
}
|
|
3503
|
+
}
|
|
3480
3504
|
},
|
|
3481
3505
|
"patch": {
|
|
3482
3506
|
"summary": "Reset a token",
|
|
@@ -3546,7 +3570,13 @@
|
|
|
3546
3570
|
"category": "apps",
|
|
3547
3571
|
"subcategory": "oauth-applications"
|
|
3548
3572
|
},
|
|
3549
|
-
"x-octokit": {
|
|
3573
|
+
"x-octokit": {
|
|
3574
|
+
"diff": {
|
|
3575
|
+
"api.github.com": {
|
|
3576
|
+
"type": "changed"
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3550
3580
|
},
|
|
3551
3581
|
"delete": {
|
|
3552
3582
|
"summary": "Delete an app token",
|
|
@@ -3723,7 +3753,13 @@
|
|
|
3723
3753
|
"category": "apps",
|
|
3724
3754
|
"subcategory": "oauth-applications"
|
|
3725
3755
|
},
|
|
3726
|
-
"x-octokit": {
|
|
3756
|
+
"x-octokit": {
|
|
3757
|
+
"diff": {
|
|
3758
|
+
"api.github.com": {
|
|
3759
|
+
"type": "changed"
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3727
3763
|
}
|
|
3728
3764
|
},
|
|
3729
3765
|
"/apps/{app_slug}": {
|
|
@@ -10002,7 +10038,7 @@
|
|
|
10002
10038
|
"/organizations/{organization_id}/custom_roles": {
|
|
10003
10039
|
"get": {
|
|
10004
10040
|
"summary": "List custom repository roles in an organization",
|
|
10005
|
-
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
10041
|
+
"description": "List the custom repository roles available in this organization. In order to see custom\nrepository roles in an organization, the authenticated user must be an organization owner.\n\nTo use this endpoint the authenticated user must be an administrator for the organization or of an repository of the organizaiton and must use an access token with `admin:org repo` scope.\nGitHub Apps must have the `organization_custom_roles:read` organization permission to use this endpoint.\n\nFor more information on custom repository roles, see \"[Managing custom repository roles for an organization](https://docs.github.com/enterprise-server@3.6/organizations/managing-peoples-access-to-your-organization-with-roles/managing-custom-repository-roles-for-an-organization)\".",
|
|
10006
10042
|
"tags": [
|
|
10007
10043
|
"orgs"
|
|
10008
10044
|
],
|
|
@@ -14220,7 +14256,13 @@
|
|
|
14220
14256
|
"category": "apps",
|
|
14221
14257
|
"subcategory": null
|
|
14222
14258
|
},
|
|
14223
|
-
"x-octokit": {
|
|
14259
|
+
"x-octokit": {
|
|
14260
|
+
"diff": {
|
|
14261
|
+
"api.github.com": {
|
|
14262
|
+
"type": "changed"
|
|
14263
|
+
}
|
|
14264
|
+
}
|
|
14265
|
+
}
|
|
14224
14266
|
}
|
|
14225
14267
|
},
|
|
14226
14268
|
"/orgs/{org}/installations": {
|
|
@@ -14289,7 +14331,13 @@
|
|
|
14289
14331
|
"category": "orgs",
|
|
14290
14332
|
"subcategory": null
|
|
14291
14333
|
},
|
|
14292
|
-
"x-octokit": {
|
|
14334
|
+
"x-octokit": {
|
|
14335
|
+
"diff": {
|
|
14336
|
+
"api.github.com": {
|
|
14337
|
+
"type": "changed"
|
|
14338
|
+
}
|
|
14339
|
+
}
|
|
14340
|
+
}
|
|
14293
14341
|
}
|
|
14294
14342
|
},
|
|
14295
14343
|
"/orgs/{org}/issues": {
|
|
@@ -24077,6 +24125,11 @@
|
|
|
24077
24125
|
"application/json": {
|
|
24078
24126
|
"schema": {
|
|
24079
24127
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
24128
|
+
},
|
|
24129
|
+
"examples": {
|
|
24130
|
+
"default": {
|
|
24131
|
+
"$ref": "#/components/examples/branch-get"
|
|
24132
|
+
}
|
|
24080
24133
|
}
|
|
24081
24134
|
}
|
|
24082
24135
|
}
|
|
@@ -24419,6 +24472,11 @@
|
|
|
24419
24472
|
"application/json": {
|
|
24420
24473
|
"schema": {
|
|
24421
24474
|
"$ref": "#/components/schemas/protected-branch"
|
|
24475
|
+
},
|
|
24476
|
+
"examples": {
|
|
24477
|
+
"default": {
|
|
24478
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
24479
|
+
}
|
|
24422
24480
|
}
|
|
24423
24481
|
}
|
|
24424
24482
|
}
|
|
@@ -25293,7 +25351,7 @@
|
|
|
25293
25351
|
"properties": {
|
|
25294
25352
|
"contexts": {
|
|
25295
25353
|
"type": "array",
|
|
25296
|
-
"description": "
|
|
25354
|
+
"description": "The name of the status checks",
|
|
25297
25355
|
"items": {
|
|
25298
25356
|
"type": "string"
|
|
25299
25357
|
}
|
|
@@ -25309,6 +25367,17 @@
|
|
|
25309
25367
|
}
|
|
25310
25368
|
}
|
|
25311
25369
|
]
|
|
25370
|
+
},
|
|
25371
|
+
"examples": {
|
|
25372
|
+
"default": {
|
|
25373
|
+
"summary": "Example adding status checks to a branch protection rule",
|
|
25374
|
+
"value": {
|
|
25375
|
+
"contexts": [
|
|
25376
|
+
"continuous-integration/travis-ci",
|
|
25377
|
+
"continuous-integration/jenkins"
|
|
25378
|
+
]
|
|
25379
|
+
}
|
|
25380
|
+
}
|
|
25312
25381
|
}
|
|
25313
25382
|
}
|
|
25314
25383
|
}
|
|
@@ -25387,7 +25456,7 @@
|
|
|
25387
25456
|
"properties": {
|
|
25388
25457
|
"contexts": {
|
|
25389
25458
|
"type": "array",
|
|
25390
|
-
"description": "
|
|
25459
|
+
"description": "The name of the status checks",
|
|
25391
25460
|
"items": {
|
|
25392
25461
|
"type": "string"
|
|
25393
25462
|
}
|
|
@@ -25403,6 +25472,16 @@
|
|
|
25403
25472
|
}
|
|
25404
25473
|
}
|
|
25405
25474
|
]
|
|
25475
|
+
},
|
|
25476
|
+
"examples": {
|
|
25477
|
+
"default": {
|
|
25478
|
+
"summary": "Example updating status checks for a branch protection rule",
|
|
25479
|
+
"value": {
|
|
25480
|
+
"contexts": [
|
|
25481
|
+
"continuous-integration/travis-ci"
|
|
25482
|
+
]
|
|
25483
|
+
}
|
|
25484
|
+
}
|
|
25406
25485
|
}
|
|
25407
25486
|
}
|
|
25408
25487
|
}
|
|
@@ -25476,7 +25555,7 @@
|
|
|
25476
25555
|
"properties": {
|
|
25477
25556
|
"contexts": {
|
|
25478
25557
|
"type": "array",
|
|
25479
|
-
"description": "
|
|
25558
|
+
"description": "The name of the status checks",
|
|
25480
25559
|
"items": {
|
|
25481
25560
|
"type": "string"
|
|
25482
25561
|
}
|
|
@@ -25492,6 +25571,16 @@
|
|
|
25492
25571
|
}
|
|
25493
25572
|
}
|
|
25494
25573
|
]
|
|
25574
|
+
},
|
|
25575
|
+
"examples": {
|
|
25576
|
+
"default": {
|
|
25577
|
+
"summary": "Example removing status checks from a branch protection rule",
|
|
25578
|
+
"value": {
|
|
25579
|
+
"contexts": [
|
|
25580
|
+
"continuous-integration/travis-ci"
|
|
25581
|
+
]
|
|
25582
|
+
}
|
|
25583
|
+
}
|
|
25495
25584
|
}
|
|
25496
25585
|
}
|
|
25497
25586
|
}
|
|
@@ -26017,7 +26106,7 @@
|
|
|
26017
26106
|
"properties": {
|
|
26018
26107
|
"teams": {
|
|
26019
26108
|
"type": "array",
|
|
26020
|
-
"description": "teams
|
|
26109
|
+
"description": "The slug values for teams",
|
|
26021
26110
|
"items": {
|
|
26022
26111
|
"type": "string"
|
|
26023
26112
|
}
|
|
@@ -26033,6 +26122,16 @@
|
|
|
26033
26122
|
}
|
|
26034
26123
|
}
|
|
26035
26124
|
]
|
|
26125
|
+
},
|
|
26126
|
+
"examples": {
|
|
26127
|
+
"default": {
|
|
26128
|
+
"summary": "Example adding a team in a branch protection rule",
|
|
26129
|
+
"value": {
|
|
26130
|
+
"teams": [
|
|
26131
|
+
"justice-league"
|
|
26132
|
+
]
|
|
26133
|
+
}
|
|
26134
|
+
}
|
|
26036
26135
|
}
|
|
26037
26136
|
}
|
|
26038
26137
|
}
|
|
@@ -26102,7 +26201,7 @@
|
|
|
26102
26201
|
"properties": {
|
|
26103
26202
|
"teams": {
|
|
26104
26203
|
"type": "array",
|
|
26105
|
-
"description": "teams
|
|
26204
|
+
"description": "The slug values for teams",
|
|
26106
26205
|
"items": {
|
|
26107
26206
|
"type": "string"
|
|
26108
26207
|
}
|
|
@@ -26113,11 +26212,21 @@
|
|
|
26113
26212
|
],
|
|
26114
26213
|
"example": {
|
|
26115
26214
|
"teams": [
|
|
26116
|
-
"
|
|
26215
|
+
"justice-league"
|
|
26117
26216
|
]
|
|
26118
26217
|
}
|
|
26119
26218
|
}
|
|
26120
26219
|
]
|
|
26220
|
+
},
|
|
26221
|
+
"examples": {
|
|
26222
|
+
"default": {
|
|
26223
|
+
"summary": "Example replacing a team in a branch protection rule",
|
|
26224
|
+
"value": {
|
|
26225
|
+
"teams": [
|
|
26226
|
+
"justice-league"
|
|
26227
|
+
]
|
|
26228
|
+
}
|
|
26229
|
+
}
|
|
26121
26230
|
}
|
|
26122
26231
|
}
|
|
26123
26232
|
}
|
|
@@ -26186,7 +26295,7 @@
|
|
|
26186
26295
|
"properties": {
|
|
26187
26296
|
"teams": {
|
|
26188
26297
|
"type": "array",
|
|
26189
|
-
"description": "teams
|
|
26298
|
+
"description": "The slug values for teams",
|
|
26190
26299
|
"items": {
|
|
26191
26300
|
"type": "string"
|
|
26192
26301
|
}
|
|
@@ -26202,6 +26311,16 @@
|
|
|
26202
26311
|
}
|
|
26203
26312
|
}
|
|
26204
26313
|
]
|
|
26314
|
+
},
|
|
26315
|
+
"examples": {
|
|
26316
|
+
"default": {
|
|
26317
|
+
"summary": "Example removing a team in a branch protection rule",
|
|
26318
|
+
"value": {
|
|
26319
|
+
"teams": [
|
|
26320
|
+
"justice-league"
|
|
26321
|
+
]
|
|
26322
|
+
}
|
|
26323
|
+
}
|
|
26205
26324
|
}
|
|
26206
26325
|
}
|
|
26207
26326
|
}
|
|
@@ -26326,7 +26445,7 @@
|
|
|
26326
26445
|
"properties": {
|
|
26327
26446
|
"users": {
|
|
26328
26447
|
"type": "array",
|
|
26329
|
-
"description": "users
|
|
26448
|
+
"description": "The username for users",
|
|
26330
26449
|
"items": {
|
|
26331
26450
|
"type": "string"
|
|
26332
26451
|
}
|
|
@@ -26342,6 +26461,16 @@
|
|
|
26342
26461
|
}
|
|
26343
26462
|
}
|
|
26344
26463
|
]
|
|
26464
|
+
},
|
|
26465
|
+
"examples": {
|
|
26466
|
+
"default": {
|
|
26467
|
+
"summary": "Example adding a user in a branch protection rule",
|
|
26468
|
+
"value": {
|
|
26469
|
+
"users": [
|
|
26470
|
+
"octocat"
|
|
26471
|
+
]
|
|
26472
|
+
}
|
|
26473
|
+
}
|
|
26345
26474
|
}
|
|
26346
26475
|
}
|
|
26347
26476
|
}
|
|
@@ -26411,7 +26540,7 @@
|
|
|
26411
26540
|
"properties": {
|
|
26412
26541
|
"users": {
|
|
26413
26542
|
"type": "array",
|
|
26414
|
-
"description": "users
|
|
26543
|
+
"description": "The username for users",
|
|
26415
26544
|
"items": {
|
|
26416
26545
|
"type": "string"
|
|
26417
26546
|
}
|
|
@@ -26427,6 +26556,16 @@
|
|
|
26427
26556
|
}
|
|
26428
26557
|
}
|
|
26429
26558
|
]
|
|
26559
|
+
},
|
|
26560
|
+
"examples": {
|
|
26561
|
+
"default": {
|
|
26562
|
+
"summary": "Example replacing a user in a branch protection rule",
|
|
26563
|
+
"value": {
|
|
26564
|
+
"users": [
|
|
26565
|
+
"octocat"
|
|
26566
|
+
]
|
|
26567
|
+
}
|
|
26568
|
+
}
|
|
26430
26569
|
}
|
|
26431
26570
|
}
|
|
26432
26571
|
}
|
|
@@ -26495,7 +26634,7 @@
|
|
|
26495
26634
|
"properties": {
|
|
26496
26635
|
"users": {
|
|
26497
26636
|
"type": "array",
|
|
26498
|
-
"description": "users
|
|
26637
|
+
"description": "The username for users",
|
|
26499
26638
|
"items": {
|
|
26500
26639
|
"type": "string"
|
|
26501
26640
|
}
|
|
@@ -26511,6 +26650,16 @@
|
|
|
26511
26650
|
}
|
|
26512
26651
|
}
|
|
26513
26652
|
]
|
|
26653
|
+
},
|
|
26654
|
+
"examples": {
|
|
26655
|
+
"default": {
|
|
26656
|
+
"summary": "Example removing a user in a branch protection rule",
|
|
26657
|
+
"value": {
|
|
26658
|
+
"users": [
|
|
26659
|
+
"octocat"
|
|
26660
|
+
]
|
|
26661
|
+
}
|
|
26662
|
+
}
|
|
26514
26663
|
}
|
|
26515
26664
|
}
|
|
26516
26665
|
}
|
|
@@ -28262,7 +28411,13 @@
|
|
|
28262
28411
|
"githubCloudOnly": false,
|
|
28263
28412
|
"category": "code-scanning"
|
|
28264
28413
|
},
|
|
28265
|
-
"x-octokit": {
|
|
28414
|
+
"x-octokit": {
|
|
28415
|
+
"diff": {
|
|
28416
|
+
"api.github.com": {
|
|
28417
|
+
"type": "changed"
|
|
28418
|
+
}
|
|
28419
|
+
}
|
|
28420
|
+
}
|
|
28266
28421
|
}
|
|
28267
28422
|
},
|
|
28268
28423
|
"/repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}": {
|
|
@@ -28340,7 +28495,7 @@
|
|
|
28340
28495
|
},
|
|
28341
28496
|
"delete": {
|
|
28342
28497
|
"summary": "Delete a code scanning analysis from a repository",
|
|
28343
|
-
"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* `
|
|
28498
|
+
"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.",
|
|
28344
28499
|
"operationId": "code-scanning/delete-analysis",
|
|
28345
28500
|
"tags": [
|
|
28346
28501
|
"code-scanning"
|
|
@@ -30266,7 +30421,7 @@
|
|
|
30266
30421
|
"/repos/{owner}/{repo}/contents/{path}": {
|
|
30267
30422
|
"get": {
|
|
30268
30423
|
"summary": "Get repository content",
|
|
30269
|
-
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**
|
|
30424
|
+
"description": "Gets the contents of a file or directory in a repository. Specify the file path or directory in `:path`. If you omit\n`:path`, you will receive the contents of the repository's root directory. See the description below regarding what the API response includes for directories. \n\nFiles and symlinks support [a custom media type](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) for\nretrieving the raw content or rendered HTML (when supported). All content types support [a custom media\ntype](https://docs.github.com/enterprise-server@3.6/rest/reference/repos#custom-media-types) to ensure the content is returned in a consistent\nobject format.\n\n**Notes**:\n* To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.6/rest/reference/git#trees).\n* This API has an upper limit of 1,000 files for a directory. If you need to retrieve more files, use the [Git Trees\nAPI](https://docs.github.com/enterprise-server@3.6/rest/reference/git#get-a-tree).\n * Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.\n#### Size limits\nIf the requested file's size is:\n* 1 MB or smaller: All features of this endpoint are supported.\n* Between 1-100 MB: Only the `raw` or `object` [custom media types](https://docs.github.com/enterprise-server@3.6/rest/repos/contents#custom-media-types-for-repository-contents) are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an empty string and the `encoding` field will be `\"none\"`. To get the contents of these larger files, use the `raw` media type.\n * Greater than 100 MB: This endpoint is not supported.\n\n#### If the content is a directory\nThe response will be an array of objects, one object for each item in the directory.\nWhen listing the contents of a directory, submodules have their \"type\" specified as \"file\". Logically, the value\n_should_ be \"submodule\". This behavior exists in API v3 [for backwards compatibility purposes](https://git.io/v1YCW).\nIn the next major version of the API, the type will be returned as \"submodule\".\n\n#### If the content is a symlink \nIf the requested `:path` points to a symlink, and the symlink's target is a normal file in the repository, then the\nAPI responds with the content of the file (in the format shown in the example. Otherwise, the API responds with an object \ndescribing the symlink itself.\n\n#### If the content is a submodule\nThe `submodule_git_url` identifies the location of the submodule repository, and the `sha` identifies a specific\ncommit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out\nthe submodule at that specific commit.\n\nIf the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links[\"git\"]`) and the\ngithub.com URLs (`html_url` and `_links[\"html\"]`) will have null values.",
|
|
30270
30425
|
"tags": [
|
|
30271
30426
|
"repos"
|
|
30272
30427
|
],
|
|
@@ -34549,7 +34704,13 @@
|
|
|
34549
34704
|
"category": "apps",
|
|
34550
34705
|
"subcategory": null
|
|
34551
34706
|
},
|
|
34552
|
-
"x-octokit": {
|
|
34707
|
+
"x-octokit": {
|
|
34708
|
+
"diff": {
|
|
34709
|
+
"api.github.com": {
|
|
34710
|
+
"type": "changed"
|
|
34711
|
+
}
|
|
34712
|
+
}
|
|
34713
|
+
}
|
|
34553
34714
|
}
|
|
34554
34715
|
},
|
|
34555
34716
|
"/repos/{owner}/{repo}/invitations": {
|
|
@@ -34654,6 +34815,14 @@
|
|
|
34654
34815
|
]
|
|
34655
34816
|
}
|
|
34656
34817
|
}
|
|
34818
|
+
},
|
|
34819
|
+
"examples": {
|
|
34820
|
+
"default": {
|
|
34821
|
+
"summary": "Example request body",
|
|
34822
|
+
"value": {
|
|
34823
|
+
"permissions": "write"
|
|
34824
|
+
}
|
|
34825
|
+
}
|
|
34657
34826
|
}
|
|
34658
34827
|
}
|
|
34659
34828
|
}
|
|
@@ -35749,6 +35918,12 @@
|
|
|
35749
35918
|
"closed"
|
|
35750
35919
|
]
|
|
35751
35920
|
},
|
|
35921
|
+
"state_reason": {
|
|
35922
|
+
"type": "string",
|
|
35923
|
+
"nullable": true,
|
|
35924
|
+
"description": "The reason for the current state",
|
|
35925
|
+
"example": "not_planned"
|
|
35926
|
+
},
|
|
35752
35927
|
"milestone": {
|
|
35753
35928
|
"oneOf": [
|
|
35754
35929
|
{
|
|
@@ -50118,7 +50293,13 @@
|
|
|
50118
50293
|
"category": "apps",
|
|
50119
50294
|
"subcategory": "installations"
|
|
50120
50295
|
},
|
|
50121
|
-
"x-octokit": {
|
|
50296
|
+
"x-octokit": {
|
|
50297
|
+
"diff": {
|
|
50298
|
+
"api.github.com": {
|
|
50299
|
+
"type": "changed"
|
|
50300
|
+
}
|
|
50301
|
+
}
|
|
50302
|
+
}
|
|
50122
50303
|
}
|
|
50123
50304
|
},
|
|
50124
50305
|
"/user/installations/{installation_id}/repositories": {
|
|
@@ -52977,7 +53158,13 @@
|
|
|
52977
53158
|
"category": "apps",
|
|
52978
53159
|
"subcategory": null
|
|
52979
53160
|
},
|
|
52980
|
-
"x-octokit": {
|
|
53161
|
+
"x-octokit": {
|
|
53162
|
+
"diff": {
|
|
53163
|
+
"api.github.com": {
|
|
53164
|
+
"type": "changed"
|
|
53165
|
+
}
|
|
53166
|
+
}
|
|
53167
|
+
}
|
|
52981
53168
|
}
|
|
52982
53169
|
},
|
|
52983
53170
|
"/users/{username}/keys": {
|
|
@@ -58504,14 +58691,6 @@
|
|
|
58504
58691
|
"write"
|
|
58505
58692
|
]
|
|
58506
58693
|
},
|
|
58507
|
-
"organization_custom_roles": {
|
|
58508
|
-
"type": "string",
|
|
58509
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
58510
|
-
"enum": [
|
|
58511
|
-
"read",
|
|
58512
|
-
"write"
|
|
58513
|
-
]
|
|
58514
|
-
},
|
|
58515
58694
|
"deployments": {
|
|
58516
58695
|
"type": "string",
|
|
58517
58696
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -66683,6 +66862,267 @@
|
|
|
66683
66862
|
"parent"
|
|
66684
66863
|
]
|
|
66685
66864
|
},
|
|
66865
|
+
"team-organization": {
|
|
66866
|
+
"title": "Team Organization",
|
|
66867
|
+
"description": "Team Organization",
|
|
66868
|
+
"type": "object",
|
|
66869
|
+
"properties": {
|
|
66870
|
+
"login": {
|
|
66871
|
+
"type": "string",
|
|
66872
|
+
"example": "github"
|
|
66873
|
+
},
|
|
66874
|
+
"id": {
|
|
66875
|
+
"type": "integer",
|
|
66876
|
+
"example": 1
|
|
66877
|
+
},
|
|
66878
|
+
"node_id": {
|
|
66879
|
+
"type": "string",
|
|
66880
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
66881
|
+
},
|
|
66882
|
+
"url": {
|
|
66883
|
+
"type": "string",
|
|
66884
|
+
"format": "uri",
|
|
66885
|
+
"example": "https://api.github.com/orgs/github"
|
|
66886
|
+
},
|
|
66887
|
+
"repos_url": {
|
|
66888
|
+
"type": "string",
|
|
66889
|
+
"format": "uri",
|
|
66890
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
66891
|
+
},
|
|
66892
|
+
"events_url": {
|
|
66893
|
+
"type": "string",
|
|
66894
|
+
"format": "uri",
|
|
66895
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
66896
|
+
},
|
|
66897
|
+
"hooks_url": {
|
|
66898
|
+
"type": "string",
|
|
66899
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
66900
|
+
},
|
|
66901
|
+
"issues_url": {
|
|
66902
|
+
"type": "string",
|
|
66903
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
66904
|
+
},
|
|
66905
|
+
"members_url": {
|
|
66906
|
+
"type": "string",
|
|
66907
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
66908
|
+
},
|
|
66909
|
+
"public_members_url": {
|
|
66910
|
+
"type": "string",
|
|
66911
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
66912
|
+
},
|
|
66913
|
+
"avatar_url": {
|
|
66914
|
+
"type": "string",
|
|
66915
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
66916
|
+
},
|
|
66917
|
+
"description": {
|
|
66918
|
+
"type": "string",
|
|
66919
|
+
"example": "A great organization",
|
|
66920
|
+
"nullable": true
|
|
66921
|
+
},
|
|
66922
|
+
"name": {
|
|
66923
|
+
"type": "string",
|
|
66924
|
+
"example": "github"
|
|
66925
|
+
},
|
|
66926
|
+
"company": {
|
|
66927
|
+
"type": "string",
|
|
66928
|
+
"example": "GitHub"
|
|
66929
|
+
},
|
|
66930
|
+
"blog": {
|
|
66931
|
+
"type": "string",
|
|
66932
|
+
"format": "uri",
|
|
66933
|
+
"example": "https://github.com/blog"
|
|
66934
|
+
},
|
|
66935
|
+
"location": {
|
|
66936
|
+
"type": "string",
|
|
66937
|
+
"example": "San Francisco"
|
|
66938
|
+
},
|
|
66939
|
+
"email": {
|
|
66940
|
+
"type": "string",
|
|
66941
|
+
"format": "email",
|
|
66942
|
+
"example": "octocat@github.com"
|
|
66943
|
+
},
|
|
66944
|
+
"twitter_username": {
|
|
66945
|
+
"type": "string",
|
|
66946
|
+
"example": "github",
|
|
66947
|
+
"nullable": true
|
|
66948
|
+
},
|
|
66949
|
+
"is_verified": {
|
|
66950
|
+
"type": "boolean",
|
|
66951
|
+
"example": true
|
|
66952
|
+
},
|
|
66953
|
+
"has_organization_projects": {
|
|
66954
|
+
"type": "boolean",
|
|
66955
|
+
"example": true
|
|
66956
|
+
},
|
|
66957
|
+
"has_repository_projects": {
|
|
66958
|
+
"type": "boolean",
|
|
66959
|
+
"example": true
|
|
66960
|
+
},
|
|
66961
|
+
"public_repos": {
|
|
66962
|
+
"type": "integer",
|
|
66963
|
+
"example": 2
|
|
66964
|
+
},
|
|
66965
|
+
"public_gists": {
|
|
66966
|
+
"type": "integer",
|
|
66967
|
+
"example": 1
|
|
66968
|
+
},
|
|
66969
|
+
"followers": {
|
|
66970
|
+
"type": "integer",
|
|
66971
|
+
"example": 20
|
|
66972
|
+
},
|
|
66973
|
+
"following": {
|
|
66974
|
+
"type": "integer",
|
|
66975
|
+
"example": 0
|
|
66976
|
+
},
|
|
66977
|
+
"html_url": {
|
|
66978
|
+
"type": "string",
|
|
66979
|
+
"format": "uri",
|
|
66980
|
+
"example": "https://github.com/octocat"
|
|
66981
|
+
},
|
|
66982
|
+
"created_at": {
|
|
66983
|
+
"type": "string",
|
|
66984
|
+
"format": "date-time",
|
|
66985
|
+
"example": "2008-01-14T04:33:35Z"
|
|
66986
|
+
},
|
|
66987
|
+
"type": {
|
|
66988
|
+
"type": "string",
|
|
66989
|
+
"example": "Organization"
|
|
66990
|
+
},
|
|
66991
|
+
"total_private_repos": {
|
|
66992
|
+
"type": "integer",
|
|
66993
|
+
"example": 100
|
|
66994
|
+
},
|
|
66995
|
+
"owned_private_repos": {
|
|
66996
|
+
"type": "integer",
|
|
66997
|
+
"example": 100
|
|
66998
|
+
},
|
|
66999
|
+
"private_gists": {
|
|
67000
|
+
"type": "integer",
|
|
67001
|
+
"example": 81,
|
|
67002
|
+
"nullable": true
|
|
67003
|
+
},
|
|
67004
|
+
"disk_usage": {
|
|
67005
|
+
"type": "integer",
|
|
67006
|
+
"example": 10000,
|
|
67007
|
+
"nullable": true
|
|
67008
|
+
},
|
|
67009
|
+
"collaborators": {
|
|
67010
|
+
"type": "integer",
|
|
67011
|
+
"example": 8,
|
|
67012
|
+
"nullable": true
|
|
67013
|
+
},
|
|
67014
|
+
"billing_email": {
|
|
67015
|
+
"type": "string",
|
|
67016
|
+
"format": "email",
|
|
67017
|
+
"example": "org@example.com",
|
|
67018
|
+
"nullable": true
|
|
67019
|
+
},
|
|
67020
|
+
"plan": {
|
|
67021
|
+
"type": "object",
|
|
67022
|
+
"properties": {
|
|
67023
|
+
"name": {
|
|
67024
|
+
"type": "string"
|
|
67025
|
+
},
|
|
67026
|
+
"space": {
|
|
67027
|
+
"type": "integer"
|
|
67028
|
+
},
|
|
67029
|
+
"private_repos": {
|
|
67030
|
+
"type": "integer"
|
|
67031
|
+
},
|
|
67032
|
+
"filled_seats": {
|
|
67033
|
+
"type": "integer"
|
|
67034
|
+
},
|
|
67035
|
+
"seats": {
|
|
67036
|
+
"type": "integer"
|
|
67037
|
+
}
|
|
67038
|
+
},
|
|
67039
|
+
"required": [
|
|
67040
|
+
"name",
|
|
67041
|
+
"space",
|
|
67042
|
+
"private_repos"
|
|
67043
|
+
]
|
|
67044
|
+
},
|
|
67045
|
+
"default_repository_permission": {
|
|
67046
|
+
"type": "string",
|
|
67047
|
+
"nullable": true
|
|
67048
|
+
},
|
|
67049
|
+
"members_can_create_repositories": {
|
|
67050
|
+
"type": "boolean",
|
|
67051
|
+
"example": true,
|
|
67052
|
+
"nullable": true
|
|
67053
|
+
},
|
|
67054
|
+
"two_factor_requirement_enabled": {
|
|
67055
|
+
"type": "boolean",
|
|
67056
|
+
"example": true,
|
|
67057
|
+
"nullable": true
|
|
67058
|
+
},
|
|
67059
|
+
"members_allowed_repository_creation_type": {
|
|
67060
|
+
"type": "string",
|
|
67061
|
+
"example": "all"
|
|
67062
|
+
},
|
|
67063
|
+
"members_can_create_public_repositories": {
|
|
67064
|
+
"type": "boolean",
|
|
67065
|
+
"example": true
|
|
67066
|
+
},
|
|
67067
|
+
"members_can_create_private_repositories": {
|
|
67068
|
+
"type": "boolean",
|
|
67069
|
+
"example": true
|
|
67070
|
+
},
|
|
67071
|
+
"members_can_create_internal_repositories": {
|
|
67072
|
+
"type": "boolean",
|
|
67073
|
+
"example": true
|
|
67074
|
+
},
|
|
67075
|
+
"members_can_create_pages": {
|
|
67076
|
+
"type": "boolean",
|
|
67077
|
+
"example": true
|
|
67078
|
+
},
|
|
67079
|
+
"members_can_create_public_pages": {
|
|
67080
|
+
"type": "boolean",
|
|
67081
|
+
"example": true
|
|
67082
|
+
},
|
|
67083
|
+
"members_can_create_private_pages": {
|
|
67084
|
+
"type": "boolean",
|
|
67085
|
+
"example": true
|
|
67086
|
+
},
|
|
67087
|
+
"members_can_fork_private_repositories": {
|
|
67088
|
+
"type": "boolean",
|
|
67089
|
+
"example": false,
|
|
67090
|
+
"nullable": true
|
|
67091
|
+
},
|
|
67092
|
+
"web_commit_signoff_required": {
|
|
67093
|
+
"type": "boolean",
|
|
67094
|
+
"example": false
|
|
67095
|
+
},
|
|
67096
|
+
"updated_at": {
|
|
67097
|
+
"type": "string",
|
|
67098
|
+
"format": "date-time"
|
|
67099
|
+
}
|
|
67100
|
+
},
|
|
67101
|
+
"required": [
|
|
67102
|
+
"login",
|
|
67103
|
+
"url",
|
|
67104
|
+
"id",
|
|
67105
|
+
"node_id",
|
|
67106
|
+
"repos_url",
|
|
67107
|
+
"events_url",
|
|
67108
|
+
"hooks_url",
|
|
67109
|
+
"issues_url",
|
|
67110
|
+
"members_url",
|
|
67111
|
+
"public_members_url",
|
|
67112
|
+
"avatar_url",
|
|
67113
|
+
"description",
|
|
67114
|
+
"html_url",
|
|
67115
|
+
"has_organization_projects",
|
|
67116
|
+
"has_repository_projects",
|
|
67117
|
+
"public_repos",
|
|
67118
|
+
"public_gists",
|
|
67119
|
+
"followers",
|
|
67120
|
+
"following",
|
|
67121
|
+
"type",
|
|
67122
|
+
"created_at",
|
|
67123
|
+
"updated_at"
|
|
67124
|
+
]
|
|
67125
|
+
},
|
|
66686
67126
|
"team-full": {
|
|
66687
67127
|
"title": "Full Team",
|
|
66688
67128
|
"description": "Groups of organization members that gives permissions on specified repositories.",
|
|
@@ -66767,7 +67207,7 @@
|
|
|
66767
67207
|
"example": "2017-08-17T12:37:15Z"
|
|
66768
67208
|
},
|
|
66769
67209
|
"organization": {
|
|
66770
|
-
"$ref": "#/components/schemas/organization
|
|
67210
|
+
"$ref": "#/components/schemas/team-organization"
|
|
66771
67211
|
},
|
|
66772
67212
|
"ldap_dn": {
|
|
66773
67213
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -92359,6 +92799,109 @@
|
|
|
92359
92799
|
}
|
|
92360
92800
|
]
|
|
92361
92801
|
},
|
|
92802
|
+
"branch-get": {
|
|
92803
|
+
"value": {
|
|
92804
|
+
"name": "main",
|
|
92805
|
+
"commit": {
|
|
92806
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
92807
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
92808
|
+
"commit": {
|
|
92809
|
+
"author": {
|
|
92810
|
+
"name": "The Octocat",
|
|
92811
|
+
"email": "octocat@nowhere.com",
|
|
92812
|
+
"date": "2012-03-06T23:06:50Z"
|
|
92813
|
+
},
|
|
92814
|
+
"committer": {
|
|
92815
|
+
"name": "The Octocat",
|
|
92816
|
+
"email": "octocat@nowhere.com",
|
|
92817
|
+
"date": "2012-03-06T23:06:50Z"
|
|
92818
|
+
},
|
|
92819
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
92820
|
+
"tree": {
|
|
92821
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
92822
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
92823
|
+
},
|
|
92824
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
92825
|
+
"comment_count": 77,
|
|
92826
|
+
"verification": {
|
|
92827
|
+
"verified": false,
|
|
92828
|
+
"reason": "unsigned",
|
|
92829
|
+
"signature": null,
|
|
92830
|
+
"payload": null
|
|
92831
|
+
}
|
|
92832
|
+
},
|
|
92833
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
92834
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
92835
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
92836
|
+
"author": {
|
|
92837
|
+
"login": "octocat",
|
|
92838
|
+
"id": 583231,
|
|
92839
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
92840
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
92841
|
+
"gravatar_id": "",
|
|
92842
|
+
"url": "https://api.github.com/users/octocat",
|
|
92843
|
+
"html_url": "https://github.com/octocat",
|
|
92844
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
92845
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
92846
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
92847
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
92848
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
92849
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
92850
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
92851
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
92852
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
92853
|
+
"type": "User",
|
|
92854
|
+
"site_admin": false
|
|
92855
|
+
},
|
|
92856
|
+
"committer": {
|
|
92857
|
+
"login": "octocat",
|
|
92858
|
+
"id": 583231,
|
|
92859
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
92860
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
92861
|
+
"gravatar_id": "",
|
|
92862
|
+
"url": "https://api.github.com/users/octocat",
|
|
92863
|
+
"html_url": "https://github.com/octocat",
|
|
92864
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
92865
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
92866
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
92867
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
92868
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
92869
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
92870
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
92871
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
92872
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
92873
|
+
"type": "User",
|
|
92874
|
+
"site_admin": false
|
|
92875
|
+
},
|
|
92876
|
+
"parents": [
|
|
92877
|
+
{
|
|
92878
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
92879
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
92880
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
92881
|
+
},
|
|
92882
|
+
{
|
|
92883
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
92884
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
92885
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
92886
|
+
}
|
|
92887
|
+
]
|
|
92888
|
+
},
|
|
92889
|
+
"_links": {
|
|
92890
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
92891
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
92892
|
+
},
|
|
92893
|
+
"protected": false,
|
|
92894
|
+
"protection": {
|
|
92895
|
+
"enabled": false,
|
|
92896
|
+
"required_status_checks": {
|
|
92897
|
+
"enforcement_level": "off",
|
|
92898
|
+
"contexts": [],
|
|
92899
|
+
"checks": []
|
|
92900
|
+
}
|
|
92901
|
+
},
|
|
92902
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
92903
|
+
}
|
|
92904
|
+
},
|
|
92362
92905
|
"branch-protection": {
|
|
92363
92906
|
"value": {
|
|
92364
92907
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -92555,6 +93098,71 @@
|
|
|
92555
93098
|
}
|
|
92556
93099
|
}
|
|
92557
93100
|
},
|
|
93101
|
+
"branch-protection-update": {
|
|
93102
|
+
"value": {
|
|
93103
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
93104
|
+
"required_status_checks": {
|
|
93105
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
93106
|
+
"strict": true,
|
|
93107
|
+
"contexts": [
|
|
93108
|
+
"continuous-integration/travis-ci"
|
|
93109
|
+
],
|
|
93110
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
93111
|
+
"checks": [
|
|
93112
|
+
{
|
|
93113
|
+
"context": "continuous-integration/travis-ci",
|
|
93114
|
+
"app_id": null
|
|
93115
|
+
}
|
|
93116
|
+
]
|
|
93117
|
+
},
|
|
93118
|
+
"restrictions": {
|
|
93119
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
93120
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
93121
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
93122
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
93123
|
+
"users": [],
|
|
93124
|
+
"teams": [],
|
|
93125
|
+
"apps": []
|
|
93126
|
+
},
|
|
93127
|
+
"required_pull_request_reviews": {
|
|
93128
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
93129
|
+
"dismiss_stale_reviews": true,
|
|
93130
|
+
"require_code_owner_reviews": true,
|
|
93131
|
+
"required_approving_review_count": 2,
|
|
93132
|
+
"dismissal_restrictions": {
|
|
93133
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
93134
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
93135
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
93136
|
+
"users": [],
|
|
93137
|
+
"teams": [],
|
|
93138
|
+
"apps": []
|
|
93139
|
+
}
|
|
93140
|
+
},
|
|
93141
|
+
"required_signatures": {
|
|
93142
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
93143
|
+
"enabled": false
|
|
93144
|
+
},
|
|
93145
|
+
"enforce_admins": {
|
|
93146
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
93147
|
+
"enabled": true
|
|
93148
|
+
},
|
|
93149
|
+
"required_linear_history": {
|
|
93150
|
+
"enabled": true
|
|
93151
|
+
},
|
|
93152
|
+
"allow_force_pushes": {
|
|
93153
|
+
"enabled": true
|
|
93154
|
+
},
|
|
93155
|
+
"allow_deletions": {
|
|
93156
|
+
"enabled": true
|
|
93157
|
+
},
|
|
93158
|
+
"block_creations": {
|
|
93159
|
+
"enabled": true
|
|
93160
|
+
},
|
|
93161
|
+
"required_conversation_resolution": {
|
|
93162
|
+
"enabled": true
|
|
93163
|
+
}
|
|
93164
|
+
}
|
|
93165
|
+
},
|
|
92558
93166
|
"protected-branch-admin-enforced-2": {
|
|
92559
93167
|
"value": {
|
|
92560
93168
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins",
|
|
@@ -94096,6 +94704,7 @@
|
|
|
94096
94704
|
"ref": "refs/heads/main",
|
|
94097
94705
|
"analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
94098
94706
|
"environment": "",
|
|
94707
|
+
"category": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
|
|
94099
94708
|
"state": "open",
|
|
94100
94709
|
"fixed_at": null,
|
|
94101
94710
|
"commit_sha": "39406e42cb832f683daa691dd652a8dc36ee8930",
|
|
@@ -97428,7 +98037,8 @@
|
|
|
97428
98037
|
"type": "User",
|
|
97429
98038
|
"site_admin": false
|
|
97430
98039
|
},
|
|
97431
|
-
"author_association": "COLLABORATOR"
|
|
98040
|
+
"author_association": "COLLABORATOR",
|
|
98041
|
+
"state_reason": "completed"
|
|
97432
98042
|
}
|
|
97433
98043
|
]
|
|
97434
98044
|
},
|
|
@@ -97588,7 +98198,8 @@
|
|
|
97588
98198
|
"type": "User",
|
|
97589
98199
|
"site_admin": false
|
|
97590
98200
|
},
|
|
97591
|
-
"author_association": "COLLABORATOR"
|
|
98201
|
+
"author_association": "COLLABORATOR",
|
|
98202
|
+
"state_reason": "completed"
|
|
97592
98203
|
}
|
|
97593
98204
|
},
|
|
97594
98205
|
"issue-comment-items": {
|
|
@@ -97824,7 +98435,8 @@
|
|
|
97824
98435
|
"closed_at": null,
|
|
97825
98436
|
"created_at": "2011-04-22T13:33:48Z",
|
|
97826
98437
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
97827
|
-
"author_association": "COLLABORATOR"
|
|
98438
|
+
"author_association": "COLLABORATOR",
|
|
98439
|
+
"state_reason": "completed"
|
|
97828
98440
|
}
|
|
97829
98441
|
}
|
|
97830
98442
|
]
|
|
@@ -98033,7 +98645,8 @@
|
|
|
98033
98645
|
"closed_at": null,
|
|
98034
98646
|
"created_at": "2011-04-22T13:33:48Z",
|
|
98035
98647
|
"updated_at": "2011-04-22T13:33:48Z",
|
|
98036
|
-
"author_association": "COLLABORATOR"
|
|
98648
|
+
"author_association": "COLLABORATOR",
|
|
98649
|
+
"state_reason": "completed"
|
|
98037
98650
|
}
|
|
98038
98651
|
}
|
|
98039
98652
|
},
|
|
@@ -102306,7 +102919,8 @@
|
|
|
102306
102919
|
"body": "...",
|
|
102307
102920
|
"score": 1,
|
|
102308
102921
|
"locked": true,
|
|
102309
|
-
"author_association": "COLLABORATOR"
|
|
102922
|
+
"author_association": "COLLABORATOR",
|
|
102923
|
+
"state_reason": "completed"
|
|
102310
102924
|
}
|
|
102311
102925
|
]
|
|
102312
102926
|
}
|