@octokit/openapi 7.12.0 → 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.
- package/generated/api.github.com.deref.json +767 -33
- package/generated/api.github.com.json +312 -24
- 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 +33 -15
- package/generated/ghes-3.2-diff-to-ghes-3.3.json +23 -14
- package/generated/ghes-3.2.deref.json +48 -30
- package/generated/ghes-3.2.json +33 -24
- 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 +49 -31
- package/generated/ghes-3.3.json +33 -24
- package/generated/ghes-3.4-diff-to-ghes-3.5.deref.json +8 -8
- package/generated/ghes-3.4-diff-to-ghes-3.5.json +3 -3
- package/generated/ghes-3.4.deref.json +50 -32
- package/generated/ghes-3.4.json +33 -24
- 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 +19 -19
- package/generated/ghes-3.5-diff-to-ghes-3.6.json +14 -14
- package/generated/ghes-3.5.deref.json +166 -33
- package/generated/ghes-3.5.json +139 -24
- package/generated/ghes-3.6-anicca-diff-to-api.github.com.deref.json +6 -11
- package/generated/ghes-3.6-diff-to-api.github.com.deref.json +3 -3
- package/generated/ghes-3.6-diff-to-api.github.com.json +2 -2
- package/generated/ghes-3.6.deref.json +815 -139
- package/generated/ghes-3.6.json +556 -130
- 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 +17 -17
- package/generated/github.ae-diff-to-api.github.com.json +14 -14
- package/generated/github.ae.deref.json +102 -31
- package/generated/github.ae.json +77 -24
- 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.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": {
|
|
@@ -5531,7 +5531,7 @@
|
|
|
5531
5531
|
},
|
|
5532
5532
|
{
|
|
5533
5533
|
"name": "state",
|
|
5534
|
-
"description": "Indicates the state of the issues to return.
|
|
5534
|
+
"description": "Indicates the state of the issues to return.",
|
|
5535
5535
|
"in": "query",
|
|
5536
5536
|
"required": false,
|
|
5537
5537
|
"schema": {
|
|
@@ -5549,7 +5549,7 @@
|
|
|
5549
5549
|
},
|
|
5550
5550
|
{
|
|
5551
5551
|
"name": "sort",
|
|
5552
|
-
"description": "What to sort results by.
|
|
5552
|
+
"description": "What to sort results by.",
|
|
5553
5553
|
"in": "query",
|
|
5554
5554
|
"required": false,
|
|
5555
5555
|
"schema": {
|
|
@@ -5791,7 +5791,7 @@
|
|
|
5791
5791
|
"type": "string"
|
|
5792
5792
|
},
|
|
5793
5793
|
"mode": {
|
|
5794
|
-
"description": "The rendering mode.
|
|
5794
|
+
"description": "The rendering mode.",
|
|
5795
5795
|
"enum": [
|
|
5796
5796
|
"markdown",
|
|
5797
5797
|
"gfm"
|
|
@@ -12637,7 +12637,7 @@
|
|
|
12637
12637
|
},
|
|
12638
12638
|
{
|
|
12639
12639
|
"name": "state",
|
|
12640
|
-
"description": "Indicates the state of the issues to return.
|
|
12640
|
+
"description": "Indicates the state of the issues to return.",
|
|
12641
12641
|
"in": "query",
|
|
12642
12642
|
"required": false,
|
|
12643
12643
|
"schema": {
|
|
@@ -12655,7 +12655,7 @@
|
|
|
12655
12655
|
},
|
|
12656
12656
|
{
|
|
12657
12657
|
"name": "sort",
|
|
12658
|
-
"description": "What to sort results by.
|
|
12658
|
+
"description": "What to sort results by.",
|
|
12659
12659
|
"in": "query",
|
|
12660
12660
|
"required": false,
|
|
12661
12661
|
"schema": {
|
|
@@ -14309,7 +14309,7 @@
|
|
|
14309
14309
|
},
|
|
14310
14310
|
{
|
|
14311
14311
|
"name": "state",
|
|
14312
|
-
"description": "Indicates the state of the projects to return.
|
|
14312
|
+
"description": "Indicates the state of the projects to return.",
|
|
14313
14313
|
"in": "query",
|
|
14314
14314
|
"required": false,
|
|
14315
14315
|
"schema": {
|
|
@@ -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
|
],
|
|
@@ -33344,7 +33471,7 @@
|
|
|
33344
33471
|
},
|
|
33345
33472
|
{
|
|
33346
33473
|
"name": "sort",
|
|
33347
|
-
"description": "The sort order.
|
|
33474
|
+
"description": "The sort order. `stargazers` will sort by star count.",
|
|
33348
33475
|
"in": "query",
|
|
33349
33476
|
"required": false,
|
|
33350
33477
|
"schema": {
|
|
@@ -36386,7 +36513,7 @@
|
|
|
36386
36513
|
},
|
|
36387
36514
|
{
|
|
36388
36515
|
"name": "state",
|
|
36389
|
-
"description": "Indicates the state of the issues to return.
|
|
36516
|
+
"description": "Indicates the state of the issues to return.",
|
|
36390
36517
|
"in": "query",
|
|
36391
36518
|
"required": false,
|
|
36392
36519
|
"schema": {
|
|
@@ -36431,7 +36558,7 @@
|
|
|
36431
36558
|
},
|
|
36432
36559
|
{
|
|
36433
36560
|
"name": "sort",
|
|
36434
|
-
"description": "What to sort results by.
|
|
36561
|
+
"description": "What to sort results by.",
|
|
36435
36562
|
"in": "query",
|
|
36436
36563
|
"required": false,
|
|
36437
36564
|
"schema": {
|
|
@@ -40951,7 +41078,7 @@
|
|
|
40951
41078
|
},
|
|
40952
41079
|
{
|
|
40953
41080
|
"name": "state",
|
|
40954
|
-
"description": "Indicates the state of the projects to return.
|
|
41081
|
+
"description": "Indicates the state of the projects to return.",
|
|
40955
41082
|
"in": "query",
|
|
40956
41083
|
"required": false,
|
|
40957
41084
|
"schema": {
|
|
@@ -41164,7 +41291,7 @@
|
|
|
41164
41291
|
},
|
|
41165
41292
|
{
|
|
41166
41293
|
"name": "sort",
|
|
41167
|
-
"description": "What to sort results by.
|
|
41294
|
+
"description": "What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month.",
|
|
41168
41295
|
"in": "query",
|
|
41169
41296
|
"required": false,
|
|
41170
41297
|
"schema": {
|
|
@@ -41180,7 +41307,7 @@
|
|
|
41180
41307
|
},
|
|
41181
41308
|
{
|
|
41182
41309
|
"name": "direction",
|
|
41183
|
-
"description": "The direction of the sort.
|
|
41310
|
+
"description": "The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`.",
|
|
41184
41311
|
"in": "query",
|
|
41185
41312
|
"required": false,
|
|
41186
41313
|
"schema": {
|
|
@@ -41386,7 +41513,7 @@
|
|
|
41386
41513
|
},
|
|
41387
41514
|
{
|
|
41388
41515
|
"name": "direction",
|
|
41389
|
-
"description": "
|
|
41516
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
41390
41517
|
"in": "query",
|
|
41391
41518
|
"required": false,
|
|
41392
41519
|
"schema": {
|
|
@@ -42147,7 +42274,7 @@
|
|
|
42147
42274
|
},
|
|
42148
42275
|
{
|
|
42149
42276
|
"name": "direction",
|
|
42150
|
-
"description": "
|
|
42277
|
+
"description": "The direction to sort results. Ignored without `sort` parameter.",
|
|
42151
42278
|
"in": "query",
|
|
42152
42279
|
"required": false,
|
|
42153
42280
|
"schema": {
|
|
@@ -55014,7 +55141,7 @@
|
|
|
55014
55141
|
},
|
|
55015
55142
|
{
|
|
55016
55143
|
"name": "state",
|
|
55017
|
-
"description": "Indicates the state of the issues to return.
|
|
55144
|
+
"description": "Indicates the state of the issues to return.",
|
|
55018
55145
|
"in": "query",
|
|
55019
55146
|
"required": false,
|
|
55020
55147
|
"schema": {
|
|
@@ -55032,7 +55159,7 @@
|
|
|
55032
55159
|
},
|
|
55033
55160
|
{
|
|
55034
55161
|
"name": "sort",
|
|
55035
|
-
"description": "What to sort results by.
|
|
55162
|
+
"description": "What to sort results by.",
|
|
55036
55163
|
"in": "query",
|
|
55037
55164
|
"required": false,
|
|
55038
55165
|
"schema": {
|
|
@@ -55515,7 +55642,7 @@
|
|
|
55515
55642
|
"parameters": [
|
|
55516
55643
|
{
|
|
55517
55644
|
"name": "state",
|
|
55518
|
-
"description": "Indicates the state of the memberships to return.
|
|
55645
|
+
"description": "Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships.",
|
|
55519
55646
|
"in": "query",
|
|
55520
55647
|
"required": false,
|
|
55521
55648
|
"schema": {
|
|
@@ -59161,7 +59288,7 @@
|
|
|
59161
59288
|
},
|
|
59162
59289
|
{
|
|
59163
59290
|
"name": "state",
|
|
59164
|
-
"description": "Indicates the state of the projects to return.
|
|
59291
|
+
"description": "Indicates the state of the projects to return.",
|
|
59165
59292
|
"in": "query",
|
|
59166
59293
|
"required": false,
|
|
59167
59294
|
"schema": {
|
|
@@ -63967,7 +64094,7 @@
|
|
|
63967
64094
|
"nullable": true
|
|
63968
64095
|
},
|
|
63969
64096
|
"secret-scanning-alert-state": {
|
|
63970
|
-
"description": "Sets the state of the secret scanning alert.
|
|
64097
|
+
"description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.",
|
|
63971
64098
|
"type": "string",
|
|
63972
64099
|
"enum": [
|
|
63973
64100
|
"open",
|
|
@@ -72562,7 +72689,16 @@
|
|
|
72562
72689
|
"description": "The outcome of the job.",
|
|
72563
72690
|
"example": "success",
|
|
72564
72691
|
"type": "string",
|
|
72565
|
-
"nullable": true
|
|
72692
|
+
"nullable": true,
|
|
72693
|
+
"enum": [
|
|
72694
|
+
"success",
|
|
72695
|
+
"failure",
|
|
72696
|
+
"neutral",
|
|
72697
|
+
"cancelled",
|
|
72698
|
+
"skipped",
|
|
72699
|
+
"timed_out",
|
|
72700
|
+
"action_required"
|
|
72701
|
+
]
|
|
72566
72702
|
},
|
|
72567
72703
|
"started_at": {
|
|
72568
72704
|
"description": "The time that the job started, in ISO 8601 format.",
|
|
@@ -75658,6 +75794,62 @@
|
|
|
75658
75794
|
"confirm_delete_url"
|
|
75659
75795
|
]
|
|
75660
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
|
+
},
|
|
75661
75853
|
"code-scanning-analysis-sarif-file": {
|
|
75662
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).\"",
|
|
75663
75855
|
"type": "string"
|
|
@@ -100492,6 +100684,102 @@
|
|
|
100492
100684
|
"confirm_delete_url": "https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete"
|
|
100493
100685
|
}
|
|
100494
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
|
+
},
|
|
100495
100783
|
"code-scanning-sarif-upload": {
|
|
100496
100784
|
"summary": "Default response",
|
|
100497
100785
|
"value": {
|
|
@@ -112906,7 +113194,7 @@
|
|
|
112906
113194
|
}
|
|
112907
113195
|
},
|
|
112908
113196
|
"code_scanning_forbidden_write": {
|
|
112909
|
-
"description": "Response if the repository is archived or if
|
|
113197
|
+
"description": "Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository",
|
|
112910
113198
|
"content": {
|
|
112911
113199
|
"application/json": {
|
|
112912
113200
|
"schema": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "7.
|
|
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.
|
|
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": {
|