@octokit/openapi 6.2.1 → 6.3.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 (28) hide show
  1. package/generated/api.github.com.deref.json +7628 -7780
  2. package/generated/api.github.com.json +1267 -1290
  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 -1
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +1 -1
  7. package/generated/ghes-3.2.deref.json +15 -5
  8. package/generated/ghes-3.2.json +28 -26
  9. package/generated/ghes-3.3-anicca-diff-to-ghes-3.4.deref.json +23 -0
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +96 -1
  11. package/generated/ghes-3.3-diff-to-ghes-3.4.json +92 -1
  12. package/generated/ghes-3.3.deref.json +18 -8
  13. package/generated/ghes-3.3.json +31 -29
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  15. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  16. package/generated/ghes-3.4.deref.json +27 -13
  17. package/generated/ghes-3.4.json +40 -34
  18. package/generated/ghes-3.5-anicca-diff-to-api.github.com.deref.json +60 -2
  19. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +328 -1
  20. package/generated/ghes-3.5-diff-to-api.github.com.json +206 -10
  21. package/generated/ghes-3.5.deref.json +44 -45
  22. package/generated/ghes-3.5.json +65 -68
  23. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +83 -1
  24. package/generated/github.ae-diff-to-api.github.com.deref.json +423 -1
  25. package/generated/github.ae-diff-to-api.github.com.json +294 -12
  26. package/generated/github.ae.deref.json +34 -117
  27. package/generated/github.ae.json +57 -93
  28. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.3.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -55835,7 +55835,7 @@
55835
55835
  "operationId": "actions/create-or-update-org-secret",
55836
55836
  "externalDocs": {
55837
55837
  "description": "API method documentation",
55838
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret"
55838
+ "url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
55839
55839
  },
55840
55840
  "parameters": [
55841
55841
  {
@@ -55862,7 +55862,7 @@
55862
55862
  "properties": {
55863
55863
  "encrypted_value": {
55864
55864
  "type": "string",
55865
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-organization-public-key) endpoint.",
55865
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.",
55866
55866
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
55867
55867
  },
55868
55868
  "key_id": {
@@ -55876,8 +55876,10 @@
55876
55876
  },
55877
55877
  "selected_repository_ids": {
55878
55878
  "type": "array",
55879
- "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
55880
- "items": { "type": "string" }
55879
+ "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
55880
+ "items": {
55881
+ "anyOf": [{ "type": "integer" }, { "type": "string" }]
55882
+ }
55881
55883
  }
55882
55884
  },
55883
55885
  "required": ["visibility"]
@@ -55888,7 +55890,7 @@
55888
55890
  "encrypted_value": "c2VjcmV0",
55889
55891
  "key_id": "012345678912345678",
55890
55892
  "visibility": "selected",
55891
- "selected_repository_ids": ["1296269", "1296280"]
55893
+ "selected_repository_ids": [1296269, 1296280]
55892
55894
  }
55893
55895
  }
55894
55896
  }
@@ -59280,7 +59282,7 @@
59280
59282
  "operationId": "dependabot/create-or-update-org-secret",
59281
59283
  "externalDocs": {
59282
59284
  "description": "API method documentation",
59283
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret"
59285
+ "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
59284
59286
  },
59285
59287
  "parameters": [
59286
59288
  {
@@ -59307,7 +59309,7 @@
59307
59309
  "properties": {
59308
59310
  "encrypted_value": {
59309
59311
  "type": "string",
59310
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
59312
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
59311
59313
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
59312
59314
  },
59313
59315
  "key_id": {
@@ -59321,8 +59323,10 @@
59321
59323
  },
59322
59324
  "selected_repository_ids": {
59323
59325
  "type": "array",
59324
- "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
59325
- "items": { "type": "string" }
59326
+ "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
59327
+ "items": {
59328
+ "anyOf": [{ "type": "string" }, { "type": "integer" }]
59329
+ }
59326
59330
  }
59327
59331
  },
59328
59332
  "required": ["visibility"]
@@ -124047,7 +124051,7 @@
124047
124051
  "category": "repos",
124048
124052
  "subcategory": "autolinks"
124049
124053
  },
124050
- "x-octokit": {}
124054
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
124051
124055
  },
124052
124056
  "post": {
124053
124057
  "summary": "Create an autolink reference for a repository",
@@ -124087,7 +124091,7 @@
124087
124091
  },
124088
124092
  "url_template": {
124089
124093
  "type": "string",
124090
- "description": "The URL must contain <num> for the reference number."
124094
+ "description": "The URL must contain `<num>` for the reference number."
124091
124095
  }
124092
124096
  },
124093
124097
  "required": ["key_prefix", "url_template"]
@@ -124194,7 +124198,7 @@
124194
124198
  "category": "repos",
124195
124199
  "subcategory": "autolinks"
124196
124200
  },
124197
- "x-octokit": {}
124201
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
124198
124202
  }
124199
124203
  },
124200
124204
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -124291,7 +124295,7 @@
124291
124295
  "category": "repos",
124292
124296
  "subcategory": "autolinks"
124293
124297
  },
124294
- "x-octokit": {}
124298
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
124295
124299
  },
124296
124300
  "delete": {
124297
124301
  "summary": "Delete an autolink reference from a repository",
@@ -215638,7 +215642,7 @@
215638
215642
  "operationId": "issues/remove-assignees",
215639
215643
  "externalDocs": {
215640
215644
  "description": "API method documentation",
215641
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/issues#remove-assignees-from-an-issue"
215645
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
215642
215646
  },
215643
215647
  "parameters": [
215644
215648
  {
@@ -215664,6 +215668,7 @@
215664
215668
  }
215665
215669
  ],
215666
215670
  "requestBody": {
215671
+ "required": true,
215667
215672
  "content": {
215668
215673
  "application/json": {
215669
215674
  "schema": {
@@ -215674,7 +215679,8 @@
215674
215679
  "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
215675
215680
  "items": { "type": "string" }
215676
215681
  }
215677
- }
215682
+ },
215683
+ "required": ["assignees"]
215678
215684
  },
215679
215685
  "examples": {
215680
215686
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -217105,6 +217111,9 @@
217105
217111
  "allow_auto_merge": { "type": "boolean" },
217106
217112
  "delete_branch_on_merge": { "type": "boolean" },
217107
217113
  "allow_update_branch": { "type": "boolean" },
217114
+ "use_squash_pr_title_as_default": {
217115
+ "type": "boolean"
217116
+ },
217108
217117
  "allow_merge_commit": { "type": "boolean" },
217109
217118
  "subscribers_count": { "type": "integer" },
217110
217119
  "network_count": { "type": "integer" }
@@ -217135,6 +217144,11 @@
217135
217144
  "type": "boolean",
217136
217145
  "example": false
217137
217146
  },
217147
+ "use_squash_pr_title_as_default": {
217148
+ "type": "boolean",
217149
+ "description": "Whether a squash merge commit can use the pull request title as default.",
217150
+ "default": false
217151
+ },
217138
217152
  "allow_merge_commit": {
217139
217153
  "description": "Whether to allow merge commits for pull requests.",
217140
217154
  "default": true,
@@ -350722,20 +350736,6 @@
350722
350736
  "responses": { "501": { "description": "Not Implemented" } }
350723
350737
  }
350724
350738
  },
350725
- "/orgs/{org_id}/codespaces": {
350726
- "get": {
350727
- "summary": "List codespaces for the organization",
350728
- "description": "This endpoint does not exist ghes-3.5. It was added in api.github.com",
350729
- "tags": ["codespaces"],
350730
- "operationId": "codespaces/list-in-organization",
350731
- "externalDocs": {
350732
- "description": "API method documentation",
350733
- "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
350734
- },
350735
- "x-octokit": { "api.github.com": "removed" },
350736
- "responses": { "501": { "description": "Not Implemented" } }
350737
- }
350738
- },
350739
350739
  "/orgs/{org}/actions/oidc/customization/sub": {
350740
350740
  "get": {
350741
350741
  "summary": "Get the customization template for an OIDC subject claim for an organization",
@@ -350814,6 +350814,20 @@
350814
350814
  "responses": { "501": { "description": "Not Implemented" } }
350815
350815
  }
350816
350816
  },
350817
+ "/orgs/{org}/codespaces": {
350818
+ "get": {
350819
+ "summary": "List codespaces for the organization",
350820
+ "description": "This endpoint does not exist ghes-3.5. It was added in api.github.com",
350821
+ "tags": ["codespaces"],
350822
+ "operationId": "codespaces/list-in-organization",
350823
+ "externalDocs": {
350824
+ "description": "API method documentation",
350825
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
350826
+ },
350827
+ "x-octokit": { "api.github.com": "removed" },
350828
+ "responses": { "501": { "description": "Not Implemented" } }
350829
+ }
350830
+ },
350817
350831
  "/orgs/{org}/credential-authorizations": {
350818
350832
  "get": {
350819
350833
  "summary": "List SAML SSO authorizations for an organization",
@@ -351580,21 +351594,6 @@
351580
351594
  "responses": { "501": { "description": "Not Implemented" } }
351581
351595
  }
351582
351596
  },
351583
- "/repos/{owner}/{repo}/community/code_of_conduct": {
351584
- "get": {
351585
- "summary": "Get the code of conduct for a repository",
351586
- "description": "This endpoint does not exist ghes-3.5. It was added in api.github.com",
351587
- "tags": ["codes-of-conduct"],
351588
- "operationId": "codes-of-conduct/get-for-repo",
351589
- "externalDocs": {
351590
- "description": "API method documentation",
351591
- "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
351592
- },
351593
- "deprecated": true,
351594
- "x-octokit": { "api.github.com": "removed" },
351595
- "responses": { "501": { "description": "Not Implemented" } }
351596
- }
351597
- },
351598
351597
  "/repos/{owner}/{repo}/community/profile": {
351599
351598
  "get": {
351600
351599
  "summary": "Get community profile metrics",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "6.2.1",
4
+ "version": "6.3.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": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
@@ -9218,7 +9218,7 @@
9218
9218
  "operationId": "actions/create-or-update-org-secret",
9219
9219
  "externalDocs": {
9220
9220
  "description": "API method documentation",
9221
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/actions#create-or-update-an-organization-secret"
9221
+ "url": "https://docs.github.com/rest/reference/actions#create-or-update-an-organization-secret"
9222
9222
  },
9223
9223
  "parameters": [
9224
9224
  { "$ref": "#/components/parameters/org" },
@@ -9233,7 +9233,7 @@
9233
9233
  "properties": {
9234
9234
  "encrypted_value": {
9235
9235
  "type": "string",
9236
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#get-an-organization-public-key) endpoint.",
9236
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/actions#get-an-organization-public-key) endpoint.",
9237
9237
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
9238
9238
  },
9239
9239
  "key_id": {
@@ -9247,8 +9247,10 @@
9247
9247
  },
9248
9248
  "selected_repository_ids": {
9249
9249
  "type": "array",
9250
- "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
9251
- "items": { "type": "string" }
9250
+ "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
9251
+ "items": {
9252
+ "anyOf": [{ "type": "integer" }, { "type": "string" }]
9253
+ }
9252
9254
  }
9253
9255
  },
9254
9256
  "required": ["visibility"]
@@ -9259,7 +9261,7 @@
9259
9261
  "encrypted_value": "c2VjcmV0",
9260
9262
  "key_id": "012345678912345678",
9261
9263
  "visibility": "selected",
9262
- "selected_repository_ids": ["1296269", "1296280"]
9264
+ "selected_repository_ids": [1296269, 1296280]
9263
9265
  }
9264
9266
  }
9265
9267
  }
@@ -9739,7 +9741,7 @@
9739
9741
  "operationId": "dependabot/create-or-update-org-secret",
9740
9742
  "externalDocs": {
9741
9743
  "description": "API method documentation",
9742
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#create-or-update-an-organization-secret"
9744
+ "url": "https://docs.github.com/rest/reference/dependabot#create-or-update-an-organization-secret"
9743
9745
  },
9744
9746
  "parameters": [
9745
9747
  { "$ref": "#/components/parameters/org" },
@@ -9754,7 +9756,7 @@
9754
9756
  "properties": {
9755
9757
  "encrypted_value": {
9756
9758
  "type": "string",
9757
- "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
9759
+ "description": "Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/reference/dependabot#get-an-organization-public-key) endpoint.",
9758
9760
  "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$"
9759
9761
  },
9760
9762
  "key_id": {
@@ -9768,8 +9770,10 @@
9768
9770
  },
9769
9771
  "selected_repository_ids": {
9770
9772
  "type": "array",
9771
- "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.5/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
9772
- "items": { "type": "string" }
9773
+ "description": "An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/reference/dependabot#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/reference/dependabot#remove-selected-repository-from-an-organization-secret) endpoints.",
9774
+ "items": {
9775
+ "anyOf": [{ "type": "string" }, { "type": "integer" }]
9776
+ }
9773
9777
  }
9774
9778
  },
9775
9779
  "required": ["visibility"]
@@ -17639,7 +17643,9 @@
17639
17643
  "category": "repos",
17640
17644
  "subcategory": "autolinks"
17641
17645
  },
17642
- "x-octokit": {}
17646
+ "x-octokit": {
17647
+ "diff": { "api.github.com.json": { "type": "changed" } }
17648
+ }
17643
17649
  },
17644
17650
  "post": {
17645
17651
  "summary": "Create an autolink reference for a repository",
@@ -17667,7 +17673,7 @@
17667
17673
  },
17668
17674
  "url_template": {
17669
17675
  "type": "string",
17670
- "description": "The URL must contain <num> for the reference number."
17676
+ "description": "The URL must contain `<num>` for the reference number."
17671
17677
  }
17672
17678
  },
17673
17679
  "required": ["key_prefix", "url_template"]
@@ -17709,7 +17715,9 @@
17709
17715
  "category": "repos",
17710
17716
  "subcategory": "autolinks"
17711
17717
  },
17712
- "x-octokit": {}
17718
+ "x-octokit": {
17719
+ "diff": { "api.github.com.json": { "type": "changed" } }
17720
+ }
17713
17721
  }
17714
17722
  },
17715
17723
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -17747,7 +17755,9 @@
17747
17755
  "category": "repos",
17748
17756
  "subcategory": "autolinks"
17749
17757
  },
17750
- "x-octokit": {}
17758
+ "x-octokit": {
17759
+ "diff": { "api.github.com.json": { "type": "changed" } }
17760
+ }
17751
17761
  },
17752
17762
  "delete": {
17753
17763
  "summary": "Delete an autolink reference from a repository",
@@ -23894,7 +23904,7 @@
23894
23904
  }
23895
23905
  },
23896
23906
  "deployment_branch_policy": {
23897
- "$ref": "#/components/schemas/deployment_branch_policy"
23907
+ "$ref": "#/components/schemas/deployment-branch-policy"
23898
23908
  }
23899
23909
  },
23900
23910
  "additionalProperties": false
@@ -26641,7 +26651,7 @@
26641
26651
  "operationId": "issues/remove-assignees",
26642
26652
  "externalDocs": {
26643
26653
  "description": "API method documentation",
26644
- "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/issues#remove-assignees-from-an-issue"
26654
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
26645
26655
  },
26646
26656
  "parameters": [
26647
26657
  { "$ref": "#/components/parameters/owner" },
@@ -26649,6 +26659,7 @@
26649
26659
  { "$ref": "#/components/parameters/issue-number" }
26650
26660
  ],
26651
26661
  "requestBody": {
26662
+ "required": true,
26652
26663
  "content": {
26653
26664
  "application/json": {
26654
26665
  "schema": {
@@ -26659,7 +26670,8 @@
26659
26670
  "description": "Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._",
26660
26671
  "items": { "type": "string" }
26661
26672
  }
26662
- }
26673
+ },
26674
+ "required": ["assignees"]
26663
26675
  },
26664
26676
  "examples": {
26665
26677
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -33088,7 +33100,7 @@
33088
33100
  "parameters": [
33089
33101
  { "$ref": "#/components/parameters/owner" },
33090
33102
  { "$ref": "#/components/parameters/repo" },
33091
- { "$ref": "#/components/parameters/tag_protection_id" }
33103
+ { "$ref": "#/components/parameters/tag-protection-id" }
33092
33104
  ],
33093
33105
  "responses": {
33094
33106
  "204": { "description": "Response" },
@@ -40182,20 +40194,6 @@
40182
40194
  "responses": { "501": { "description": "Not Implemented" } }
40183
40195
  }
40184
40196
  },
40185
- "/orgs/{org_id}/codespaces": {
40186
- "get": {
40187
- "summary": "List codespaces for the organization",
40188
- "description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
40189
- "tags": ["codespaces"],
40190
- "operationId": "codespaces/list-in-organization",
40191
- "externalDocs": {
40192
- "description": "API method documentation",
40193
- "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
40194
- },
40195
- "x-octokit": { "api.github.com.json": "removed" },
40196
- "responses": { "501": { "description": "Not Implemented" } }
40197
- }
40198
- },
40199
40197
  "/orgs/{org}/actions/oidc/customization/sub": {
40200
40198
  "get": {
40201
40199
  "summary": "Get the customization template for an OIDC subject claim for an organization",
@@ -40274,6 +40272,20 @@
40274
40272
  "responses": { "501": { "description": "Not Implemented" } }
40275
40273
  }
40276
40274
  },
40275
+ "/orgs/{org}/codespaces": {
40276
+ "get": {
40277
+ "summary": "List codespaces for the organization",
40278
+ "description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
40279
+ "tags": ["codespaces"],
40280
+ "operationId": "codespaces/list-in-organization",
40281
+ "externalDocs": {
40282
+ "description": "API method documentation",
40283
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
40284
+ },
40285
+ "x-octokit": { "api.github.com.json": "removed" },
40286
+ "responses": { "501": { "description": "Not Implemented" } }
40287
+ }
40288
+ },
40277
40289
  "/orgs/{org}/credential-authorizations": {
40278
40290
  "get": {
40279
40291
  "summary": "List SAML SSO authorizations for an organization",
@@ -41040,21 +41052,6 @@
41040
41052
  "responses": { "501": { "description": "Not Implemented" } }
41041
41053
  }
41042
41054
  },
41043
- "/repos/{owner}/{repo}/community/code_of_conduct": {
41044
- "get": {
41045
- "summary": "Get the code of conduct for a repository",
41046
- "description": "This endpoint does not exist ghes-3.5.json. It was added in api.github.com.json",
41047
- "tags": ["codes-of-conduct"],
41048
- "operationId": "codes-of-conduct/get-for-repo",
41049
- "externalDocs": {
41050
- "description": "API method documentation",
41051
- "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
41052
- },
41053
- "deprecated": true,
41054
- "x-octokit": { "api.github.com.json": "removed" },
41055
- "responses": { "501": { "description": "Not Implemented" } }
41056
- }
41057
- },
41058
41055
  "/repos/{owner}/{repo}/community/profile": {
41059
41056
  "get": {
41060
41057
  "summary": "Get community profile metrics",
@@ -45652,7 +45649,7 @@
45652
45649
  ],
45653
45650
  "nullable": true
45654
45651
  },
45655
- "author_association": {
45652
+ "author-association": {
45656
45653
  "title": "author_association",
45657
45654
  "type": "string",
45658
45655
  "example": "OWNER",
@@ -45818,7 +45815,7 @@
45818
45815
  "$ref": "#/components/schemas/nullable-integration"
45819
45816
  },
45820
45817
  "author_association": {
45821
- "$ref": "#/components/schemas/author_association"
45818
+ "$ref": "#/components/schemas/author-association"
45822
45819
  },
45823
45820
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
45824
45821
  },
@@ -45884,7 +45881,7 @@
45884
45881
  },
45885
45882
  "issue_url": { "type": "string", "format": "uri" },
45886
45883
  "author_association": {
45887
- "$ref": "#/components/schemas/author_association"
45884
+ "$ref": "#/components/schemas/author-association"
45888
45885
  },
45889
45886
  "performed_via_github_app": {
45890
45887
  "$ref": "#/components/schemas/nullable-integration"
@@ -46359,7 +46356,7 @@
46359
46356
  "example": "2011-04-18T23:23:56Z"
46360
46357
  },
46361
46358
  "author_association": {
46362
- "$ref": "#/components/schemas/author_association"
46359
+ "$ref": "#/components/schemas/author-association"
46363
46360
  }
46364
46361
  },
46365
46362
  "required": [
@@ -52560,7 +52557,7 @@
52560
52557
  "created_at": { "type": "string", "format": "date-time" },
52561
52558
  "updated_at": { "type": "string", "format": "date-time" },
52562
52559
  "author_association": {
52563
- "$ref": "#/components/schemas/author_association"
52560
+ "$ref": "#/components/schemas/author-association"
52564
52561
  },
52565
52562
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
52566
52563
  },
@@ -52605,7 +52602,7 @@
52605
52602
  "properties": { "href": { "type": "string" } },
52606
52603
  "required": ["href"]
52607
52604
  },
52608
- "auto_merge": {
52605
+ "auto-merge": {
52609
52606
  "title": "Auto merge",
52610
52607
  "description": "The status of auto merging a pull request.",
52611
52608
  "type": "object",
@@ -52821,9 +52818,9 @@
52821
52818
  ]
52822
52819
  },
52823
52820
  "author_association": {
52824
- "$ref": "#/components/schemas/author_association"
52821
+ "$ref": "#/components/schemas/author-association"
52825
52822
  },
52826
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
52823
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
52827
52824
  "draft": {
52828
52825
  "description": "Indicates whether or not the pull request is a draft.",
52829
52826
  "example": false,
@@ -53532,7 +53529,7 @@
53532
53529
  "example": 30,
53533
53530
  "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)."
53534
53531
  },
53535
- "deployment_branch_policy": {
53532
+ "deployment-branch-policy": {
53536
53533
  "type": "object",
53537
53534
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
53538
53535
  "properties": {
@@ -53653,7 +53650,7 @@
53653
53650
  }
53654
53651
  },
53655
53652
  "deployment_branch_policy": {
53656
- "$ref": "#/components/schemas/deployment_branch_policy"
53653
+ "$ref": "#/components/schemas/deployment-branch-policy"
53657
53654
  }
53658
53655
  },
53659
53656
  "required": [
@@ -54170,7 +54167,7 @@
54170
54167
  "$ref": "#/components/schemas/nullable-integration"
54171
54168
  },
54172
54169
  "author_association": {
54173
- "$ref": "#/components/schemas/author_association"
54170
+ "$ref": "#/components/schemas/author-association"
54174
54171
  },
54175
54172
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
54176
54173
  },
@@ -54300,7 +54297,7 @@
54300
54297
  },
54301
54298
  "rename": { "$ref": "#/components/schemas/issue-event-rename" },
54302
54299
  "author_association": {
54303
- "$ref": "#/components/schemas/author_association"
54300
+ "$ref": "#/components/schemas/author-association"
54304
54301
  },
54305
54302
  "lock_reason": { "type": "string", "nullable": true },
54306
54303
  "performed_via_github_app": {
@@ -55003,7 +55000,7 @@
55003
55000
  },
55004
55001
  "issue_url": { "type": "string", "format": "uri" },
55005
55002
  "author_association": {
55006
- "$ref": "#/components/schemas/author_association"
55003
+ "$ref": "#/components/schemas/author-association"
55007
55004
  },
55008
55005
  "performed_via_github_app": {
55009
55006
  "$ref": "#/components/schemas/nullable-integration"
@@ -55218,7 +55215,7 @@
55218
55215
  "body_html": { "type": "string" },
55219
55216
  "body_text": { "type": "string" },
55220
55217
  "author_association": {
55221
- "$ref": "#/components/schemas/author_association"
55218
+ "$ref": "#/components/schemas/author-association"
55222
55219
  }
55223
55220
  },
55224
55221
  "required": [
@@ -55325,7 +55322,7 @@
55325
55322
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
55326
55323
  },
55327
55324
  "author_association": {
55328
- "$ref": "#/components/schemas/author_association"
55325
+ "$ref": "#/components/schemas/author-association"
55329
55326
  },
55330
55327
  "_links": {
55331
55328
  "type": "object",
@@ -56777,9 +56774,9 @@
56777
56774
  ]
56778
56775
  },
56779
56776
  "author_association": {
56780
- "$ref": "#/components/schemas/author_association"
56777
+ "$ref": "#/components/schemas/author-association"
56781
56778
  },
56782
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
56779
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
56783
56780
  "draft": {
56784
56781
  "description": "Indicates whether or not the pull request is a draft.",
56785
56782
  "example": false,
@@ -56934,7 +56931,7 @@
56934
56931
  "body_html": { "type": "string" },
56935
56932
  "body_text": { "type": "string" },
56936
56933
  "author_association": {
56937
- "$ref": "#/components/schemas/author_association"
56934
+ "$ref": "#/components/schemas/author-association"
56938
56935
  }
56939
56936
  },
56940
56937
  "required": [
@@ -57009,7 +57006,7 @@
57009
57006
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
57010
57007
  },
57011
57008
  "author_association": {
57012
- "$ref": "#/components/schemas/author_association"
57009
+ "$ref": "#/components/schemas/author-association"
57013
57010
  },
57014
57011
  "_links": {
57015
57012
  "type": "object",
@@ -57707,7 +57704,7 @@
57707
57704
  "body": { "type": "string" },
57708
57705
  "score": { "type": "number" },
57709
57706
  "author_association": {
57710
- "$ref": "#/components/schemas/author_association"
57707
+ "$ref": "#/components/schemas/author-association"
57711
57708
  },
57712
57709
  "draft": { "type": "boolean" },
57713
57710
  "repository": { "$ref": "#/components/schemas/repository" },
@@ -80126,7 +80123,7 @@
80126
80123
  "required": true,
80127
80124
  "schema": { "type": "integer" }
80128
80125
  },
80129
- "tag_protection_id": {
80126
+ "tag-protection-id": {
80130
80127
  "name": "tag_protection_id",
80131
80128
  "description": "The unique identifier of the tag protection.",
80132
80129
  "in": "path",