@octokit/openapi 7.0.0 → 7.1.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.
Files changed (33) hide show
  1. package/generated/api.github.com.deref.json +831 -48
  2. package/generated/api.github.com.json +456 -36
  3. package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
  4. package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
  5. package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +1 -8
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -8
  7. package/generated/ghes-3.2.deref.json +618 -37
  8. package/generated/ghes-3.2.json +437 -31
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +1 -1
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +1 -1
  11. package/generated/ghes-3.3.deref.json +618 -37
  12. package/generated/ghes-3.3.json +437 -31
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -8
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -8
  15. package/generated/ghes-3.4.deref.json +618 -37
  16. package/generated/ghes-3.4.json +437 -31
  17. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  18. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  19. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +1 -8
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.json +1 -8
  21. package/generated/ghes-3.5.deref.json +620 -39
  22. package/generated/ghes-3.5.json +439 -33
  23. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +0 -56
  24. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -164
  25. package/generated/ghes-3.6-diff-to-api.github.com.json +1 -130
  26. package/generated/ghes-3.6.deref.json +622 -53
  27. package/generated/ghes-3.6.json +441 -47
  28. package/generated/github.ae-diff-to-api.github.com.deref.json +1 -8
  29. package/generated/github.ae-diff-to-api.github.com.json +1 -8
  30. package/generated/github.ae.deref.json +613 -32
  31. package/generated/github.ae.json +437 -31
  32. package/index.js +2 -0
  33. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.1.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": {
@@ -17355,13 +17355,6 @@
17355
17355
  "permission": {
17356
17356
  "type": "string",
17357
17357
  "description": "The permission to grant the team on this repository. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.",
17358
- "enum": [
17359
- "pull",
17360
- "push",
17361
- "admin",
17362
- "maintain",
17363
- "triage"
17364
- ],
17365
17358
  "default": "push"
17366
17359
  }
17367
17360
  }
@@ -27063,13 +27056,6 @@
27063
27056
  "permission": {
27064
27057
  "type": "string",
27065
27058
  "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**",
27066
- "enum": [
27067
- "pull",
27068
- "push",
27069
- "admin",
27070
- "maintain",
27071
- "triage"
27072
- ],
27073
27059
  "default": "push"
27074
27060
  }
27075
27061
  }
@@ -30016,15 +30002,15 @@
30016
30002
  },
30017
30003
  "/repos/{owner}/{repo}/environments": {
30018
30004
  "get": {
30019
- "summary": "Get all environments",
30020
- "description": "Get all environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
30005
+ "summary": "List environments",
30006
+ "description": "Lists the environments for a repository.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
30021
30007
  "tags": [
30022
30008
  "repos"
30023
30009
  ],
30024
30010
  "operationId": "repos/get-all-environments",
30025
30011
  "externalDocs": {
30026
30012
  "description": "API method documentation",
30027
- "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-all-environments"
30013
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/environments#list-environments"
30028
30014
  },
30029
30015
  "parameters": [
30030
30016
  {
@@ -30073,7 +30059,7 @@
30073
30059
  "x-github": {
30074
30060
  "githubCloudOnly": false,
30075
30061
  "enabledForGitHubApps": true,
30076
- "category": "repos",
30062
+ "category": "deployments",
30077
30063
  "subcategory": "environments"
30078
30064
  },
30079
30065
  "x-octokit": {}
@@ -30082,7 +30068,7 @@
30082
30068
  "/repos/{owner}/{repo}/environments/{environment_name}": {
30083
30069
  "get": {
30084
30070
  "summary": "Get an environment",
30085
- "description": "Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
30071
+ "description": "**Note:** To get information about name patterns that branches must match in order to deploy to this environment, see \"[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy).\"\n\nAnyone with read access to the repository can use this endpoint. If the\nrepository is private, you must use an access token with the `repo` scope. GitHub\nApps must have the `actions:read` permission to use this endpoint.",
30086
30072
  "tags": [
30087
30073
  "repos"
30088
30074
  ],
@@ -30129,7 +30115,7 @@
30129
30115
  },
30130
30116
  "put": {
30131
30117
  "summary": "Create or update an environment",
30132
- "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** Although you can use this operation to specify that only branches that match specified name patterns can deploy to this environment, you must use the UI to set the name patterns. For more information, see \"[Environments](/actions/reference/environments#deployment-branches).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the repo scope to use this endpoint.",
30118
+ "description": "Create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see \"[Environments](/actions/reference/environments#environment-protection-rules).\"\n\n**Note:** To create or update name patterns that branches must match in order to deploy to this environment, see \"[Deployment branch policies](/rest/deployments/branch-policies).\"\n\n**Note:** To create or update secrets for an environment, see \"[Secrets](/rest/reference/actions#secrets).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.",
30133
30119
  "tags": [
30134
30120
  "repos"
30135
30121
  ],
@@ -30179,10 +30165,31 @@
30179
30165
  }
30180
30166
  },
30181
30167
  "deployment_branch_policy": {
30182
- "$ref": "#/components/schemas/deployment-branch-policy"
30168
+ "$ref": "#/components/schemas/deployment-branch-policy-settings"
30183
30169
  }
30184
30170
  },
30185
30171
  "additionalProperties": false
30172
+ },
30173
+ "examples": {
30174
+ "default": {
30175
+ "value": {
30176
+ "wait_timer": 30,
30177
+ "reviewers": [
30178
+ {
30179
+ "type": "User",
30180
+ "id": 1
30181
+ },
30182
+ {
30183
+ "type": "Team",
30184
+ "id": 1
30185
+ }
30186
+ ],
30187
+ "deployment_branch_policy": {
30188
+ "protected_branches": false,
30189
+ "custom_branch_policies": true
30190
+ }
30191
+ }
30192
+ }
30186
30193
  }
30187
30194
  }
30188
30195
  }
@@ -30258,6 +30265,315 @@
30258
30265
  "x-octokit": {}
30259
30266
  }
30260
30267
  },
30268
+ "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": {
30269
+ "get": {
30270
+ "summary": "List deployment branch policies",
30271
+ "description": "Lists the deployment branch policies for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
30272
+ "tags": [
30273
+ "repos"
30274
+ ],
30275
+ "operationId": "repos/list-deployment-branch-policies",
30276
+ "externalDocs": {
30277
+ "description": "API method documentation",
30278
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#list-deployment-branch-policies"
30279
+ },
30280
+ "parameters": [
30281
+ {
30282
+ "$ref": "#/components/parameters/owner"
30283
+ },
30284
+ {
30285
+ "$ref": "#/components/parameters/repo"
30286
+ },
30287
+ {
30288
+ "$ref": "#/components/parameters/environment-name"
30289
+ },
30290
+ {
30291
+ "$ref": "#/components/parameters/per-page"
30292
+ },
30293
+ {
30294
+ "$ref": "#/components/parameters/page"
30295
+ }
30296
+ ],
30297
+ "responses": {
30298
+ "200": {
30299
+ "description": "Response",
30300
+ "content": {
30301
+ "application/json": {
30302
+ "schema": {
30303
+ "type": "object",
30304
+ "properties": {
30305
+ "total_count": {
30306
+ "description": "The number of deployment branch policies for the environment.",
30307
+ "type": "integer",
30308
+ "example": 2
30309
+ },
30310
+ "branch_policies": {
30311
+ "type": "array",
30312
+ "items": {
30313
+ "$ref": "#/components/schemas/deployment-branch-policy"
30314
+ }
30315
+ }
30316
+ },
30317
+ "required": [
30318
+ "total_count",
30319
+ "branch_policies"
30320
+ ]
30321
+ },
30322
+ "examples": {
30323
+ "default": {
30324
+ "$ref": "#/components/examples/deployment-branch-policies-list"
30325
+ }
30326
+ }
30327
+ }
30328
+ }
30329
+ }
30330
+ },
30331
+ "x-github": {
30332
+ "githubCloudOnly": false,
30333
+ "enabledForGitHubApps": true,
30334
+ "category": "deployments",
30335
+ "subcategory": "branch-policies"
30336
+ },
30337
+ "x-octokit": {}
30338
+ },
30339
+ "post": {
30340
+ "summary": "Create a deployment branch policy",
30341
+ "description": "Creates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.",
30342
+ "tags": [
30343
+ "repos"
30344
+ ],
30345
+ "operationId": "repos/create-deployment-branch-policy",
30346
+ "externalDocs": {
30347
+ "description": "API method documentation",
30348
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#create-deployment-branch-policy"
30349
+ },
30350
+ "parameters": [
30351
+ {
30352
+ "$ref": "#/components/parameters/owner"
30353
+ },
30354
+ {
30355
+ "$ref": "#/components/parameters/repo"
30356
+ },
30357
+ {
30358
+ "$ref": "#/components/parameters/environment-name"
30359
+ }
30360
+ ],
30361
+ "requestBody": {
30362
+ "required": true,
30363
+ "content": {
30364
+ "application/json": {
30365
+ "schema": {
30366
+ "$ref": "#/components/schemas/deployment-branch-policy-name-pattern"
30367
+ },
30368
+ "examples": {
30369
+ "example-wildcard": {
30370
+ "summary": "Example of a wildcard name pattern",
30371
+ "value": {
30372
+ "name": "release/*"
30373
+ }
30374
+ },
30375
+ "example-single-branch": {
30376
+ "summary": "Example of a single branch name pattern",
30377
+ "value": {
30378
+ "name": "main"
30379
+ }
30380
+ }
30381
+ }
30382
+ }
30383
+ }
30384
+ },
30385
+ "responses": {
30386
+ "200": {
30387
+ "description": "Response",
30388
+ "content": {
30389
+ "application/json": {
30390
+ "schema": {
30391
+ "$ref": "#/components/schemas/deployment-branch-policy"
30392
+ },
30393
+ "examples": {
30394
+ "example-wildcard": {
30395
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
30396
+ },
30397
+ "example-single-branch": {
30398
+ "$ref": "#/components/examples/deployment-branch-policy-single-branch"
30399
+ }
30400
+ }
30401
+ }
30402
+ }
30403
+ },
30404
+ "303": {
30405
+ "description": "Response if the same branch name pattern already exists"
30406
+ },
30407
+ "404": {
30408
+ "description": "Not Found or `deployment_branch_policy.custom_branch_policies` property for the environment is set to false"
30409
+ }
30410
+ },
30411
+ "x-github": {
30412
+ "githubCloudOnly": false,
30413
+ "enabledForGitHubApps": true,
30414
+ "category": "deployments",
30415
+ "subcategory": "branch-policies"
30416
+ },
30417
+ "x-octokit": {}
30418
+ }
30419
+ },
30420
+ "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": {
30421
+ "get": {
30422
+ "summary": "Get a deployment branch policy",
30423
+ "description": "Gets a deployment branch policy for an environment.\n\nAnyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint.",
30424
+ "tags": [
30425
+ "repos"
30426
+ ],
30427
+ "operationId": "repos/get-deployment-branch-policy",
30428
+ "externalDocs": {
30429
+ "description": "API method documentation",
30430
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#get-deployment-branch-policy"
30431
+ },
30432
+ "parameters": [
30433
+ {
30434
+ "$ref": "#/components/parameters/owner"
30435
+ },
30436
+ {
30437
+ "$ref": "#/components/parameters/repo"
30438
+ },
30439
+ {
30440
+ "$ref": "#/components/parameters/environment-name"
30441
+ },
30442
+ {
30443
+ "$ref": "#/components/parameters/branch-policy-id"
30444
+ }
30445
+ ],
30446
+ "responses": {
30447
+ "200": {
30448
+ "description": "Response",
30449
+ "content": {
30450
+ "application/json": {
30451
+ "schema": {
30452
+ "$ref": "#/components/schemas/deployment-branch-policy"
30453
+ },
30454
+ "examples": {
30455
+ "default": {
30456
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
30457
+ }
30458
+ }
30459
+ }
30460
+ }
30461
+ }
30462
+ },
30463
+ "x-github": {
30464
+ "githubCloudOnly": false,
30465
+ "enabledForGitHubApps": true,
30466
+ "category": "deployments",
30467
+ "subcategory": "branch-policies"
30468
+ },
30469
+ "x-octokit": {}
30470
+ },
30471
+ "put": {
30472
+ "summary": "Update a deployment branch policy",
30473
+ "description": "Updates a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.",
30474
+ "tags": [
30475
+ "repos"
30476
+ ],
30477
+ "operationId": "repos/update-deployment-branch-policy",
30478
+ "externalDocs": {
30479
+ "description": "API method documentation",
30480
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#update-deployment-branch-policy"
30481
+ },
30482
+ "parameters": [
30483
+ {
30484
+ "$ref": "#/components/parameters/owner"
30485
+ },
30486
+ {
30487
+ "$ref": "#/components/parameters/repo"
30488
+ },
30489
+ {
30490
+ "$ref": "#/components/parameters/environment-name"
30491
+ },
30492
+ {
30493
+ "$ref": "#/components/parameters/branch-policy-id"
30494
+ }
30495
+ ],
30496
+ "requestBody": {
30497
+ "required": true,
30498
+ "content": {
30499
+ "application/json": {
30500
+ "schema": {
30501
+ "$ref": "#/components/schemas/deployment-branch-policy-name-pattern"
30502
+ },
30503
+ "examples": {
30504
+ "default": {
30505
+ "value": {
30506
+ "name": "release/*"
30507
+ }
30508
+ }
30509
+ }
30510
+ }
30511
+ }
30512
+ },
30513
+ "responses": {
30514
+ "200": {
30515
+ "description": "Response",
30516
+ "content": {
30517
+ "application/json": {
30518
+ "schema": {
30519
+ "$ref": "#/components/schemas/deployment-branch-policy"
30520
+ },
30521
+ "examples": {
30522
+ "default": {
30523
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
30524
+ }
30525
+ }
30526
+ }
30527
+ }
30528
+ }
30529
+ },
30530
+ "x-github": {
30531
+ "githubCloudOnly": false,
30532
+ "enabledForGitHubApps": true,
30533
+ "category": "deployments",
30534
+ "subcategory": "branch-policies"
30535
+ },
30536
+ "x-octokit": {}
30537
+ },
30538
+ "delete": {
30539
+ "summary": "Delete a deployment branch policy",
30540
+ "description": "Deletes a deployment branch policy for an environment.\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration:write` permission for the repository to use this endpoint.",
30541
+ "tags": [
30542
+ "repos"
30543
+ ],
30544
+ "operationId": "repos/delete-deployment-branch-policy",
30545
+ "externalDocs": {
30546
+ "description": "API method documentation",
30547
+ "url": "https://docs.github.com/enterprise-server@3.4/rest/deployments/branch-policies#delete-deployment-branch-policy"
30548
+ },
30549
+ "parameters": [
30550
+ {
30551
+ "$ref": "#/components/parameters/owner"
30552
+ },
30553
+ {
30554
+ "$ref": "#/components/parameters/repo"
30555
+ },
30556
+ {
30557
+ "$ref": "#/components/parameters/environment-name"
30558
+ },
30559
+ {
30560
+ "$ref": "#/components/parameters/branch-policy-id"
30561
+ }
30562
+ ],
30563
+ "responses": {
30564
+ "204": {
30565
+ "description": "Response"
30566
+ }
30567
+ },
30568
+ "x-github": {
30569
+ "githubCloudOnly": false,
30570
+ "enabledForGitHubApps": true,
30571
+ "category": "deployments",
30572
+ "subcategory": "branch-policies"
30573
+ },
30574
+ "x-octokit": {}
30575
+ }
30576
+ },
30261
30577
  "/repos/{owner}/{repo}/events": {
30262
30578
  "get": {
30263
30579
  "summary": "List repository events",
@@ -66665,7 +66981,13 @@
66665
66981
  "type": "object",
66666
66982
  "properties": {
66667
66983
  "type": {
66668
- "type": "string"
66984
+ "type": "string",
66985
+ "enum": [
66986
+ "dir",
66987
+ "file",
66988
+ "submodule",
66989
+ "symlink"
66990
+ ]
66669
66991
  },
66670
66992
  "size": {
66671
66993
  "type": "integer"
@@ -66746,7 +67068,10 @@
66746
67068
  "type": "object",
66747
67069
  "properties": {
66748
67070
  "type": {
66749
- "type": "string"
67071
+ "type": "string",
67072
+ "enum": [
67073
+ "file"
67074
+ ]
66750
67075
  },
66751
67076
  "encoding": {
66752
67077
  "type": "string"
@@ -66839,7 +67164,10 @@
66839
67164
  "type": "object",
66840
67165
  "properties": {
66841
67166
  "type": {
66842
- "type": "string"
67167
+ "type": "string",
67168
+ "enum": [
67169
+ "symlink"
67170
+ ]
66843
67171
  },
66844
67172
  "target": {
66845
67173
  "type": "string"
@@ -66915,12 +67243,15 @@
66915
67243
  ]
66916
67244
  },
66917
67245
  "content-submodule": {
66918
- "title": "Symlink Content",
66919
- "description": "An object describing a symlink",
67246
+ "title": "Submodule Content",
67247
+ "description": "An object describing a submodule",
66920
67248
  "type": "object",
66921
67249
  "properties": {
66922
67250
  "type": {
66923
- "type": "string"
67251
+ "type": "string",
67252
+ "enum": [
67253
+ "submodule"
67254
+ ]
66924
67255
  },
66925
67256
  "submodule_git_url": {
66926
67257
  "type": "string",
@@ -67369,7 +67700,7 @@
67369
67700
  "example": 30,
67370
67701
  "description": "The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days)."
67371
67702
  },
67372
- "deployment-branch-policy": {
67703
+ "deployment-branch-policy-settings": {
67373
67704
  "type": "object",
67374
67705
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
67375
67706
  "properties": {
@@ -67526,7 +67857,7 @@
67526
67857
  }
67527
67858
  },
67528
67859
  "deployment_branch_policy": {
67529
- "$ref": "#/components/schemas/deployment-branch-policy"
67860
+ "$ref": "#/components/schemas/deployment-branch-policy-settings"
67530
67861
  }
67531
67862
  },
67532
67863
  "required": [
@@ -67539,6 +67870,41 @@
67539
67870
  "updated_at"
67540
67871
  ]
67541
67872
  },
67873
+ "deployment-branch-policy": {
67874
+ "title": "Deployment branch policy",
67875
+ "description": "Details of a deployment branch policy.",
67876
+ "type": "object",
67877
+ "properties": {
67878
+ "id": {
67879
+ "description": "The unique identifier of the branch policy.",
67880
+ "type": "integer",
67881
+ "example": 361471
67882
+ },
67883
+ "node_id": {
67884
+ "type": "string",
67885
+ "example": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE="
67886
+ },
67887
+ "name": {
67888
+ "description": "The name pattern that branches must match in order to deploy to the environment.",
67889
+ "type": "string",
67890
+ "example": "release/*"
67891
+ }
67892
+ }
67893
+ },
67894
+ "deployment-branch-policy-name-pattern": {
67895
+ "title": "Deployment branch policy name pattern",
67896
+ "type": "object",
67897
+ "properties": {
67898
+ "name": {
67899
+ "description": "The name pattern that branches must match in order to deploy to the environment.\n\nWildcard characters will not match `/`. For example, to match branches that begin with `release/` and contain an additional single slash, use `release/*/*`.\nFor more information about pattern matching syntax, see the [Ruby File.fnmatch documentation](https://ruby-doc.org/core-2.5.1/File.html#method-c-fnmatch).",
67900
+ "type": "string",
67901
+ "example": "release/*"
67902
+ }
67903
+ },
67904
+ "required": [
67905
+ "name"
67906
+ ]
67907
+ },
67542
67908
  "short-blob": {
67543
67909
  "title": "Short Blob",
67544
67910
  "description": "Short Blob",
@@ -89460,6 +89826,37 @@
89460
89826
  }
89461
89827
  }
89462
89828
  },
89829
+ "deployment-branch-policies-list": {
89830
+ "value": {
89831
+ "total_count": 2,
89832
+ "branch_policies": [
89833
+ {
89834
+ "id": 361471,
89835
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE=",
89836
+ "name": "release/*"
89837
+ },
89838
+ {
89839
+ "id": 361472,
89840
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzI=",
89841
+ "name": "main"
89842
+ }
89843
+ ]
89844
+ }
89845
+ },
89846
+ "deployment-branch-policy-wildcard": {
89847
+ "value": {
89848
+ "id": 364662,
89849
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=",
89850
+ "name": "release/*"
89851
+ }
89852
+ },
89853
+ "deployment-branch-policy-single-branch": {
89854
+ "value": {
89855
+ "id": 364663,
89856
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjM=",
89857
+ "name": "main"
89858
+ }
89859
+ },
89463
89860
  "repo-events-items": {
89464
89861
  "value": [
89465
89862
  {
@@ -98337,11 +98734,20 @@
98337
98734
  "name": "environment_name",
98338
98735
  "in": "path",
98339
98736
  "required": true,
98340
- "description": "The name of the environment",
98737
+ "description": "The name of the environment.",
98341
98738
  "schema": {
98342
98739
  "type": "string"
98343
98740
  }
98344
98741
  },
98742
+ "branch-policy-id": {
98743
+ "name": "branch_policy_id",
98744
+ "in": "path",
98745
+ "required": true,
98746
+ "description": "The unique identifier of the branch policy.",
98747
+ "schema": {
98748
+ "type": "integer"
98749
+ }
98750
+ },
98345
98751
  "invitation-id": {
98346
98752
  "name": "invitation_id",
98347
98753
  "description": "The unique identifier of the invitation.",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.1.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": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.1.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": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.1.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": {
@@ -90921,13 +90921,6 @@
90921
90921
  "permission": {
90922
90922
  "type": "string",
90923
90923
  "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**",
90924
- "enum": [
90925
- "pull",
90926
- "push",
90927
- "admin",
90928
- "maintain",
90929
- "triage"
90930
- ],
90931
90924
  "default": "push"
90932
90925
  }
90933
90926
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.0.0",
4
+ "version": "7.1.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": {
@@ -3944,13 +3944,6 @@
3944
3944
  "permission": {
3945
3945
  "type": "string",
3946
3946
  "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**",
3947
- "enum": [
3948
- "pull",
3949
- "push",
3950
- "admin",
3951
- "maintain",
3952
- "triage"
3953
- ],
3954
3947
  "default": "push"
3955
3948
  }
3956
3949
  }