@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" },
@@ -37996,7 +37996,7 @@
37996
37996
  "selected_repository_ids": {
37997
37997
  "type": "array",
37998
37998
  "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/github-ae@latest/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
37999
- "items": { "type": "string" }
37999
+ "items": { "type": "integer" }
38000
38000
  }
38001
38001
  },
38002
38002
  "required": ["visibility"]
@@ -38007,7 +38007,7 @@
38007
38007
  "encrypted_value": "c2VjcmV0",
38008
38008
  "key_id": "012345678912345678",
38009
38009
  "visibility": "selected",
38010
- "selected_repository_ids": ["1296269", "1296280"]
38010
+ "selected_repository_ids": [1296269, 1296280]
38011
38011
  }
38012
38012
  }
38013
38013
  }
@@ -38038,7 +38038,7 @@
38038
38038
  "category": "actions",
38039
38039
  "subcategory": "secrets"
38040
38040
  },
38041
- "x-octokit": {}
38041
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
38042
38042
  },
38043
38043
  "delete": {
38044
38044
  "summary": "Delete an organization secret",
@@ -97272,7 +97272,7 @@
97272
97272
  "category": "repos",
97273
97273
  "subcategory": "autolinks"
97274
97274
  },
97275
- "x-octokit": {}
97275
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
97276
97276
  },
97277
97277
  "post": {
97278
97278
  "summary": "Create an autolink reference for a repository",
@@ -97312,7 +97312,7 @@
97312
97312
  },
97313
97313
  "url_template": {
97314
97314
  "type": "string",
97315
- "description": "The URL must contain <num> for the reference number."
97315
+ "description": "The URL must contain `<num>` for the reference number."
97316
97316
  }
97317
97317
  },
97318
97318
  "required": ["key_prefix", "url_template"]
@@ -97419,7 +97419,7 @@
97419
97419
  "category": "repos",
97420
97420
  "subcategory": "autolinks"
97421
97421
  },
97422
- "x-octokit": {}
97422
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
97423
97423
  }
97424
97424
  },
97425
97425
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -97516,7 +97516,7 @@
97516
97516
  "category": "repos",
97517
97517
  "subcategory": "autolinks"
97518
97518
  },
97519
- "x-octokit": {}
97519
+ "x-octokit": { "diff": { "api.github.com": { "type": "changed" } } }
97520
97520
  },
97521
97521
  "delete": {
97522
97522
  "summary": "Delete an autolink reference from a repository",
@@ -186423,7 +186423,7 @@
186423
186423
  "operationId": "issues/remove-assignees",
186424
186424
  "externalDocs": {
186425
186425
  "description": "API method documentation",
186426
- "url": "https://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue"
186426
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
186427
186427
  },
186428
186428
  "parameters": [
186429
186429
  {
@@ -186449,6 +186449,7 @@
186449
186449
  }
186450
186450
  ],
186451
186451
  "requestBody": {
186452
+ "required": true,
186452
186453
  "content": {
186453
186454
  "application/json": {
186454
186455
  "schema": {
@@ -186459,7 +186460,8 @@
186459
186460
  "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._",
186460
186461
  "items": { "type": "string" }
186461
186462
  }
186462
- }
186463
+ },
186464
+ "required": ["assignees"]
186463
186465
  },
186464
186466
  "examples": {
186465
186467
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -187890,6 +187892,9 @@
187890
187892
  "allow_auto_merge": { "type": "boolean" },
187891
187893
  "delete_branch_on_merge": { "type": "boolean" },
187892
187894
  "allow_update_branch": { "type": "boolean" },
187895
+ "use_squash_pr_title_as_default": {
187896
+ "type": "boolean"
187897
+ },
187893
187898
  "allow_merge_commit": { "type": "boolean" },
187894
187899
  "subscribers_count": { "type": "integer" },
187895
187900
  "network_count": { "type": "integer" }
@@ -187920,6 +187925,11 @@
187920
187925
  "type": "boolean",
187921
187926
  "example": false
187922
187927
  },
187928
+ "use_squash_pr_title_as_default": {
187929
+ "type": "boolean",
187930
+ "description": "Whether a squash merge commit can use the pull request title as default.",
187931
+ "default": false
187932
+ },
187923
187933
  "allow_merge_commit": {
187924
187934
  "description": "Whether to allow merge commits for pull requests.",
187925
187935
  "default": true,
@@ -308397,99 +308407,6 @@
308397
308407
  "x-octokit": {}
308398
308408
  }
308399
308409
  },
308400
- "/repos/{owner}/{repo}/community/code_of_conduct": {
308401
- "get": {
308402
- "summary": "Get the code of conduct for a repository",
308403
- "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
308404
- "tags": ["codes-of-conduct"],
308405
- "operationId": "codes-of-conduct/get-for-repo",
308406
- "externalDocs": {
308407
- "description": "API method documentation",
308408
- "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
308409
- },
308410
- "parameters": [
308411
- {
308412
- "name": "owner",
308413
- "in": "path",
308414
- "required": true,
308415
- "schema": { "type": "string" }
308416
- },
308417
- {
308418
- "name": "repo",
308419
- "in": "path",
308420
- "required": true,
308421
- "schema": { "type": "string" }
308422
- }
308423
- ],
308424
- "responses": {
308425
- "200": {
308426
- "description": "Response",
308427
- "content": {
308428
- "application/json": {
308429
- "schema": {
308430
- "title": "Code Of Conduct",
308431
- "description": "Code Of Conduct",
308432
- "type": "object",
308433
- "properties": {
308434
- "key": {
308435
- "type": "string",
308436
- "example": "contributor_covenant"
308437
- },
308438
- "name": {
308439
- "type": "string",
308440
- "example": "Contributor Covenant"
308441
- },
308442
- "url": {
308443
- "type": "string",
308444
- "format": "uri",
308445
- "example": "https://api.github.com/codes_of_conduct/contributor_covenant"
308446
- },
308447
- "body": {
308448
- "type": "string",
308449
- "example": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\n to any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\n posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [EMAIL]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n"
308450
- },
308451
- "html_url": {
308452
- "type": "string",
308453
- "format": "uri",
308454
- "nullable": true
308455
- }
308456
- },
308457
- "required": ["url", "html_url", "key", "name"]
308458
- },
308459
- "examples": {
308460
- "default": {
308461
- "value": {
308462
- "key": "contributor_covenant",
308463
- "name": "Contributor Covenant",
308464
- "url": "https://github.com/LindseyB/cosee/blob/master/CODE_OF_CONDUCT.md",
308465
- "body": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.\n\n## Our Standards\n\nExamples of behavior that contributes to creating a positive environment include:\n\n* Using welcoming and inclusive language\n* Being respectful of differing viewpoints and experiences\n* Gracefully accepting constructive criticism\n* Focusing on what is best for the community\n* Showing empathy towards other community members\n\nExamples of unacceptable behavior by participants include:\n\n* The use of sexualized language or imagery and unwelcome sexual attention or advances\n* Trolling, insulting/derogatory comments, and personal or political attacks\n* Public or private harassment\n* Publishing others' private information, such as a physical or electronic address, without explicit permission\n* Other conduct which could reasonably be considered inappropriate in a professional setting\n\n## Our Responsibilities\n\nProject maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response\nto any instances of unacceptable behavior.\n\nProject maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.\n\n## Scope\n\nThis Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address,\nposting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.\n\n## Enforcement\n\nInstances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at lindseyb@github.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.\n\nProject maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.\n\n## Attribution\n\nThis Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]\n\n[homepage]: http://contributor-covenant.org\n[version]: http://contributor-covenant.org/version/1/4/\n",
308466
- "html_url": "https://github.com/LindseyB/cosee/blob/master/CODE_OF_CONDUCT.md"
308467
- }
308468
- }
308469
- }
308470
- }
308471
- }
308472
- }
308473
- },
308474
- "x-github": {
308475
- "githubCloudOnly": false,
308476
- "enabledForGitHubApps": true,
308477
- "previews": [
308478
- {
308479
- "required": true,
308480
- "name": "scarlet-witch",
308481
- "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```"
308482
- }
308483
- ],
308484
- "category": "codes-of-conduct",
308485
- "subcategory": null,
308486
- "removalDate": "2021-09-29",
308487
- "deprecationDate": "2021-09-29"
308488
- },
308489
- "deprecated": true,
308490
- "x-octokit": {}
308491
- }
308492
- },
308493
308410
  "/applications/grants": {
308494
308411
  "get": {
308495
308412
  "summary": "List your grants",
@@ -309026,20 +308943,6 @@
309026
308943
  "responses": { "501": { "description": "Not Implemented" } }
309027
308944
  }
309028
308945
  },
309029
- "/orgs/{org_id}/codespaces": {
309030
- "get": {
309031
- "summary": "List codespaces for the organization",
309032
- "description": "This endpoint does not exist github.ae. It was added in api.github.com",
309033
- "tags": ["codespaces"],
309034
- "operationId": "codespaces/list-in-organization",
309035
- "externalDocs": {
309036
- "description": "API method documentation",
309037
- "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
309038
- },
309039
- "x-octokit": { "api.github.com": "removed" },
309040
- "responses": { "501": { "description": "Not Implemented" } }
309041
- }
309042
- },
309043
308946
  "/orgs/{org}/actions/cache/usage": {
309044
308947
  "get": {
309045
308948
  "summary": "Get GitHub Actions cache usage for an organization",
@@ -309328,6 +309231,20 @@
309328
309231
  "responses": { "501": { "description": "Not Implemented" } }
309329
309232
  }
309330
309233
  },
309234
+ "/orgs/{org}/codespaces": {
309235
+ "get": {
309236
+ "summary": "List codespaces for the organization",
309237
+ "description": "This endpoint does not exist github.ae. It was added in api.github.com",
309238
+ "tags": ["codespaces"],
309239
+ "operationId": "codespaces/list-in-organization",
309240
+ "externalDocs": {
309241
+ "description": "API method documentation",
309242
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
309243
+ },
309244
+ "x-octokit": { "api.github.com": "removed" },
309245
+ "responses": { "501": { "description": "Not Implemented" } }
309246
+ }
309247
+ },
309331
309248
  "/orgs/{org}/credential-authorizations": {
309332
309249
  "get": {
309333
309250
  "summary": "List SAML SSO authorizations for an organization",
@@ -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" },
@@ -6635,7 +6635,7 @@
6635
6635
  "selected_repository_ids": {
6636
6636
  "type": "array",
6637
6637
  "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/github-ae@latest/rest/reference/actions#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/github-ae@latest/rest/reference/actions#remove-selected-repository-from-an-organization-secret) endpoints.",
6638
- "items": { "type": "string" }
6638
+ "items": { "type": "integer" }
6639
6639
  }
6640
6640
  },
6641
6641
  "required": ["visibility"]
@@ -6646,7 +6646,7 @@
6646
6646
  "encrypted_value": "c2VjcmV0",
6647
6647
  "key_id": "012345678912345678",
6648
6648
  "visibility": "selected",
6649
- "selected_repository_ids": ["1296269", "1296280"]
6649
+ "selected_repository_ids": [1296269, 1296280]
6650
6650
  }
6651
6651
  }
6652
6652
  }
@@ -6671,7 +6671,9 @@
6671
6671
  "category": "actions",
6672
6672
  "subcategory": "secrets"
6673
6673
  },
6674
- "x-octokit": {}
6674
+ "x-octokit": {
6675
+ "diff": { "api.github.com.json": { "type": "changed" } }
6676
+ }
6675
6677
  },
6676
6678
  "delete": {
6677
6679
  "summary": "Delete an organization secret",
@@ -13728,7 +13730,9 @@
13728
13730
  "category": "repos",
13729
13731
  "subcategory": "autolinks"
13730
13732
  },
13731
- "x-octokit": {}
13733
+ "x-octokit": {
13734
+ "diff": { "api.github.com.json": { "type": "changed" } }
13735
+ }
13732
13736
  },
13733
13737
  "post": {
13734
13738
  "summary": "Create an autolink reference for a repository",
@@ -13756,7 +13760,7 @@
13756
13760
  },
13757
13761
  "url_template": {
13758
13762
  "type": "string",
13759
- "description": "The URL must contain <num> for the reference number."
13763
+ "description": "The URL must contain `<num>` for the reference number."
13760
13764
  }
13761
13765
  },
13762
13766
  "required": ["key_prefix", "url_template"]
@@ -13798,7 +13802,9 @@
13798
13802
  "category": "repos",
13799
13803
  "subcategory": "autolinks"
13800
13804
  },
13801
- "x-octokit": {}
13805
+ "x-octokit": {
13806
+ "diff": { "api.github.com.json": { "type": "changed" } }
13807
+ }
13802
13808
  }
13803
13809
  },
13804
13810
  "/repos/{owner}/{repo}/autolinks/{autolink_id}": {
@@ -13836,7 +13842,9 @@
13836
13842
  "category": "repos",
13837
13843
  "subcategory": "autolinks"
13838
13844
  },
13839
- "x-octokit": {}
13845
+ "x-octokit": {
13846
+ "diff": { "api.github.com.json": { "type": "changed" } }
13847
+ }
13840
13848
  },
13841
13849
  "delete": {
13842
13850
  "summary": "Delete an autolink reference from a repository",
@@ -19705,7 +19713,7 @@
19705
19713
  }
19706
19714
  },
19707
19715
  "deployment_branch_policy": {
19708
- "$ref": "#/components/schemas/deployment_branch_policy"
19716
+ "$ref": "#/components/schemas/deployment-branch-policy"
19709
19717
  }
19710
19718
  },
19711
19719
  "additionalProperties": false
@@ -22470,7 +22478,7 @@
22470
22478
  "operationId": "issues/remove-assignees",
22471
22479
  "externalDocs": {
22472
22480
  "description": "API method documentation",
22473
- "url": "https://docs.github.com/github-ae@latest/rest/reference/issues#remove-assignees-from-an-issue"
22481
+ "url": "https://docs.github.com/rest/reference/issues#remove-assignees-from-an-issue"
22474
22482
  },
22475
22483
  "parameters": [
22476
22484
  { "$ref": "#/components/parameters/owner" },
@@ -22478,6 +22486,7 @@
22478
22486
  { "$ref": "#/components/parameters/issue-number" }
22479
22487
  ],
22480
22488
  "requestBody": {
22489
+ "required": true,
22481
22490
  "content": {
22482
22491
  "application/json": {
22483
22492
  "schema": {
@@ -22488,7 +22497,8 @@
22488
22497
  "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._",
22489
22498
  "items": { "type": "string" }
22490
22499
  }
22491
- }
22500
+ },
22501
+ "required": ["assignees"]
22492
22502
  },
22493
22503
  "examples": {
22494
22504
  "default": { "value": { "assignees": ["hubot", "other_user"] } }
@@ -34124,52 +34134,6 @@
34124
34134
  "x-octokit": {}
34125
34135
  }
34126
34136
  },
34127
- "/repos/{owner}/{repo}/community/code_of_conduct": {
34128
- "get": {
34129
- "summary": "Get the code of conduct for a repository",
34130
- "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
34131
- "tags": ["codes-of-conduct"],
34132
- "operationId": "codes-of-conduct/get-for-repo",
34133
- "externalDocs": {
34134
- "description": "API method documentation",
34135
- "url": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository"
34136
- },
34137
- "parameters": [
34138
- { "$ref": "#/components/parameters/owner" },
34139
- { "$ref": "#/components/parameters/repo" }
34140
- ],
34141
- "responses": {
34142
- "200": {
34143
- "description": "Response",
34144
- "content": {
34145
- "application/json": {
34146
- "schema": { "$ref": "#/components/schemas/code-of-conduct" },
34147
- "examples": {
34148
- "default": { "$ref": "#/components/examples/code-of-conduct" }
34149
- }
34150
- }
34151
- }
34152
- }
34153
- },
34154
- "x-github": {
34155
- "githubCloudOnly": false,
34156
- "enabledForGitHubApps": true,
34157
- "previews": [
34158
- {
34159
- "required": true,
34160
- "name": "scarlet-witch",
34161
- "note": "The Codes of Conduct API is currently available for developers to preview.\n\nTo access the API during the preview period, you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.scarlet-witch-preview+json\n```"
34162
- }
34163
- ],
34164
- "category": "codes-of-conduct",
34165
- "subcategory": null,
34166
- "removalDate": "2021-09-29",
34167
- "deprecationDate": "2021-09-29"
34168
- },
34169
- "deprecated": true,
34170
- "x-octokit": {}
34171
- }
34172
- },
34173
34137
  "/applications/grants": {
34174
34138
  "get": {
34175
34139
  "summary": "List your grants",
@@ -34706,20 +34670,6 @@
34706
34670
  "responses": { "501": { "description": "Not Implemented" } }
34707
34671
  }
34708
34672
  },
34709
- "/orgs/{org_id}/codespaces": {
34710
- "get": {
34711
- "summary": "List codespaces for the organization",
34712
- "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34713
- "tags": ["codespaces"],
34714
- "operationId": "codespaces/list-in-organization",
34715
- "externalDocs": {
34716
- "description": "API method documentation",
34717
- "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
34718
- },
34719
- "x-octokit": { "api.github.com.json": "removed" },
34720
- "responses": { "501": { "description": "Not Implemented" } }
34721
- }
34722
- },
34723
34673
  "/orgs/{org}/actions/cache/usage": {
34724
34674
  "get": {
34725
34675
  "summary": "Get GitHub Actions cache usage for an organization",
@@ -35008,6 +34958,20 @@
35008
34958
  "responses": { "501": { "description": "Not Implemented" } }
35009
34959
  }
35010
34960
  },
34961
+ "/orgs/{org}/codespaces": {
34962
+ "get": {
34963
+ "summary": "List codespaces for the organization",
34964
+ "description": "This endpoint does not exist github.ae.json. It was added in api.github.com.json",
34965
+ "tags": ["codespaces"],
34966
+ "operationId": "codespaces/list-in-organization",
34967
+ "externalDocs": {
34968
+ "description": "API method documentation",
34969
+ "url": "https://docs.github.com/rest/reference/codespaces#list-in-organization"
34970
+ },
34971
+ "x-octokit": { "api.github.com.json": "removed" },
34972
+ "responses": { "501": { "description": "Not Implemented" } }
34973
+ }
34974
+ },
35011
34975
  "/orgs/{org}/credential-authorizations": {
35012
34976
  "get": {
35013
34977
  "summary": "List SAML SSO authorizations for an organization",
@@ -40357,7 +40321,7 @@
40357
40321
  "truncated": { "type": "boolean" }
40358
40322
  }
40359
40323
  },
40360
- "author_association": {
40324
+ "author-association": {
40361
40325
  "title": "author_association",
40362
40326
  "type": "string",
40363
40327
  "example": "OWNER",
@@ -40406,7 +40370,7 @@
40406
40370
  "example": "2011-04-18T23:23:56Z"
40407
40371
  },
40408
40372
  "author_association": {
40409
- "$ref": "#/components/schemas/author_association"
40373
+ "$ref": "#/components/schemas/author-association"
40410
40374
  }
40411
40375
  },
40412
40376
  "required": [
@@ -40814,7 +40778,7 @@
40814
40778
  "$ref": "#/components/schemas/nullable-integration"
40815
40779
  },
40816
40780
  "author_association": {
40817
- "$ref": "#/components/schemas/author_association"
40781
+ "$ref": "#/components/schemas/author-association"
40818
40782
  },
40819
40783
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
40820
40784
  },
@@ -44442,7 +44406,7 @@
44442
44406
  },
44443
44407
  "required": ["enabled"]
44444
44408
  },
44445
- "referenced_workflow": {
44409
+ "referenced-workflow": {
44446
44410
  "title": "Referenced workflow",
44447
44411
  "description": "A workflow referenced/reused by the initial caller workflow",
44448
44412
  "type": "object",
@@ -44590,7 +44554,7 @@
44590
44554
  "referenced_workflows": {
44591
44555
  "type": "array",
44592
44556
  "nullable": true,
44593
- "items": { "$ref": "#/components/schemas/referenced_workflow" }
44557
+ "items": { "$ref": "#/components/schemas/referenced-workflow" }
44594
44558
  },
44595
44559
  "event": { "type": "string", "example": "push" },
44596
44560
  "status": {
@@ -46824,7 +46788,7 @@
46824
46788
  "created_at": { "type": "string", "format": "date-time" },
46825
46789
  "updated_at": { "type": "string", "format": "date-time" },
46826
46790
  "author_association": {
46827
- "$ref": "#/components/schemas/author_association"
46791
+ "$ref": "#/components/schemas/author-association"
46828
46792
  },
46829
46793
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
46830
46794
  },
@@ -46869,7 +46833,7 @@
46869
46833
  "properties": { "href": { "type": "string" } },
46870
46834
  "required": ["href"]
46871
46835
  },
46872
- "auto_merge": {
46836
+ "auto-merge": {
46873
46837
  "title": "Auto merge",
46874
46838
  "description": "The status of auto merging a pull request.",
46875
46839
  "type": "object",
@@ -47085,9 +47049,9 @@
47085
47049
  ]
47086
47050
  },
47087
47051
  "author_association": {
47088
- "$ref": "#/components/schemas/author_association"
47052
+ "$ref": "#/components/schemas/author-association"
47089
47053
  },
47090
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
47054
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
47091
47055
  "draft": {
47092
47056
  "description": "Indicates whether or not the pull request is a draft.",
47093
47057
  "example": false,
@@ -47886,7 +47850,7 @@
47886
47850
  "enum": ["User", "Team"],
47887
47851
  "example": "User"
47888
47852
  },
47889
- "deployment_branch_policy": {
47853
+ "deployment-branch-policy": {
47890
47854
  "type": "object",
47891
47855
  "description": "The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.",
47892
47856
  "properties": {
@@ -48007,7 +47971,7 @@
48007
47971
  }
48008
47972
  },
48009
47973
  "deployment_branch_policy": {
48010
- "$ref": "#/components/schemas/deployment_branch_policy"
47974
+ "$ref": "#/components/schemas/deployment-branch-policy"
48011
47975
  }
48012
47976
  },
48013
47977
  "required": [
@@ -48072,7 +48036,7 @@
48072
48036
  },
48073
48037
  "issue_url": { "type": "string", "format": "uri" },
48074
48038
  "author_association": {
48075
- "$ref": "#/components/schemas/author_association"
48039
+ "$ref": "#/components/schemas/author-association"
48076
48040
  },
48077
48041
  "performed_via_github_app": {
48078
48042
  "$ref": "#/components/schemas/nullable-integration"
@@ -48652,7 +48616,7 @@
48652
48616
  "$ref": "#/components/schemas/nullable-integration"
48653
48617
  },
48654
48618
  "author_association": {
48655
- "$ref": "#/components/schemas/author_association"
48619
+ "$ref": "#/components/schemas/author-association"
48656
48620
  },
48657
48621
  "reactions": { "$ref": "#/components/schemas/reaction-rollup" }
48658
48622
  },
@@ -48782,7 +48746,7 @@
48782
48746
  },
48783
48747
  "rename": { "$ref": "#/components/schemas/issue-event-rename" },
48784
48748
  "author_association": {
48785
- "$ref": "#/components/schemas/author_association"
48749
+ "$ref": "#/components/schemas/author-association"
48786
48750
  },
48787
48751
  "lock_reason": { "type": "string", "nullable": true },
48788
48752
  "performed_via_github_app": {
@@ -49485,7 +49449,7 @@
49485
49449
  },
49486
49450
  "issue_url": { "type": "string", "format": "uri" },
49487
49451
  "author_association": {
49488
- "$ref": "#/components/schemas/author_association"
49452
+ "$ref": "#/components/schemas/author-association"
49489
49453
  },
49490
49454
  "performed_via_github_app": {
49491
49455
  "$ref": "#/components/schemas/nullable-integration"
@@ -49700,7 +49664,7 @@
49700
49664
  "body_html": { "type": "string" },
49701
49665
  "body_text": { "type": "string" },
49702
49666
  "author_association": {
49703
- "$ref": "#/components/schemas/author_association"
49667
+ "$ref": "#/components/schemas/author-association"
49704
49668
  }
49705
49669
  },
49706
49670
  "required": [
@@ -49807,7 +49771,7 @@
49807
49771
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
49808
49772
  },
49809
49773
  "author_association": {
49810
- "$ref": "#/components/schemas/author_association"
49774
+ "$ref": "#/components/schemas/author-association"
49811
49775
  },
49812
49776
  "_links": {
49813
49777
  "type": "object",
@@ -51250,9 +51214,9 @@
51250
51214
  ]
51251
51215
  },
51252
51216
  "author_association": {
51253
- "$ref": "#/components/schemas/author_association"
51217
+ "$ref": "#/components/schemas/author-association"
51254
51218
  },
51255
- "auto_merge": { "$ref": "#/components/schemas/auto_merge" },
51219
+ "auto_merge": { "$ref": "#/components/schemas/auto-merge" },
51256
51220
  "draft": {
51257
51221
  "description": "Indicates whether or not the pull request is a draft.",
51258
51222
  "example": false,
@@ -51407,7 +51371,7 @@
51407
51371
  "body_html": { "type": "string" },
51408
51372
  "body_text": { "type": "string" },
51409
51373
  "author_association": {
51410
- "$ref": "#/components/schemas/author_association"
51374
+ "$ref": "#/components/schemas/author-association"
51411
51375
  }
51412
51376
  },
51413
51377
  "required": [
@@ -51482,7 +51446,7 @@
51482
51446
  "example": "https://api.github.com/repos/octocat/Hello-World/pulls/1"
51483
51447
  },
51484
51448
  "author_association": {
51485
- "$ref": "#/components/schemas/author_association"
51449
+ "$ref": "#/components/schemas/author-association"
51486
51450
  },
51487
51451
  "_links": {
51488
51452
  "type": "object",
@@ -52174,7 +52138,7 @@
52174
52138
  "body": { "type": "string" },
52175
52139
  "score": { "type": "number" },
52176
52140
  "author_association": {
52177
- "$ref": "#/components/schemas/author_association"
52141
+ "$ref": "#/components/schemas/author-association"
52178
52142
  },
52179
52143
  "draft": { "type": "boolean" },
52180
52144
  "repository": { "$ref": "#/components/schemas/repository" },