@octokit/openapi 7.12.1 → 7.14.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.
- package/generated/api.github.com.deref.json +739 -6
- package/generated/api.github.com.json +290 -4
- package/generated/ghes-3.2-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.2-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.2-diff-to-ghes-3.3.deref.json +5 -2
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +3 -2
- package/generated/ghes-3.2.deref.json +9 -6
- package/generated/ghes-3.2.json +5 -4
- package/generated/ghes-3.3-diff-to-ghes-3.4.deref.json +2 -2
- package/generated/ghes-3.3-diff-to-ghes-3.4.json +2 -2
- package/generated/ghes-3.3.deref.json +9 -6
- package/generated/ghes-3.3.json +5 -4
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +4 -1
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +2 -1
- package/generated/ghes-3.4.deref.json +9 -6
- package/generated/ghes-3.4.json +5 -4
- package/generated/ghes-3.5-anicca-diff-to-ghes-3.6.deref.json +11 -0
- package/generated/ghes-3.5-diff-to-api.github.com.deref.json +1 -1
- package/generated/ghes-3.5-diff-to-api.github.com.json +1 -1
- package/generated/ghes-3.5-diff-to-ghes-3.6.deref.json +6 -2
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +3 -2
- package/generated/ghes-3.5.deref.json +116 -6
- package/generated/ghes-3.5.json +111 -4
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +106 -11
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +8888 -1
- package/generated/ghes-3.6-diff-to-api.github.com.json +376 -1
- package/generated/ghes-3.6.deref.json +779 -116
- package/generated/ghes-3.6.json +542 -113
- package/generated/github.ae-anicca-diff-to-api.github.com.deref.json +6 -0
- package/generated/github.ae-diff-to-api.github.com.deref.json +28 -2
- package/generated/github.ae-diff-to-api.github.com.json +9 -2
- package/generated/github.ae.deref.json +76 -6
- package/generated/github.ae.json +55 -4
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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
|
],
|
|
@@ -73100,6 +73227,11 @@
|
|
|
73100
73227
|
"head_repository_id": {
|
|
73101
73228
|
"type": "integer",
|
|
73102
73229
|
"example": 5
|
|
73230
|
+
},
|
|
73231
|
+
"display_title": {
|
|
73232
|
+
"type": "string",
|
|
73233
|
+
"example": "Simple Workflow",
|
|
73234
|
+
"description": "The event-specific title associated with the run or the run-name if set, or the value of `run-name` if it is set in the workflow."
|
|
73103
73235
|
}
|
|
73104
73236
|
},
|
|
73105
73237
|
"required": [
|
|
@@ -73107,6 +73239,7 @@
|
|
|
73107
73239
|
"node_id",
|
|
73108
73240
|
"head_branch",
|
|
73109
73241
|
"run_number",
|
|
73242
|
+
"display_title",
|
|
73110
73243
|
"event",
|
|
73111
73244
|
"status",
|
|
73112
73245
|
"conclusion",
|
|
@@ -75667,6 +75800,62 @@
|
|
|
75667
75800
|
"confirm_delete_url"
|
|
75668
75801
|
]
|
|
75669
75802
|
},
|
|
75803
|
+
"code-scanning-codeql-database": {
|
|
75804
|
+
"title": "CodeQL Database",
|
|
75805
|
+
"description": "A CodeQL database.",
|
|
75806
|
+
"type": "object",
|
|
75807
|
+
"properties": {
|
|
75808
|
+
"id": {
|
|
75809
|
+
"type": "integer",
|
|
75810
|
+
"description": "The ID of the CodeQL database."
|
|
75811
|
+
},
|
|
75812
|
+
"name": {
|
|
75813
|
+
"type": "string",
|
|
75814
|
+
"description": "The name of the CodeQL database."
|
|
75815
|
+
},
|
|
75816
|
+
"language": {
|
|
75817
|
+
"type": "string",
|
|
75818
|
+
"description": "The language of the CodeQL database."
|
|
75819
|
+
},
|
|
75820
|
+
"uploader": {
|
|
75821
|
+
"$ref": "#/components/schemas/simple-user"
|
|
75822
|
+
},
|
|
75823
|
+
"content_type": {
|
|
75824
|
+
"type": "string",
|
|
75825
|
+
"description": "The MIME type of the CodeQL database file."
|
|
75826
|
+
},
|
|
75827
|
+
"size": {
|
|
75828
|
+
"type": "integer",
|
|
75829
|
+
"description": "The size of the CodeQL database file in bytes."
|
|
75830
|
+
},
|
|
75831
|
+
"created_at": {
|
|
75832
|
+
"type": "string",
|
|
75833
|
+
"format": "date-time",
|
|
75834
|
+
"description": "The date and time at which the CodeQL database was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
75835
|
+
},
|
|
75836
|
+
"updated_at": {
|
|
75837
|
+
"type": "string",
|
|
75838
|
+
"format": "date-time",
|
|
75839
|
+
"description": "The date and time at which the CodeQL database was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
|
|
75840
|
+
},
|
|
75841
|
+
"url": {
|
|
75842
|
+
"type": "string",
|
|
75843
|
+
"format": "uri",
|
|
75844
|
+
"description": "The URL at which to download the CodeQL database. The `Accept` header must be set to the value of the `content_type` property."
|
|
75845
|
+
}
|
|
75846
|
+
},
|
|
75847
|
+
"required": [
|
|
75848
|
+
"id",
|
|
75849
|
+
"name",
|
|
75850
|
+
"language",
|
|
75851
|
+
"uploader",
|
|
75852
|
+
"content_type",
|
|
75853
|
+
"size",
|
|
75854
|
+
"created_at",
|
|
75855
|
+
"updated_at",
|
|
75856
|
+
"url"
|
|
75857
|
+
]
|
|
75858
|
+
},
|
|
75670
75859
|
"code-scanning-analysis-sarif-file": {
|
|
75671
75860
|
"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
75861
|
"type": "string"
|
|
@@ -97769,6 +97958,7 @@
|
|
|
97769
97958
|
"path": ".github/workflows/build.yml@main",
|
|
97770
97959
|
"run_number": 562,
|
|
97771
97960
|
"event": "push",
|
|
97961
|
+
"display_title": "Update README.md",
|
|
97772
97962
|
"status": "queued",
|
|
97773
97963
|
"conclusion": null,
|
|
97774
97964
|
"workflow_id": 159038,
|
|
@@ -100501,6 +100691,102 @@
|
|
|
100501
100691
|
"confirm_delete_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete"
|
|
100502
100692
|
}
|
|
100503
100693
|
},
|
|
100694
|
+
"code-scanning-codeql-databases": {
|
|
100695
|
+
"value": [
|
|
100696
|
+
{
|
|
100697
|
+
"id": 1,
|
|
100698
|
+
"name": "database.zip",
|
|
100699
|
+
"language": "java",
|
|
100700
|
+
"uploader": {
|
|
100701
|
+
"login": "octocat",
|
|
100702
|
+
"id": 1,
|
|
100703
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
100704
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
100705
|
+
"gravatar_id": "",
|
|
100706
|
+
"url": "https://api.github.com/users/octocat",
|
|
100707
|
+
"html_url": "https://github.com/octocat",
|
|
100708
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
100709
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
100710
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
100711
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
100712
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
100713
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
100714
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
100715
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
100716
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
100717
|
+
"type": "User",
|
|
100718
|
+
"site_admin": false
|
|
100719
|
+
},
|
|
100720
|
+
"content_type": "application/zip",
|
|
100721
|
+
"size": 1024,
|
|
100722
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
100723
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
100724
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
|
|
100725
|
+
},
|
|
100726
|
+
{
|
|
100727
|
+
"id": 2,
|
|
100728
|
+
"name": "database.zip",
|
|
100729
|
+
"language": "ruby",
|
|
100730
|
+
"uploader": {
|
|
100731
|
+
"login": "octocat",
|
|
100732
|
+
"id": 1,
|
|
100733
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
100734
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
100735
|
+
"gravatar_id": "",
|
|
100736
|
+
"url": "https://api.github.com/users/octocat",
|
|
100737
|
+
"html_url": "https://github.com/octocat",
|
|
100738
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
100739
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
100740
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
100741
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
100742
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
100743
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
100744
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
100745
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
100746
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
100747
|
+
"type": "User",
|
|
100748
|
+
"site_admin": false
|
|
100749
|
+
},
|
|
100750
|
+
"content_type": "application/zip",
|
|
100751
|
+
"size": 1024,
|
|
100752
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
100753
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
100754
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby"
|
|
100755
|
+
}
|
|
100756
|
+
]
|
|
100757
|
+
},
|
|
100758
|
+
"code-scanning-codeql-database": {
|
|
100759
|
+
"value": {
|
|
100760
|
+
"id": 1,
|
|
100761
|
+
"name": "database.zip",
|
|
100762
|
+
"language": "java",
|
|
100763
|
+
"uploader": {
|
|
100764
|
+
"login": "octocat",
|
|
100765
|
+
"id": 1,
|
|
100766
|
+
"node_id": "MDQ6VXNlcjE=",
|
|
100767
|
+
"avatar_url": "https://github.com/images/error/octocat_happy.gif",
|
|
100768
|
+
"gravatar_id": "",
|
|
100769
|
+
"url": "https://api.github.com/users/octocat",
|
|
100770
|
+
"html_url": "https://github.com/octocat",
|
|
100771
|
+
"followers_url": "https://api.github.com/users/octocat/followers",
|
|
100772
|
+
"following_url": "https://api.github.com/users/octocat/following{/other_user}",
|
|
100773
|
+
"gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
|
|
100774
|
+
"starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
|
|
100775
|
+
"subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
|
|
100776
|
+
"organizations_url": "https://api.github.com/users/octocat/orgs",
|
|
100777
|
+
"repos_url": "https://api.github.com/users/octocat/repos",
|
|
100778
|
+
"events_url": "https://api.github.com/users/octocat/events{/privacy}",
|
|
100779
|
+
"received_events_url": "https://api.github.com/users/octocat/received_events",
|
|
100780
|
+
"type": "User",
|
|
100781
|
+
"site_admin": false
|
|
100782
|
+
},
|
|
100783
|
+
"content_type": "application/zip",
|
|
100784
|
+
"size": 1024,
|
|
100785
|
+
"created_at": "2022-09-12T12:14:32Z",
|
|
100786
|
+
"updated_at": "2022-09-12T12:14:32Z",
|
|
100787
|
+
"url": "https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java"
|
|
100788
|
+
}
|
|
100789
|
+
},
|
|
100504
100790
|
"code-scanning-sarif-upload": {
|
|
100505
100791
|
"summary": "Default response",
|
|
100506
100792
|
"value": {
|
|
@@ -112915,7 +113201,7 @@
|
|
|
112915
113201
|
}
|
|
112916
113202
|
},
|
|
112917
113203
|
"code_scanning_forbidden_write": {
|
|
112918
|
-
"description": "Response if the repository is archived or if
|
|
113204
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
112919
113205
|
"content": {
|
|
112920
113206
|
"application/json": {
|
|
112921
113207
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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.
|
|
4
|
+
"version": "7.14.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.
|
|
4
|
+
"version": "7.14.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": {
|
|
@@ -57467,6 +57467,7 @@
|
|
|
57467
57467
|
"node_id",
|
|
57468
57468
|
"head_branch",
|
|
57469
57469
|
"run_number",
|
|
57470
|
+
"display_title",
|
|
57470
57471
|
"event",
|
|
57471
57472
|
"status",
|
|
57472
57473
|
"conclusion",
|
|
@@ -61380,6 +61381,7 @@
|
|
|
61380
61381
|
"node_id",
|
|
61381
61382
|
"head_branch",
|
|
61382
61383
|
"run_number",
|
|
61384
|
+
"display_title",
|
|
61383
61385
|
"event",
|
|
61384
61386
|
"status",
|
|
61385
61387
|
"conclusion",
|
|
@@ -65765,6 +65767,7 @@
|
|
|
65765
65767
|
"node_id",
|
|
65766
65768
|
"head_branch",
|
|
65767
65769
|
"run_number",
|
|
65770
|
+
"display_title",
|
|
65768
65771
|
"event",
|
|
65769
65772
|
"status",
|
|
65770
65773
|
"conclusion",
|
|
@@ -76750,7 +76753,7 @@
|
|
|
76750
76753
|
}
|
|
76751
76754
|
},
|
|
76752
76755
|
"403": {
|
|
76753
|
-
"description": "Response if the repository is archived or if
|
|
76756
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
76754
76757
|
"content": {
|
|
76755
76758
|
"application/json": {
|
|
76756
76759
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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": {
|
|
@@ -11679,6 +11679,7 @@
|
|
|
11679
11679
|
"node_id",
|
|
11680
11680
|
"head_branch",
|
|
11681
11681
|
"run_number",
|
|
11682
|
+
"display_title",
|
|
11682
11683
|
"event",
|
|
11683
11684
|
"status",
|
|
11684
11685
|
"conclusion",
|
|
@@ -26174,7 +26175,7 @@
|
|
|
26174
26175
|
}
|
|
26175
26176
|
},
|
|
26176
26177
|
"code_scanning_forbidden_write": {
|
|
26177
|
-
"description": "Response if the repository is archived or if
|
|
26178
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
26178
26179
|
"content": {
|
|
26179
26180
|
"application/json": {
|
|
26180
26181
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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": {
|
|
@@ -125092,6 +125092,7 @@
|
|
|
125092
125092
|
"node_id",
|
|
125093
125093
|
"head_branch",
|
|
125094
125094
|
"run_number",
|
|
125095
|
+
"display_title",
|
|
125095
125096
|
"event",
|
|
125096
125097
|
"status",
|
|
125097
125098
|
"conclusion",
|
|
@@ -129005,6 +129006,7 @@
|
|
|
129005
129006
|
"node_id",
|
|
129006
129007
|
"head_branch",
|
|
129007
129008
|
"run_number",
|
|
129009
|
+
"display_title",
|
|
129008
129010
|
"event",
|
|
129009
129011
|
"status",
|
|
129010
129012
|
"conclusion",
|
|
@@ -136478,6 +136480,7 @@
|
|
|
136478
136480
|
"node_id",
|
|
136479
136481
|
"head_branch",
|
|
136480
136482
|
"run_number",
|
|
136483
|
+
"display_title",
|
|
136481
136484
|
"event",
|
|
136482
136485
|
"status",
|
|
136483
136486
|
"conclusion",
|
|
@@ -169097,7 +169100,7 @@
|
|
|
169097
169100
|
}
|
|
169098
169101
|
},
|
|
169099
169102
|
"403": {
|
|
169100
|
-
"description": "Response if the repository is archived or if
|
|
169103
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
169101
169104
|
"content": {
|
|
169102
169105
|
"application/json": {
|
|
169103
169106
|
"schema": {
|
|
@@ -170314,7 +170317,7 @@
|
|
|
170314
170317
|
}
|
|
170315
170318
|
},
|
|
170316
170319
|
"403": {
|
|
170317
|
-
"description": "Response if the repository is archived or if
|
|
170320
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
170318
170321
|
"content": {
|
|
170319
170322
|
"application/json": {
|
|
170320
170323
|
"schema": {
|
|
@@ -170520,7 +170523,7 @@
|
|
|
170520
170523
|
"description": "Bad Request if the sarif field is invalid"
|
|
170521
170524
|
},
|
|
170522
170525
|
"403": {
|
|
170523
|
-
"description": "Response if the repository is archived or if
|
|
170526
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
170524
170527
|
"content": {
|
|
170525
170528
|
"application/json": {
|
|
170526
170529
|
"schema": {
|
|
@@ -192095,7 +192098,7 @@
|
|
|
192095
192098
|
},
|
|
192096
192099
|
"put": {
|
|
192097
192100
|
"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.",
|
|
192101
|
+
"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
192102
|
"tags": [
|
|
192100
192103
|
"repos"
|
|
192101
192104
|
],
|
|
@@ -192800,7 +192803,7 @@
|
|
|
192800
192803
|
},
|
|
192801
192804
|
"delete": {
|
|
192802
192805
|
"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.",
|
|
192806
|
+
"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
192807
|
"tags": [
|
|
192805
192808
|
"repos"
|
|
192806
192809
|
],
|
package/generated/ghes-3.2.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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
|
],
|
|
@@ -61031,6 +61031,7 @@
|
|
|
61031
61031
|
"node_id",
|
|
61032
61032
|
"head_branch",
|
|
61033
61033
|
"run_number",
|
|
61034
|
+
"display_title",
|
|
61034
61035
|
"event",
|
|
61035
61036
|
"status",
|
|
61036
61037
|
"conclusion",
|
|
@@ -96054,7 +96055,7 @@
|
|
|
96054
96055
|
}
|
|
96055
96056
|
},
|
|
96056
96057
|
"code_scanning_forbidden_write": {
|
|
96057
|
-
"description": "Response if the repository is archived or if
|
|
96058
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
96058
96059
|
"content": {
|
|
96059
96060
|
"application/json": {
|
|
96060
96061
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.14.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
|
|
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.
|
|
4
|
+
"version": "7.14.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
|
|
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": {
|