@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": {
@@ -16158,13 +16158,6 @@
16158
16158
  "permission": {
16159
16159
  "type": "string",
16160
16160
  "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.",
16161
- "enum": [
16162
- "pull",
16163
- "push",
16164
- "admin",
16165
- "maintain",
16166
- "triage"
16167
- ],
16168
16161
  "default": "push"
16169
16162
  }
16170
16163
  }
@@ -25455,13 +25448,6 @@
25455
25448
  "permission": {
25456
25449
  "type": "string",
25457
25450
  "description": "The permission to grant the collaborator. **Only valid on organization-owned repositories.**",
25458
- "enum": [
25459
- "pull",
25460
- "push",
25461
- "admin",
25462
- "maintain",
25463
- "triage"
25464
- ],
25465
25451
  "default": "push"
25466
25452
  }
25467
25453
  }
@@ -28371,15 +28357,15 @@
28371
28357
  },
28372
28358
  "/repos/{owner}/{repo}/environments": {
28373
28359
  "get": {
28374
- "summary": "Get all environments",
28375
- "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.",
28360
+ "summary": "List environments",
28361
+ "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.",
28376
28362
  "tags": [
28377
28363
  "repos"
28378
28364
  ],
28379
28365
  "operationId": "repos/get-all-environments",
28380
28366
  "externalDocs": {
28381
28367
  "description": "API method documentation",
28382
- "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-all-environments"
28368
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/environments#list-environments"
28383
28369
  },
28384
28370
  "parameters": [
28385
28371
  {
@@ -28428,7 +28414,7 @@
28428
28414
  "x-github": {
28429
28415
  "githubCloudOnly": false,
28430
28416
  "enabledForGitHubApps": true,
28431
- "category": "repos",
28417
+ "category": "deployments",
28432
28418
  "subcategory": "environments"
28433
28419
  },
28434
28420
  "x-octokit": {}
@@ -28437,7 +28423,7 @@
28437
28423
  "/repos/{owner}/{repo}/environments/{environment_name}": {
28438
28424
  "get": {
28439
28425
  "summary": "Get an environment",
28440
- "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.",
28426
+ "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.",
28441
28427
  "tags": [
28442
28428
  "repos"
28443
28429
  ],
@@ -28484,7 +28470,7 @@
28484
28470
  },
28485
28471
  "put": {
28486
28472
  "summary": "Create or update an environment",
28487
- "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.",
28473
+ "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.",
28488
28474
  "tags": [
28489
28475
  "repos"
28490
28476
  ],
@@ -28534,10 +28520,31 @@
28534
28520
  }
28535
28521
  },
28536
28522
  "deployment_branch_policy": {
28537
- "$ref": "#/components/schemas/deployment-branch-policy"
28523
+ "$ref": "#/components/schemas/deployment-branch-policy-settings"
28538
28524
  }
28539
28525
  },
28540
28526
  "additionalProperties": false
28527
+ },
28528
+ "examples": {
28529
+ "default": {
28530
+ "value": {
28531
+ "wait_timer": 30,
28532
+ "reviewers": [
28533
+ {
28534
+ "type": "User",
28535
+ "id": 1
28536
+ },
28537
+ {
28538
+ "type": "Team",
28539
+ "id": 1
28540
+ }
28541
+ ],
28542
+ "deployment_branch_policy": {
28543
+ "protected_branches": false,
28544
+ "custom_branch_policies": true
28545
+ }
28546
+ }
28547
+ }
28541
28548
  }
28542
28549
  }
28543
28550
  }
@@ -28613,6 +28620,315 @@
28613
28620
  "x-octokit": {}
28614
28621
  }
28615
28622
  },
28623
+ "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies": {
28624
+ "get": {
28625
+ "summary": "List deployment branch policies",
28626
+ "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.",
28627
+ "tags": [
28628
+ "repos"
28629
+ ],
28630
+ "operationId": "repos/list-deployment-branch-policies",
28631
+ "externalDocs": {
28632
+ "description": "API method documentation",
28633
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#list-deployment-branch-policies"
28634
+ },
28635
+ "parameters": [
28636
+ {
28637
+ "$ref": "#/components/parameters/owner"
28638
+ },
28639
+ {
28640
+ "$ref": "#/components/parameters/repo"
28641
+ },
28642
+ {
28643
+ "$ref": "#/components/parameters/environment-name"
28644
+ },
28645
+ {
28646
+ "$ref": "#/components/parameters/per-page"
28647
+ },
28648
+ {
28649
+ "$ref": "#/components/parameters/page"
28650
+ }
28651
+ ],
28652
+ "responses": {
28653
+ "200": {
28654
+ "description": "Response",
28655
+ "content": {
28656
+ "application/json": {
28657
+ "schema": {
28658
+ "type": "object",
28659
+ "properties": {
28660
+ "total_count": {
28661
+ "description": "The number of deployment branch policies for the environment.",
28662
+ "type": "integer",
28663
+ "example": 2
28664
+ },
28665
+ "branch_policies": {
28666
+ "type": "array",
28667
+ "items": {
28668
+ "$ref": "#/components/schemas/deployment-branch-policy"
28669
+ }
28670
+ }
28671
+ },
28672
+ "required": [
28673
+ "total_count",
28674
+ "branch_policies"
28675
+ ]
28676
+ },
28677
+ "examples": {
28678
+ "default": {
28679
+ "$ref": "#/components/examples/deployment-branch-policies-list"
28680
+ }
28681
+ }
28682
+ }
28683
+ }
28684
+ }
28685
+ },
28686
+ "x-github": {
28687
+ "githubCloudOnly": false,
28688
+ "enabledForGitHubApps": true,
28689
+ "category": "deployments",
28690
+ "subcategory": "branch-policies"
28691
+ },
28692
+ "x-octokit": {}
28693
+ },
28694
+ "post": {
28695
+ "summary": "Create a deployment branch policy",
28696
+ "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.",
28697
+ "tags": [
28698
+ "repos"
28699
+ ],
28700
+ "operationId": "repos/create-deployment-branch-policy",
28701
+ "externalDocs": {
28702
+ "description": "API method documentation",
28703
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#create-deployment-branch-policy"
28704
+ },
28705
+ "parameters": [
28706
+ {
28707
+ "$ref": "#/components/parameters/owner"
28708
+ },
28709
+ {
28710
+ "$ref": "#/components/parameters/repo"
28711
+ },
28712
+ {
28713
+ "$ref": "#/components/parameters/environment-name"
28714
+ }
28715
+ ],
28716
+ "requestBody": {
28717
+ "required": true,
28718
+ "content": {
28719
+ "application/json": {
28720
+ "schema": {
28721
+ "$ref": "#/components/schemas/deployment-branch-policy-name-pattern"
28722
+ },
28723
+ "examples": {
28724
+ "example-wildcard": {
28725
+ "summary": "Example of a wildcard name pattern",
28726
+ "value": {
28727
+ "name": "release/*"
28728
+ }
28729
+ },
28730
+ "example-single-branch": {
28731
+ "summary": "Example of a single branch name pattern",
28732
+ "value": {
28733
+ "name": "main"
28734
+ }
28735
+ }
28736
+ }
28737
+ }
28738
+ }
28739
+ },
28740
+ "responses": {
28741
+ "200": {
28742
+ "description": "Response",
28743
+ "content": {
28744
+ "application/json": {
28745
+ "schema": {
28746
+ "$ref": "#/components/schemas/deployment-branch-policy"
28747
+ },
28748
+ "examples": {
28749
+ "example-wildcard": {
28750
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
28751
+ },
28752
+ "example-single-branch": {
28753
+ "$ref": "#/components/examples/deployment-branch-policy-single-branch"
28754
+ }
28755
+ }
28756
+ }
28757
+ }
28758
+ },
28759
+ "303": {
28760
+ "description": "Response if the same branch name pattern already exists"
28761
+ },
28762
+ "404": {
28763
+ "description": "Not Found or `deployment_branch_policy.custom_branch_policies` property for the environment is set to false"
28764
+ }
28765
+ },
28766
+ "x-github": {
28767
+ "githubCloudOnly": false,
28768
+ "enabledForGitHubApps": true,
28769
+ "category": "deployments",
28770
+ "subcategory": "branch-policies"
28771
+ },
28772
+ "x-octokit": {}
28773
+ }
28774
+ },
28775
+ "/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}": {
28776
+ "get": {
28777
+ "summary": "Get a deployment branch policy",
28778
+ "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.",
28779
+ "tags": [
28780
+ "repos"
28781
+ ],
28782
+ "operationId": "repos/get-deployment-branch-policy",
28783
+ "externalDocs": {
28784
+ "description": "API method documentation",
28785
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#get-deployment-branch-policy"
28786
+ },
28787
+ "parameters": [
28788
+ {
28789
+ "$ref": "#/components/parameters/owner"
28790
+ },
28791
+ {
28792
+ "$ref": "#/components/parameters/repo"
28793
+ },
28794
+ {
28795
+ "$ref": "#/components/parameters/environment-name"
28796
+ },
28797
+ {
28798
+ "$ref": "#/components/parameters/branch-policy-id"
28799
+ }
28800
+ ],
28801
+ "responses": {
28802
+ "200": {
28803
+ "description": "Response",
28804
+ "content": {
28805
+ "application/json": {
28806
+ "schema": {
28807
+ "$ref": "#/components/schemas/deployment-branch-policy"
28808
+ },
28809
+ "examples": {
28810
+ "default": {
28811
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
28812
+ }
28813
+ }
28814
+ }
28815
+ }
28816
+ }
28817
+ },
28818
+ "x-github": {
28819
+ "githubCloudOnly": false,
28820
+ "enabledForGitHubApps": true,
28821
+ "category": "deployments",
28822
+ "subcategory": "branch-policies"
28823
+ },
28824
+ "x-octokit": {}
28825
+ },
28826
+ "put": {
28827
+ "summary": "Update a deployment branch policy",
28828
+ "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.",
28829
+ "tags": [
28830
+ "repos"
28831
+ ],
28832
+ "operationId": "repos/update-deployment-branch-policy",
28833
+ "externalDocs": {
28834
+ "description": "API method documentation",
28835
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#update-deployment-branch-policy"
28836
+ },
28837
+ "parameters": [
28838
+ {
28839
+ "$ref": "#/components/parameters/owner"
28840
+ },
28841
+ {
28842
+ "$ref": "#/components/parameters/repo"
28843
+ },
28844
+ {
28845
+ "$ref": "#/components/parameters/environment-name"
28846
+ },
28847
+ {
28848
+ "$ref": "#/components/parameters/branch-policy-id"
28849
+ }
28850
+ ],
28851
+ "requestBody": {
28852
+ "required": true,
28853
+ "content": {
28854
+ "application/json": {
28855
+ "schema": {
28856
+ "$ref": "#/components/schemas/deployment-branch-policy-name-pattern"
28857
+ },
28858
+ "examples": {
28859
+ "default": {
28860
+ "value": {
28861
+ "name": "release/*"
28862
+ }
28863
+ }
28864
+ }
28865
+ }
28866
+ }
28867
+ },
28868
+ "responses": {
28869
+ "200": {
28870
+ "description": "Response",
28871
+ "content": {
28872
+ "application/json": {
28873
+ "schema": {
28874
+ "$ref": "#/components/schemas/deployment-branch-policy"
28875
+ },
28876
+ "examples": {
28877
+ "default": {
28878
+ "$ref": "#/components/examples/deployment-branch-policy-wildcard"
28879
+ }
28880
+ }
28881
+ }
28882
+ }
28883
+ }
28884
+ },
28885
+ "x-github": {
28886
+ "githubCloudOnly": false,
28887
+ "enabledForGitHubApps": true,
28888
+ "category": "deployments",
28889
+ "subcategory": "branch-policies"
28890
+ },
28891
+ "x-octokit": {}
28892
+ },
28893
+ "delete": {
28894
+ "summary": "Delete a deployment branch policy",
28895
+ "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.",
28896
+ "tags": [
28897
+ "repos"
28898
+ ],
28899
+ "operationId": "repos/delete-deployment-branch-policy",
28900
+ "externalDocs": {
28901
+ "description": "API method documentation",
28902
+ "url": "https://docs.github.com/enterprise-server@3.2/rest/deployments/branch-policies#delete-deployment-branch-policy"
28903
+ },
28904
+ "parameters": [
28905
+ {
28906
+ "$ref": "#/components/parameters/owner"
28907
+ },
28908
+ {
28909
+ "$ref": "#/components/parameters/repo"
28910
+ },
28911
+ {
28912
+ "$ref": "#/components/parameters/environment-name"
28913
+ },
28914
+ {
28915
+ "$ref": "#/components/parameters/branch-policy-id"
28916
+ }
28917
+ ],
28918
+ "responses": {
28919
+ "204": {
28920
+ "description": "Response"
28921
+ }
28922
+ },
28923
+ "x-github": {
28924
+ "githubCloudOnly": false,
28925
+ "enabledForGitHubApps": true,
28926
+ "category": "deployments",
28927
+ "subcategory": "branch-policies"
28928
+ },
28929
+ "x-octokit": {}
28930
+ }
28931
+ },
28616
28932
  "/repos/{owner}/{repo}/events": {
28617
28933
  "get": {
28618
28934
  "summary": "List repository events",
@@ -63956,7 +64272,13 @@
63956
64272
  "type": "object",
63957
64273
  "properties": {
63958
64274
  "type": {
63959
- "type": "string"
64275
+ "type": "string",
64276
+ "enum": [
64277
+ "dir",
64278
+ "file",
64279
+ "submodule",
64280
+ "symlink"
64281
+ ]
63960
64282
  },
63961
64283
  "size": {
63962
64284
  "type": "integer"
@@ -64037,7 +64359,10 @@
64037
64359
  "type": "object",
64038
64360
  "properties": {
64039
64361
  "type": {
64040
- "type": "string"
64362
+ "type": "string",
64363
+ "enum": [
64364
+ "file"
64365
+ ]
64041
64366
  },
64042
64367
  "encoding": {
64043
64368
  "type": "string"
@@ -64130,7 +64455,10 @@
64130
64455
  "type": "object",
64131
64456
  "properties": {
64132
64457
  "type": {
64133
- "type": "string"
64458
+ "type": "string",
64459
+ "enum": [
64460
+ "symlink"
64461
+ ]
64134
64462
  },
64135
64463
  "target": {
64136
64464
  "type": "string"
@@ -64206,12 +64534,15 @@
64206
64534
  ]
64207
64535
  },
64208
64536
  "content-submodule": {
64209
- "title": "Symlink Content",
64210
- "description": "An object describing a symlink",
64537
+ "title": "Submodule Content",
64538
+ "description": "An object describing a submodule",
64211
64539
  "type": "object",
64212
64540
  "properties": {
64213
64541
  "type": {
64214
- "type": "string"
64542
+ "type": "string",
64543
+ "enum": [
64544
+ "submodule"
64545
+ ]
64215
64546
  },
64216
64547
  "submodule_git_url": {
64217
64548
  "type": "string",
@@ -64635,7 +64966,7 @@
64635
64966
  "example": 30,
64636
64967
  "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)."
64637
64968
  },
64638
- "deployment-branch-policy": {
64969
+ "deployment-branch-policy-settings": {
64639
64970
  "type": "object",
64640
64971
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
64641
64972
  "properties": {
@@ -64792,7 +65123,7 @@
64792
65123
  }
64793
65124
  },
64794
65125
  "deployment_branch_policy": {
64795
- "$ref": "#/components/schemas/deployment-branch-policy"
65126
+ "$ref": "#/components/schemas/deployment-branch-policy-settings"
64796
65127
  }
64797
65128
  },
64798
65129
  "required": [
@@ -64805,6 +65136,41 @@
64805
65136
  "updated_at"
64806
65137
  ]
64807
65138
  },
65139
+ "deployment-branch-policy": {
65140
+ "title": "Deployment branch policy",
65141
+ "description": "Details of a deployment branch policy.",
65142
+ "type": "object",
65143
+ "properties": {
65144
+ "id": {
65145
+ "description": "The unique identifier of the branch policy.",
65146
+ "type": "integer",
65147
+ "example": 361471
65148
+ },
65149
+ "node_id": {
65150
+ "type": "string",
65151
+ "example": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE="
65152
+ },
65153
+ "name": {
65154
+ "description": "The name pattern that branches must match in order to deploy to the environment.",
65155
+ "type": "string",
65156
+ "example": "release/*"
65157
+ }
65158
+ }
65159
+ },
65160
+ "deployment-branch-policy-name-pattern": {
65161
+ "title": "Deployment branch policy name pattern",
65162
+ "type": "object",
65163
+ "properties": {
65164
+ "name": {
65165
+ "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).",
65166
+ "type": "string",
65167
+ "example": "release/*"
65168
+ }
65169
+ },
65170
+ "required": [
65171
+ "name"
65172
+ ]
65173
+ },
64808
65174
  "short-blob": {
64809
65175
  "title": "Short Blob",
64810
65176
  "description": "Short Blob",
@@ -86120,6 +86486,37 @@
86120
86486
  }
86121
86487
  }
86122
86488
  },
86489
+ "deployment-branch-policies-list": {
86490
+ "value": {
86491
+ "total_count": 2,
86492
+ "branch_policies": [
86493
+ {
86494
+ "id": 361471,
86495
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzE=",
86496
+ "name": "release/*"
86497
+ },
86498
+ {
86499
+ "id": 361472,
86500
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjE0NzI=",
86501
+ "name": "main"
86502
+ }
86503
+ ]
86504
+ }
86505
+ },
86506
+ "deployment-branch-policy-wildcard": {
86507
+ "value": {
86508
+ "id": 364662,
86509
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI=",
86510
+ "name": "release/*"
86511
+ }
86512
+ },
86513
+ "deployment-branch-policy-single-branch": {
86514
+ "value": {
86515
+ "id": 364663,
86516
+ "node_id": "MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjM=",
86517
+ "name": "main"
86518
+ }
86519
+ },
86123
86520
  "repo-events-items": {
86124
86521
  "value": [
86125
86522
  {
@@ -94489,11 +94886,20 @@
94489
94886
  "name": "environment_name",
94490
94887
  "in": "path",
94491
94888
  "required": true,
94492
- "description": "The name of the environment",
94889
+ "description": "The name of the environment.",
94493
94890
  "schema": {
94494
94891
  "type": "string"
94495
94892
  }
94496
94893
  },
94894
+ "branch-policy-id": {
94895
+ "name": "branch_policy_id",
94896
+ "in": "path",
94897
+ "required": true,
94898
+ "description": "The unique identifier of the branch policy.",
94899
+ "schema": {
94900
+ "type": "integer"
94901
+ }
94902
+ },
94497
94903
  "invitation-id": {
94498
94904
  "name": "invitation_id",
94499
94905
  "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": {