@octokit/openapi 7.12.1 → 7.13.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 (34) hide show
  1. package/generated/api.github.com.deref.json +713 -6
  2. package/generated/api.github.com.json +283 -4
  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 +2 -2
  6. package/generated/ghes-3.2-diff-to-ghes-3.3.json +2 -2
  7. package/generated/ghes-3.2.deref.json +6 -6
  8. package/generated/ghes-3.2.json +4 -4
  9. package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
  10. package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
  11. package/generated/ghes-3.3.deref.json +6 -6
  12. package/generated/ghes-3.3.json +4 -4
  13. package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +1 -1
  14. package/generated/ghes-3.4-diff-to-ghes-3.5.json +1 -1
  15. package/generated/ghes-3.4.deref.json +6 -6
  16. package/generated/ghes-3.4.json +4 -4
  17. package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
  18. package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
  19. package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
  20. package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +2 -2
  21. package/generated/ghes-3.5-diff-to-ghes-3.6.json +2 -2
  22. package/generated/ghes-3.5.deref.json +112 -6
  23. package/generated/ghes-3.5.json +110 -4
  24. package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
  25. package/generated/ghes-3.6-diff-to-api.github.com.deref.json +1 -1
  26. package/generated/ghes-3.6-diff-to-api.github.com.json +1 -1
  27. package/generated/ghes-3.6.deref.json +761 -112
  28. package/generated/ghes-3.6.json +527 -110
  29. package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
  30. package/generated/github.ae-diff-to-api.github.com.deref.json +2 -2
  31. package/generated/github.ae-diff-to-api.github.com.json +2 -2
  32. package/generated/github.ae.deref.json +50 -6
  33. package/generated/github.ae.json +48 -4
  34. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -28404,6 +28404,133 @@
28404
28404
  "x-octokit": {}
28405
28405
  }
28406
28406
  },
28407
+ "/repos/{owner}/{repo}/code-scanning/codeql/databases": {
28408
+ "get": {
28409
+ "summary": "List CodeQL databases for a repository",
28410
+ "description": "Lists the CodeQL databases that are available in a repository.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.",
28411
+ "tags": [
28412
+ "code-scanning"
28413
+ ],
28414
+ "operationId": "code-scanning/list-codeql-databases",
28415
+ "externalDocs": {
28416
+ "description": "API method documentation",
28417
+ "url": "https://docs.github.com/rest/reference/code-scanning#list-codeql-databases"
28418
+ },
28419
+ "parameters": [
28420
+ {
28421
+ "$ref": "#/components/parameters/owner"
28422
+ },
28423
+ {
28424
+ "$ref": "#/components/parameters/repo"
28425
+ }
28426
+ ],
28427
+ "responses": {
28428
+ "200": {
28429
+ "description": "Response",
28430
+ "content": {
28431
+ "application/json": {
28432
+ "schema": {
28433
+ "type": "array",
28434
+ "items": {
28435
+ "$ref": "#/components/schemas/code-scanning-codeql-database"
28436
+ }
28437
+ },
28438
+ "examples": {
28439
+ "default": {
28440
+ "$ref": "#/components/examples/code-scanning-codeql-databases"
28441
+ }
28442
+ }
28443
+ }
28444
+ }
28445
+ },
28446
+ "403": {
28447
+ "$ref": "#/components/responses/code_scanning_forbidden_read"
28448
+ },
28449
+ "404": {
28450
+ "$ref": "#/components/responses/not_found"
28451
+ },
28452
+ "503": {
28453
+ "$ref": "#/components/responses/service_unavailable"
28454
+ }
28455
+ },
28456
+ "x-github": {
28457
+ "githubCloudOnly": true,
28458
+ "enabledForGitHubApps": true,
28459
+ "previews": [],
28460
+ "category": "code-scanning",
28461
+ "subcategory": null
28462
+ },
28463
+ "x-octokit": {}
28464
+ }
28465
+ },
28466
+ "/repos/{owner}/{repo}/code-scanning/codeql/databases/{language}": {
28467
+ "get": {
28468
+ "summary": "Get a CodeQL database for a repository",
28469
+ "description": "Gets a CodeQL database for a language in a repository.\n\nBy default this endpoint returns JSON metadata about the CodeQL database. To\ndownload the CodeQL database binary content, set the `Accept` header of the request\nto [`application/zip`](https://docs.github.com/rest/overview/media-types), and make sure\nyour HTTP client is configured to follow redirects or use the `Location` header\nto make a second request to get the redirect URL.\n\nFor private repositories, you must use an access token with the `security_events` scope.\nFor public repositories, you can use tokens with the `security_events` or `public_repo` scope.\nGitHub Apps must have the `contents` read permission to use this endpoint.",
28470
+ "tags": [
28471
+ "code-scanning"
28472
+ ],
28473
+ "operationId": "code-scanning/get-codeql-database",
28474
+ "externalDocs": {
28475
+ "description": "API method documentation",
28476
+ "url": "https://docs.github.com/rest/reference/code-scanning#get-codeql-database"
28477
+ },
28478
+ "parameters": [
28479
+ {
28480
+ "$ref": "#/components/parameters/owner"
28481
+ },
28482
+ {
28483
+ "$ref": "#/components/parameters/repo"
28484
+ },
28485
+ {
28486
+ "name": "language",
28487
+ "in": "path",
28488
+ "description": "The language of the CodeQL database.",
28489
+ "schema": {
28490
+ "type": "string"
28491
+ },
28492
+ "required": true
28493
+ }
28494
+ ],
28495
+ "responses": {
28496
+ "200": {
28497
+ "description": "Response",
28498
+ "content": {
28499
+ "application/json": {
28500
+ "schema": {
28501
+ "$ref": "#/components/schemas/code-scanning-codeql-database"
28502
+ },
28503
+ "examples": {
28504
+ "default": {
28505
+ "$ref": "#/components/examples/code-scanning-codeql-database"
28506
+ }
28507
+ }
28508
+ }
28509
+ }
28510
+ },
28511
+ "302": {
28512
+ "$ref": "#/components/responses/found"
28513
+ },
28514
+ "403": {
28515
+ "$ref": "#/components/responses/code_scanning_forbidden_read"
28516
+ },
28517
+ "404": {
28518
+ "$ref": "#/components/responses/not_found"
28519
+ },
28520
+ "503": {
28521
+ "$ref": "#/components/responses/service_unavailable"
28522
+ }
28523
+ },
28524
+ "x-github": {
28525
+ "githubCloudOnly": true,
28526
+ "enabledForGitHubApps": true,
28527
+ "previews": [],
28528
+ "category": "code-scanning",
28529
+ "subcategory": null
28530
+ },
28531
+ "x-octokit": {}
28532
+ }
28533
+ },
28407
28534
  "/repos/{owner}/{repo}/code-scanning/sarifs": {
28408
28535
  "post": {
28409
28536
  "summary": "Upload an analysis as SARIF data",
@@ -31182,7 +31309,7 @@
31182
31309
  },
31183
31310
  "put": {
31184
31311
  "summary": "Create or update file contents",
31185
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
31312
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
31186
31313
  "tags": [
31187
31314
  "repos"
31188
31315
  ],
@@ -31361,7 +31488,7 @@
31361
31488
  },
31362
31489
  "delete": {
31363
31490
  "summary": "Delete a file",
31364
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
31491
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
31365
31492
  "tags": [
31366
31493
  "repos"
31367
31494
  ],
@@ -75667,6 +75794,62 @@
75667
75794
  "confirm_delete_url"
75668
75795
  ]
75669
75796
  },
75797
+ "code-scanning-codeql-database": {
75798
+ "title": "CodeQL Database",
75799
+ "description": "A CodeQL database.",
75800
+ "type": "object",
75801
+ "properties": {
75802
+ "id": {
75803
+ "type": "integer",
75804
+ "description": "The ID of the CodeQL database."
75805
+ },
75806
+ "name": {
75807
+ "type": "string",
75808
+ "description": "The name of the CodeQL database."
75809
+ },
75810
+ "language": {
75811
+ "type": "string",
75812
+ "description": "The language of the CodeQL database."
75813
+ },
75814
+ "uploader": {
75815
+ "$ref": "#/components/schemas/simple-user"
75816
+ },
75817
+ "content_type": {
75818
+ "type": "string",
75819
+ "description": "The MIME type of the CodeQL database file."
75820
+ },
75821
+ "size": {
75822
+ "type": "integer",
75823
+ "description": "The size of the CodeQL database file in bytes."
75824
+ },
75825
+ "created_at": {
75826
+ "type": "string",
75827
+ "format": "date-time",
75828
+ "description": "The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
75829
+ },
75830
+ "updated_at": {
75831
+ "type": "string",
75832
+ "format": "date-time",
75833
+ "description": "The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
75834
+ },
75835
+ "url": {
75836
+ "type": "string",
75837
+ "format": "uri",
75838
+ "description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
75839
+ }
75840
+ },
75841
+ "required": [
75842
+ "id",
75843
+ "name",
75844
+ "language",
75845
+ "uploader",
75846
+ "content_type",
75847
+ "size",
75848
+ "created_at",
75849
+ "updated_at",
75850
+ "url"
75851
+ ]
75852
+ },
75670
75853
  "code-scanning-analysis-sarif-file": {
75671
75854
  "description": "A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see \"[SARIF support for code scanning](https://docs.github.com/code-security/secure-coding/sarif-support-for-code-scanning).\"",
75672
75855
  "type": "string"
@@ -100501,6 +100684,102 @@
100501
100684
  "confirm_delete_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete"
100502
100685
  }
100503
100686
  },
100687
+ "code-scanning-codeql-databases": {
100688
+ "value": [
100689
+ {
100690
+ "id": 1,
100691
+ "name": "database.zip",
100692
+ "language": "java",
100693
+ "uploader": {
100694
+ "login": "octocat",
100695
+ "id": 1,
100696
+ "node_id": "MDQ6VXNlcjE=",
100697
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
100698
+ "gravatar_id": "",
100699
+ "url": "https://api.github.com/users/octocat",
100700
+ "html_url": "https://github.com/octocat",
100701
+ "followers_url": "https://api.github.com/users/octocat/followers",
100702
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
100703
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
100704
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
100705
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
100706
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
100707
+ "repos_url": "https://api.github.com/users/octocat/repos",
100708
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
100709
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
100710
+ "type": "User",
100711
+ "site_admin": false
100712
+ },
100713
+ "content_type": "application/zip",
100714
+ "size": 1024,
100715
+ "created_at": "2022-09-12T12:14:32Z",
100716
+ "updated_at": "2022-09-12T12:14:32Z",
100717
+ "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
100718
+ },
100719
+ {
100720
+ "id": 2,
100721
+ "name": "database.zip",
100722
+ "language": "ruby",
100723
+ "uploader": {
100724
+ "login": "octocat",
100725
+ "id": 1,
100726
+ "node_id": "MDQ6VXNlcjE=",
100727
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
100728
+ "gravatar_id": "",
100729
+ "url": "https://api.github.com/users/octocat",
100730
+ "html_url": "https://github.com/octocat",
100731
+ "followers_url": "https://api.github.com/users/octocat/followers",
100732
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
100733
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
100734
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
100735
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
100736
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
100737
+ "repos_url": "https://api.github.com/users/octocat/repos",
100738
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
100739
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
100740
+ "type": "User",
100741
+ "site_admin": false
100742
+ },
100743
+ "content_type": "application/zip",
100744
+ "size": 1024,
100745
+ "created_at": "2022-09-12T12:14:32Z",
100746
+ "updated_at": "2022-09-12T12:14:32Z",
100747
+ "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby"
100748
+ }
100749
+ ]
100750
+ },
100751
+ "code-scanning-codeql-database": {
100752
+ "value": {
100753
+ "id": 1,
100754
+ "name": "database.zip",
100755
+ "language": "java",
100756
+ "uploader": {
100757
+ "login": "octocat",
100758
+ "id": 1,
100759
+ "node_id": "MDQ6VXNlcjE=",
100760
+ "avatar_url": "https://github.com/images/error/octocat_happy.gif",
100761
+ "gravatar_id": "",
100762
+ "url": "https://api.github.com/users/octocat",
100763
+ "html_url": "https://github.com/octocat",
100764
+ "followers_url": "https://api.github.com/users/octocat/followers",
100765
+ "following_url": "https://api.github.com/users/octocat/following{/other_user}",
100766
+ "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
100767
+ "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
100768
+ "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
100769
+ "organizations_url": "https://api.github.com/users/octocat/orgs",
100770
+ "repos_url": "https://api.github.com/users/octocat/repos",
100771
+ "events_url": "https://api.github.com/users/octocat/events{/privacy}",
100772
+ "received_events_url": "https://api.github.com/users/octocat/received_events",
100773
+ "type": "User",
100774
+ "site_admin": false
100775
+ },
100776
+ "content_type": "application/zip",
100777
+ "size": 1024,
100778
+ "created_at": "2022-09-12T12:14:32Z",
100779
+ "updated_at": "2022-09-12T12:14:32Z",
100780
+ "url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
100781
+ }
100782
+ },
100504
100783
  "code-scanning-sarif-upload": {
100505
100784
  "summary": "Default response",
100506
100785
  "value": {
@@ -112915,7 +113194,7 @@
112915
113194
  }
112916
113195
  },
112917
113196
  "code_scanning_forbidden_write": {
112918
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
113197
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
112919
113198
  "content": {
112920
113199
  "application/json": {
112921
113200
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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.12.1",
4
+ "version": "7.13.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.12.1",
4
+ "version": "7.13.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": {
@@ -76750,7 +76750,7 @@
76750
76750
  }
76751
76751
  },
76752
76752
  "403": {
76753
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
76753
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
76754
76754
  "content": {
76755
76755
  "application/json": {
76756
76756
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -26174,7 +26174,7 @@
26174
26174
  }
26175
26175
  },
26176
26176
  "code_scanning_forbidden_write": {
26177
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
26177
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
26178
26178
  "content": {
26179
26179
  "application/json": {
26180
26180
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -169097,7 +169097,7 @@
169097
169097
  }
169098
169098
  },
169099
169099
  "403": {
169100
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
169100
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
169101
169101
  "content": {
169102
169102
  "application/json": {
169103
169103
  "schema": {
@@ -170314,7 +170314,7 @@
170314
170314
  }
170315
170315
  },
170316
170316
  "403": {
170317
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
170317
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
170318
170318
  "content": {
170319
170319
  "application/json": {
170320
170320
  "schema": {
@@ -170520,7 +170520,7 @@
170520
170520
  "description": "Bad Request if the sarif field is invalid"
170521
170521
  },
170522
170522
  "403": {
170523
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
170523
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
170524
170524
  "content": {
170525
170525
  "application/json": {
170526
170526
  "schema": {
@@ -192095,7 +192095,7 @@
192095
192095
  },
192096
192096
  "put": {
192097
192097
  "summary": "Create or update file contents",
192098
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
192098
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
192099
192099
  "tags": [
192100
192100
  "repos"
192101
192101
  ],
@@ -192800,7 +192800,7 @@
192800
192800
  },
192801
192801
  "delete": {
192802
192802
  "summary": "Delete a file",
192803
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
192803
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
192804
192804
  "tags": [
192805
192805
  "repos"
192806
192806
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -27447,7 +27447,7 @@
27447
27447
  },
27448
27448
  "put": {
27449
27449
  "summary": "Create or update file contents",
27450
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
27450
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
27451
27451
  "tags": [
27452
27452
  "repos"
27453
27453
  ],
@@ -27626,7 +27626,7 @@
27626
27626
  },
27627
27627
  "delete": {
27628
27628
  "summary": "Delete a file",
27629
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
27629
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.2/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
27630
27630
  "tags": [
27631
27631
  "repos"
27632
27632
  ],
@@ -96054,7 +96054,7 @@
96054
96054
  }
96055
96055
  },
96056
96056
  "code_scanning_forbidden_write": {
96057
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
96057
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
96058
96058
  "content": {
96059
96059
  "application/json": {
96060
96060
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -34403,7 +34403,7 @@
34403
34403
  }
34404
34404
  },
34405
34405
  "403": {
34406
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
34406
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
34407
34407
  "content": {
34408
34408
  "application/json": {
34409
34409
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -11511,7 +11511,7 @@
11511
11511
  }
11512
11512
  },
11513
11513
  "code_scanning_forbidden_write": {
11514
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
11514
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
11515
11515
  "content": {
11516
11516
  "application/json": {
11517
11517
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -170970,7 +170970,7 @@
170970
170970
  }
170971
170971
  },
170972
170972
  "403": {
170973
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
170973
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
170974
170974
  "content": {
170975
170975
  "application/json": {
170976
170976
  "schema": {
@@ -172169,7 +172169,7 @@
172169
172169
  }
172170
172170
  },
172171
172171
  "403": {
172172
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
172172
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
172173
172173
  "content": {
172174
172174
  "application/json": {
172175
172175
  "schema": {
@@ -172375,7 +172375,7 @@
172375
172375
  "description": "Bad Request if the sarif field is invalid"
172376
172376
  },
172377
172377
  "403": {
172378
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
172378
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
172379
172379
  "content": {
172380
172380
  "application/json": {
172381
172381
  "schema": {
@@ -193910,7 +193910,7 @@
193910
193910
  },
193911
193911
  "put": {
193912
193912
  "summary": "Create or update file contents",
193913
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
193913
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.3/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
193914
193914
  "tags": [
193915
193915
  "repos"
193916
193916
  ],
@@ -194615,7 +194615,7 @@
194615
194615
  },
194616
194616
  "delete": {
194617
194617
  "summary": "Delete a file",
194618
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
194618
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.3/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
194619
194619
  "tags": [
194620
194620
  "repos"
194621
194621
  ],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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": {
@@ -27320,7 +27320,7 @@
27320
27320
  },
27321
27321
  "put": {
27322
27322
  "summary": "Create or update file contents",
27323
- "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.",
27323
+ "description": "Creates a new file or replaces an existing file in a repository. You must authenticate using an access token with the `workflow` scope to use this endpoint.\n\n**Note:** If you use this endpoint and the \"[Delete a file](https://docs.github.com/enterprise-server@3.3/rest/reference/repos/#delete-file)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
27324
27324
  "tags": [
27325
27325
  "repos"
27326
27326
  ],
@@ -27499,7 +27499,7 @@
27499
27499
  },
27500
27500
  "delete": {
27501
27501
  "summary": "Delete a file",
27502
- "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.",
27502
+ "description": "Deletes a file in a repository.\n\nYou can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.\n\nThe `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.\n\nYou must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.\n\n**Note:** If you use this endpoint and the \"[Create or update file contents](https://docs.github.com/enterprise-server@3.3/rest/reference/repos/#create-or-update-file-contents)\" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.",
27503
27503
  "tags": [
27504
27504
  "repos"
27505
27505
  ],
@@ -96818,7 +96818,7 @@
96818
96818
  }
96819
96819
  },
96820
96820
  "code_scanning_forbidden_write": {
96821
- "description": "Response if the repository is archived or if github advanced security is not enabled for this repository",
96821
+ "description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
96822
96822
  "content": {
96823
96823
  "application/json": {
96824
96824
  "schema": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "7.12.1",
4
+ "version": "7.13.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.12.1",
4
+ "version": "7.13.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": {