You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: descriptions-next/api.github.com/api.github.com.2022-11-28.json
+369Lines changed: 369 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49368,6 +49368,148 @@
49368
49368
}
49369
49369
}
49370
49370
},
49371
+
"/repos/{owner}/{repo}/code-quality/setup": {
49372
+
"get": {
49373
+
"summary": "Get a code quality setup configuration",
49374
+
"description": "Gets a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.",
"summary": "Update a code quality setup configuration",
49426
+
"description": "Updates a code quality setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.",
"summary": "List code scanning alerts for a repository",
@@ -140271,6 +140413,164 @@
140271
140413
}
140272
140414
}
140273
140415
},
140416
+
"code-quality-setup": {
140417
+
"description": "Configuration for code quality setup.",
140418
+
"type": "object",
140419
+
"properties": {
140420
+
"state": {
140421
+
"description": "Code quality setup has been configured or not.",
140422
+
"type": "string",
140423
+
"enum": [
140424
+
"configured",
140425
+
"not-configured"
140426
+
]
140427
+
},
140428
+
"languages": {
140429
+
"description": "Languages to be analyzed.",
140430
+
"type": "array",
140431
+
"items": {
140432
+
"type": "string",
140433
+
"enum": [
140434
+
"csharp",
140435
+
"go",
140436
+
"java-kotlin",
140437
+
"javascript-typescript",
140438
+
"python",
140439
+
"ruby",
140440
+
"rust"
140441
+
]
140442
+
}
140443
+
},
140444
+
"runner_type": {
140445
+
"description": "Runner type to be used.",
140446
+
"type": [
140447
+
"string",
140448
+
"null"
140449
+
],
140450
+
"enum": [
140451
+
"standard",
140452
+
"labeled",
140453
+
null
140454
+
]
140455
+
},
140456
+
"runner_label": {
140457
+
"description": "Runner label to be used if the runner type is labeled.",
140458
+
"type": [
140459
+
"string",
140460
+
"null"
140461
+
],
140462
+
"examples": [
140463
+
"code-scanning"
140464
+
]
140465
+
},
140466
+
"updated_at": {
140467
+
"description": "Timestamp of latest configuration update.",
140468
+
"type": [
140469
+
"string",
140470
+
"null"
140471
+
],
140472
+
"format": "date-time",
140473
+
"examples": [
140474
+
"2023-12-06T14:20:20.000Z"
140475
+
]
140476
+
},
140477
+
"schedule": {
140478
+
"description": "The frequency of the periodic analysis.",
140479
+
"type": [
140480
+
"string",
140481
+
"null"
140482
+
],
140483
+
"enum": [
140484
+
"weekly",
140485
+
null
140486
+
]
140487
+
}
140488
+
}
140489
+
},
140490
+
"code-quality-setup-update": {
140491
+
"description": "Configuration for code quality setup.",
140492
+
"type": "object",
140493
+
"properties": {
140494
+
"state": {
140495
+
"description": "The desired state of code quality setup.",
140496
+
"type": "string",
140497
+
"enum": [
140498
+
"configured",
140499
+
"not-configured"
140500
+
]
140501
+
},
140502
+
"runner_type": {
140503
+
"description": "Runner type to be used.",
140504
+
"type": "string",
140505
+
"enum": [
140506
+
"standard",
140507
+
"labeled"
140508
+
]
140509
+
},
140510
+
"runner_label": {
140511
+
"description": "Runner label to be used if the runner type is labeled.",
140512
+
"type": [
140513
+
"string",
140514
+
"null"
140515
+
],
140516
+
"examples": [
140517
+
"code-scanning"
140518
+
]
140519
+
},
140520
+
"languages": {
140521
+
"description": "Languages to be analyzed.",
140522
+
"type": "array",
140523
+
"items": {
140524
+
"type": "string",
140525
+
"enum": [
140526
+
"csharp",
140527
+
"go",
140528
+
"java-kotlin",
140529
+
"javascript-typescript",
140530
+
"python",
140531
+
"ruby"
140532
+
]
140533
+
}
140534
+
}
140535
+
},
140536
+
"anyOf": [
140537
+
{
140538
+
"required": [
140539
+
"state"
140540
+
]
140541
+
},
140542
+
{
140543
+
"required": [
140544
+
"runner_type"
140545
+
]
140546
+
},
140547
+
{
140548
+
"required": [
140549
+
"runner_label"
140550
+
]
140551
+
},
140552
+
{
140553
+
"required": [
140554
+
"languages"
140555
+
]
140556
+
}
140557
+
],
140558
+
"additionalProperties": false
140559
+
},
140560
+
"code-quality-setup-update-response": {
140561
+
"description": "You can use `run_url` to track the status of the run. This includes a property status and conclusion.\nYou should not rely on this always being an actions workflow run object.",
0 commit comments