@octokit/openapi 7.4.0 → 7.7.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 +2550 -227
- package/generated/api.github.com.json +1233 -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 +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 -244
- package/generated/ghes-3.3.json +558 -27
- 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 -230
- package/generated/ghes-3.4.json +566 -29
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +784 -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 +46103 -29773
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +7990 -3300
- package/generated/ghes-3.5.deref.json +406 -242
- package/generated/ghes-3.5.json +650 -41
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +504 -89
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +18076 -6602
- package/generated/ghes-3.6-diff-to-api.github.com.json +6698 -4308
- package/generated/ghes-3.6.deref.json +1275 -241
- package/generated/ghes-3.6.json +839 -41
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +332 -32
- package/generated/github.ae-diff-to-api.github.com.deref.json +24643 -16633
- package/generated/github.ae-diff-to-api.github.com.json +1184 -30
- package/generated/github.ae.deref.json +1298 -163
- package/generated/github.ae.json +878 -35
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.7.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": {
|
|
@@ -2710,6 +2710,11 @@
|
|
|
2710
2710
|
"application/json": {
|
|
2711
2711
|
"schema": {
|
|
2712
2712
|
"$ref": "#/components/schemas/branch-with-protection"
|
|
2713
|
+
},
|
|
2714
|
+
"examples": {
|
|
2715
|
+
"default": {
|
|
2716
|
+
"$ref": "#/components/examples/branch-get"
|
|
2717
|
+
}
|
|
2713
2718
|
}
|
|
2714
2719
|
}
|
|
2715
2720
|
}
|
|
@@ -3044,6 +3049,11 @@
|
|
|
3044
3049
|
"application/json": {
|
|
3045
3050
|
"schema": {
|
|
3046
3051
|
"$ref": "#/components/schemas/protected-branch"
|
|
3052
|
+
},
|
|
3053
|
+
"examples": {
|
|
3054
|
+
"default": {
|
|
3055
|
+
"$ref": "#/components/examples/branch-protection-update"
|
|
3056
|
+
}
|
|
3047
3057
|
}
|
|
3048
3058
|
}
|
|
3049
3059
|
}
|
|
@@ -5090,14 +5100,6 @@
|
|
|
5090
5100
|
"write"
|
|
5091
5101
|
]
|
|
5092
5102
|
},
|
|
5093
|
-
"organization_custom_roles": {
|
|
5094
|
-
"type": "string",
|
|
5095
|
-
"description": "The level of permission to grant the access token for custom roles management.",
|
|
5096
|
-
"enum": [
|
|
5097
|
-
"read",
|
|
5098
|
-
"write"
|
|
5099
|
-
]
|
|
5100
|
-
},
|
|
5101
5103
|
"deployments": {
|
|
5102
5104
|
"type": "string",
|
|
5103
5105
|
"description": "The level of permission to grant the access token for deployments and deployment statuses.",
|
|
@@ -6058,7 +6060,7 @@
|
|
|
6058
6060
|
"example": "2017-08-17T12:37:15Z"
|
|
6059
6061
|
},
|
|
6060
6062
|
"organization": {
|
|
6061
|
-
"$ref": "#/components/schemas/organization
|
|
6063
|
+
"$ref": "#/components/schemas/team-organization"
|
|
6062
6064
|
},
|
|
6063
6065
|
"ldap_dn": {
|
|
6064
6066
|
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
|
|
@@ -8113,6 +8115,258 @@
|
|
|
8113
8115
|
],
|
|
8114
8116
|
"nullable": true
|
|
8115
8117
|
},
|
|
8118
|
+
"team-organization": {
|
|
8119
|
+
"title": "Team Organization",
|
|
8120
|
+
"description": "Team Organization",
|
|
8121
|
+
"type": "object",
|
|
8122
|
+
"properties": {
|
|
8123
|
+
"login": {
|
|
8124
|
+
"type": "string",
|
|
8125
|
+
"example": "github"
|
|
8126
|
+
},
|
|
8127
|
+
"id": {
|
|
8128
|
+
"type": "integer",
|
|
8129
|
+
"example": 1
|
|
8130
|
+
},
|
|
8131
|
+
"node_id": {
|
|
8132
|
+
"type": "string",
|
|
8133
|
+
"example": "MDEyOk9yZ2FuaXphdGlvbjE="
|
|
8134
|
+
},
|
|
8135
|
+
"url": {
|
|
8136
|
+
"type": "string",
|
|
8137
|
+
"format": "uri",
|
|
8138
|
+
"example": "https://api.github.com/orgs/github"
|
|
8139
|
+
},
|
|
8140
|
+
"repos_url": {
|
|
8141
|
+
"type": "string",
|
|
8142
|
+
"format": "uri",
|
|
8143
|
+
"example": "https://api.github.com/orgs/github/repos"
|
|
8144
|
+
},
|
|
8145
|
+
"events_url": {
|
|
8146
|
+
"type": "string",
|
|
8147
|
+
"format": "uri",
|
|
8148
|
+
"example": "https://api.github.com/orgs/github/events"
|
|
8149
|
+
},
|
|
8150
|
+
"hooks_url": {
|
|
8151
|
+
"type": "string",
|
|
8152
|
+
"example": "https://api.github.com/orgs/github/hooks"
|
|
8153
|
+
},
|
|
8154
|
+
"issues_url": {
|
|
8155
|
+
"type": "string",
|
|
8156
|
+
"example": "https://api.github.com/orgs/github/issues"
|
|
8157
|
+
},
|
|
8158
|
+
"members_url": {
|
|
8159
|
+
"type": "string",
|
|
8160
|
+
"example": "https://api.github.com/orgs/github/members{/member}"
|
|
8161
|
+
},
|
|
8162
|
+
"public_members_url": {
|
|
8163
|
+
"type": "string",
|
|
8164
|
+
"example": "https://api.github.com/orgs/github/public_members{/member}"
|
|
8165
|
+
},
|
|
8166
|
+
"avatar_url": {
|
|
8167
|
+
"type": "string",
|
|
8168
|
+
"example": "https://github.com/images/error/octocat_happy.gif"
|
|
8169
|
+
},
|
|
8170
|
+
"description": {
|
|
8171
|
+
"type": "string",
|
|
8172
|
+
"example": "A great organization",
|
|
8173
|
+
"nullable": true
|
|
8174
|
+
},
|
|
8175
|
+
"name": {
|
|
8176
|
+
"type": "string",
|
|
8177
|
+
"example": "github"
|
|
8178
|
+
},
|
|
8179
|
+
"company": {
|
|
8180
|
+
"type": "string",
|
|
8181
|
+
"example": "GitHub"
|
|
8182
|
+
},
|
|
8183
|
+
"blog": {
|
|
8184
|
+
"type": "string",
|
|
8185
|
+
"format": "uri",
|
|
8186
|
+
"example": "https://github.com/blog"
|
|
8187
|
+
},
|
|
8188
|
+
"location": {
|
|
8189
|
+
"type": "string",
|
|
8190
|
+
"example": "San Francisco"
|
|
8191
|
+
},
|
|
8192
|
+
"email": {
|
|
8193
|
+
"type": "string",
|
|
8194
|
+
"format": "email",
|
|
8195
|
+
"example": "octocat@github.com"
|
|
8196
|
+
},
|
|
8197
|
+
"twitter_username": {
|
|
8198
|
+
"type": "string",
|
|
8199
|
+
"example": "github",
|
|
8200
|
+
"nullable": true
|
|
8201
|
+
},
|
|
8202
|
+
"is_verified": {
|
|
8203
|
+
"type": "boolean",
|
|
8204
|
+
"example": true
|
|
8205
|
+
},
|
|
8206
|
+
"has_organization_projects": {
|
|
8207
|
+
"type": "boolean",
|
|
8208
|
+
"example": true
|
|
8209
|
+
},
|
|
8210
|
+
"has_repository_projects": {
|
|
8211
|
+
"type": "boolean",
|
|
8212
|
+
"example": true
|
|
8213
|
+
},
|
|
8214
|
+
"public_repos": {
|
|
8215
|
+
"type": "integer",
|
|
8216
|
+
"example": 2
|
|
8217
|
+
},
|
|
8218
|
+
"public_gists": {
|
|
8219
|
+
"type": "integer",
|
|
8220
|
+
"example": 1
|
|
8221
|
+
},
|
|
8222
|
+
"followers": {
|
|
8223
|
+
"type": "integer",
|
|
8224
|
+
"example": 20
|
|
8225
|
+
},
|
|
8226
|
+
"following": {
|
|
8227
|
+
"type": "integer",
|
|
8228
|
+
"example": 0
|
|
8229
|
+
},
|
|
8230
|
+
"html_url": {
|
|
8231
|
+
"type": "string",
|
|
8232
|
+
"format": "uri",
|
|
8233
|
+
"example": "https://github.com/octocat"
|
|
8234
|
+
},
|
|
8235
|
+
"created_at": {
|
|
8236
|
+
"type": "string",
|
|
8237
|
+
"format": "date-time",
|
|
8238
|
+
"example": "2008-01-14T04:33:35Z"
|
|
8239
|
+
},
|
|
8240
|
+
"type": {
|
|
8241
|
+
"type": "string",
|
|
8242
|
+
"example": "Organization"
|
|
8243
|
+
},
|
|
8244
|
+
"total_private_repos": {
|
|
8245
|
+
"type": "integer",
|
|
8246
|
+
"example": 100
|
|
8247
|
+
},
|
|
8248
|
+
"owned_private_repos": {
|
|
8249
|
+
"type": "integer",
|
|
8250
|
+
"example": 100
|
|
8251
|
+
},
|
|
8252
|
+
"private_gists": {
|
|
8253
|
+
"type": "integer",
|
|
8254
|
+
"example": 81,
|
|
8255
|
+
"nullable": true
|
|
8256
|
+
},
|
|
8257
|
+
"disk_usage": {
|
|
8258
|
+
"type": "integer",
|
|
8259
|
+
"example": 10000,
|
|
8260
|
+
"nullable": true
|
|
8261
|
+
},
|
|
8262
|
+
"collaborators": {
|
|
8263
|
+
"type": "integer",
|
|
8264
|
+
"example": 8,
|
|
8265
|
+
"nullable": true
|
|
8266
|
+
},
|
|
8267
|
+
"billing_email": {
|
|
8268
|
+
"type": "string",
|
|
8269
|
+
"format": "email",
|
|
8270
|
+
"example": "org@example.com",
|
|
8271
|
+
"nullable": true
|
|
8272
|
+
},
|
|
8273
|
+
"plan": {
|
|
8274
|
+
"type": "object",
|
|
8275
|
+
"properties": {
|
|
8276
|
+
"name": {
|
|
8277
|
+
"type": "string"
|
|
8278
|
+
},
|
|
8279
|
+
"space": {
|
|
8280
|
+
"type": "integer"
|
|
8281
|
+
},
|
|
8282
|
+
"private_repos": {
|
|
8283
|
+
"type": "integer"
|
|
8284
|
+
},
|
|
8285
|
+
"filled_seats": {
|
|
8286
|
+
"type": "integer"
|
|
8287
|
+
},
|
|
8288
|
+
"seats": {
|
|
8289
|
+
"type": "integer"
|
|
8290
|
+
}
|
|
8291
|
+
},
|
|
8292
|
+
"required": [
|
|
8293
|
+
"name",
|
|
8294
|
+
"space",
|
|
8295
|
+
"private_repos"
|
|
8296
|
+
]
|
|
8297
|
+
},
|
|
8298
|
+
"default_repository_permission": {
|
|
8299
|
+
"type": "string",
|
|
8300
|
+
"nullable": true
|
|
8301
|
+
},
|
|
8302
|
+
"members_can_create_repositories": {
|
|
8303
|
+
"type": "boolean",
|
|
8304
|
+
"example": true,
|
|
8305
|
+
"nullable": true
|
|
8306
|
+
},
|
|
8307
|
+
"two_factor_requirement_enabled": {
|
|
8308
|
+
"type": "boolean",
|
|
8309
|
+
"example": true,
|
|
8310
|
+
"nullable": true
|
|
8311
|
+
},
|
|
8312
|
+
"members_allowed_repository_creation_type": {
|
|
8313
|
+
"type": "string",
|
|
8314
|
+
"example": "all"
|
|
8315
|
+
},
|
|
8316
|
+
"members_can_create_public_repositories": {
|
|
8317
|
+
"type": "boolean",
|
|
8318
|
+
"example": true
|
|
8319
|
+
},
|
|
8320
|
+
"members_can_create_private_repositories": {
|
|
8321
|
+
"type": "boolean",
|
|
8322
|
+
"example": true
|
|
8323
|
+
},
|
|
8324
|
+
"members_can_create_internal_repositories": {
|
|
8325
|
+
"type": "boolean",
|
|
8326
|
+
"example": true
|
|
8327
|
+
},
|
|
8328
|
+
"members_can_create_pages": {
|
|
8329
|
+
"type": "boolean",
|
|
8330
|
+
"example": true
|
|
8331
|
+
},
|
|
8332
|
+
"members_can_create_public_pages": {
|
|
8333
|
+
"type": "boolean",
|
|
8334
|
+
"example": true
|
|
8335
|
+
},
|
|
8336
|
+
"members_can_create_private_pages": {
|
|
8337
|
+
"type": "boolean",
|
|
8338
|
+
"example": true
|
|
8339
|
+
},
|
|
8340
|
+
"updated_at": {
|
|
8341
|
+
"type": "string",
|
|
8342
|
+
"format": "date-time"
|
|
8343
|
+
}
|
|
8344
|
+
},
|
|
8345
|
+
"required": [
|
|
8346
|
+
"login",
|
|
8347
|
+
"url",
|
|
8348
|
+
"id",
|
|
8349
|
+
"node_id",
|
|
8350
|
+
"repos_url",
|
|
8351
|
+
"events_url",
|
|
8352
|
+
"hooks_url",
|
|
8353
|
+
"issues_url",
|
|
8354
|
+
"members_url",
|
|
8355
|
+
"public_members_url",
|
|
8356
|
+
"avatar_url",
|
|
8357
|
+
"description",
|
|
8358
|
+
"html_url",
|
|
8359
|
+
"has_organization_projects",
|
|
8360
|
+
"has_repository_projects",
|
|
8361
|
+
"public_repos",
|
|
8362
|
+
"public_gists",
|
|
8363
|
+
"followers",
|
|
8364
|
+
"following",
|
|
8365
|
+
"type",
|
|
8366
|
+
"created_at",
|
|
8367
|
+
"updated_at"
|
|
8368
|
+
]
|
|
8369
|
+
},
|
|
8116
8370
|
"commit": {
|
|
8117
8371
|
"title": "Commit",
|
|
8118
8372
|
"description": "Commit",
|
|
@@ -10107,6 +10361,109 @@
|
|
|
10107
10361
|
}
|
|
10108
10362
|
]
|
|
10109
10363
|
},
|
|
10364
|
+
"branch-get": {
|
|
10365
|
+
"value": {
|
|
10366
|
+
"name": "main",
|
|
10367
|
+
"commit": {
|
|
10368
|
+
"sha": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
10369
|
+
"node_id": "MDY6Q29tbWl0MTI5NjI2OTo3ZmQxYTYwYjAxZjkxYjMxNGY1OTk1NWE0ZTRkNGU4MGQ4ZWRmMTFk",
|
|
10370
|
+
"commit": {
|
|
10371
|
+
"author": {
|
|
10372
|
+
"name": "The Octocat",
|
|
10373
|
+
"email": "octocat@nowhere.com",
|
|
10374
|
+
"date": "2012-03-06T23:06:50Z"
|
|
10375
|
+
},
|
|
10376
|
+
"committer": {
|
|
10377
|
+
"name": "The Octocat",
|
|
10378
|
+
"email": "octocat@nowhere.com",
|
|
10379
|
+
"date": "2012-03-06T23:06:50Z"
|
|
10380
|
+
},
|
|
10381
|
+
"message": "Merge pull request #6 from Spaceghost/patch-1\n\nNew line at end of file.",
|
|
10382
|
+
"tree": {
|
|
10383
|
+
"sha": "b4eecafa9be2f2006ce1b709d6857b07069b4608",
|
|
10384
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/b4eecafa9be2f2006ce1b709d6857b07069b4608"
|
|
10385
|
+
},
|
|
10386
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/git/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
10387
|
+
"comment_count": 77,
|
|
10388
|
+
"verification": {
|
|
10389
|
+
"verified": false,
|
|
10390
|
+
"reason": "unsigned",
|
|
10391
|
+
"signature": null,
|
|
10392
|
+
"payload": null
|
|
10393
|
+
}
|
|
10394
|
+
},
|
|
10395
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
10396
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
|
|
10397
|
+
"comments_url": "https://api.github.com/repos/octocat/Hello-World/commits/7fd1a60b01f91b314f59955a4e4d4e80d8edf11d/comments",
|
|
10398
|
+
"author": {
|
|
10399
|
+
"login": "octocat",
|
|
10400
|
+
"id": 583231,
|
|
10401
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
10402
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
10403
|
+
"gravatar_id": "",
|
|
10404
|
+
"url": "https://api.github.com/users/octocat",
|
|
10405
|
+
"html_url": "https://github.com/octocat",
|
|
10406
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
10407
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
10408
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
10409
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
10410
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
10411
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
10412
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
10413
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
10414
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
10415
|
+
"type": "User",
|
|
10416
|
+
"site_admin": false
|
|
10417
|
+
},
|
|
10418
|
+
"committer": {
|
|
10419
|
+
"login": "octocat",
|
|
10420
|
+
"id": 583231,
|
|
10421
|
+
"node_id": "MDQ6VXNlcjU4MzIzMQ==",
|
|
10422
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
|
|
10423
|
+
"gravatar_id": "",
|
|
10424
|
+
"url": "https://api.github.com/users/octocat",
|
|
10425
|
+
"html_url": "https://github.com/octocat",
|
|
10426
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
10427
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
10428
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
10429
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
10430
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
10431
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
10432
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
10433
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
10434
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
10435
|
+
"type": "User",
|
|
10436
|
+
"site_admin": false
|
|
10437
|
+
},
|
|
10438
|
+
"parents": [
|
|
10439
|
+
{
|
|
10440
|
+
"sha": "553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
10441
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e",
|
|
10442
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/553c2077f0edc3d5dc5d17262f6aa498e69d6f8e"
|
|
10443
|
+
},
|
|
10444
|
+
{
|
|
10445
|
+
"sha": "762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
10446
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/commits/762941318ee16e59dabbacb1b4049eec22f0d303",
|
|
10447
|
+
"html_url": "https://github.com/octocat/Hello-World/commit/762941318ee16e59dabbacb1b4049eec22f0d303"
|
|
10448
|
+
}
|
|
10449
|
+
]
|
|
10450
|
+
},
|
|
10451
|
+
"_links": {
|
|
10452
|
+
"self": "https://api.github.com/repos/octocat/Hello-World/branches/main",
|
|
10453
|
+
"html": "https://github.com/octocat/Hello-World/tree/main"
|
|
10454
|
+
},
|
|
10455
|
+
"protected": false,
|
|
10456
|
+
"protection": {
|
|
10457
|
+
"enabled": false,
|
|
10458
|
+
"required_status_checks": {
|
|
10459
|
+
"enforcement_level": "off",
|
|
10460
|
+
"contexts": [],
|
|
10461
|
+
"checks": []
|
|
10462
|
+
}
|
|
10463
|
+
},
|
|
10464
|
+
"protection_url": "https://api.github.com/repos/octocat/Hello-World/branches/main/protection"
|
|
10465
|
+
}
|
|
10466
|
+
},
|
|
10110
10467
|
"branch-protection": {
|
|
10111
10468
|
"value": {
|
|
10112
10469
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection",
|
|
@@ -10303,6 +10660,71 @@
|
|
|
10303
10660
|
}
|
|
10304
10661
|
}
|
|
10305
10662
|
},
|
|
10663
|
+
"branch-protection-update": {
|
|
10664
|
+
"value": {
|
|
10665
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection",
|
|
10666
|
+
"required_status_checks": {
|
|
10667
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks",
|
|
10668
|
+
"strict": true,
|
|
10669
|
+
"contexts": [
|
|
10670
|
+
"continuous-integration/travis-ci"
|
|
10671
|
+
],
|
|
10672
|
+
"contexts_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_status_checks/contexts",
|
|
10673
|
+
"checks": [
|
|
10674
|
+
{
|
|
10675
|
+
"context": "continuous-integration/travis-ci",
|
|
10676
|
+
"app_id": null
|
|
10677
|
+
}
|
|
10678
|
+
]
|
|
10679
|
+
},
|
|
10680
|
+
"restrictions": {
|
|
10681
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions",
|
|
10682
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/users",
|
|
10683
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/teams",
|
|
10684
|
+
"apps_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/restrictions/apps",
|
|
10685
|
+
"users": [],
|
|
10686
|
+
"teams": [],
|
|
10687
|
+
"apps": []
|
|
10688
|
+
},
|
|
10689
|
+
"required_pull_request_reviews": {
|
|
10690
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_pull_request_reviews",
|
|
10691
|
+
"dismiss_stale_reviews": true,
|
|
10692
|
+
"require_code_owner_reviews": true,
|
|
10693
|
+
"required_approving_review_count": 2,
|
|
10694
|
+
"dismissal_restrictions": {
|
|
10695
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions",
|
|
10696
|
+
"users_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/users",
|
|
10697
|
+
"teams_url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/dismissal_restrictions/teams",
|
|
10698
|
+
"users": [],
|
|
10699
|
+
"teams": [],
|
|
10700
|
+
"apps": []
|
|
10701
|
+
}
|
|
10702
|
+
},
|
|
10703
|
+
"required_signatures": {
|
|
10704
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/required_signatures",
|
|
10705
|
+
"enabled": false
|
|
10706
|
+
},
|
|
10707
|
+
"enforce_admins": {
|
|
10708
|
+
"url": "https://api.github.com/repos/octocat/hello-world/branches/main/protection/enforce_admins",
|
|
10709
|
+
"enabled": true
|
|
10710
|
+
},
|
|
10711
|
+
"required_linear_history": {
|
|
10712
|
+
"enabled": true
|
|
10713
|
+
},
|
|
10714
|
+
"allow_force_pushes": {
|
|
10715
|
+
"enabled": true
|
|
10716
|
+
},
|
|
10717
|
+
"allow_deletions": {
|
|
10718
|
+
"enabled": true
|
|
10719
|
+
},
|
|
10720
|
+
"block_creations": {
|
|
10721
|
+
"enabled": true
|
|
10722
|
+
},
|
|
10723
|
+
"required_conversation_resolution": {
|
|
10724
|
+
"enabled": true
|
|
10725
|
+
}
|
|
10726
|
+
}
|
|
10727
|
+
},
|
|
10306
10728
|
"protected-branch-pull-request-review": {
|
|
10307
10729
|
"value": {
|
|
10308
10730
|
"url": "https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews",
|