@octokit/openapi 5.8.0 → 5.10.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 +393 -1
- package/generated/api.github.com.json +58 -4
- package/generated/ghes-2.22-diff-to-ghes-3.0.deref.json +1 -1
- package/generated/ghes-2.22-diff-to-ghes-3.0.json +1 -1
- package/generated/ghes-2.22.deref.json +1 -1
- package/generated/ghes-2.22.json +1 -1
- package/generated/ghes-3.0-diff-to-ghes-3.1.deref.json +1 -1
- package/generated/ghes-3.0-diff-to-ghes-3.1.json +1 -1
- package/generated/ghes-3.0.deref.json +4 -1
- package/generated/ghes-3.0.json +4 -1
- package/generated/ghes-3.1-diff-to-ghes-3.2.deref.json +1 -1
- package/generated/ghes-3.1-diff-to-ghes-3.2.json +1 -1
- package/generated/ghes-3.1.deref.json +4 -1
- package/generated/ghes-3.1.json +4 -1
- package/generated/ghes-3.2-anicca-diff-to-api.github.com.deref.json +3 -0
- 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.deref.json +18 -1
- package/generated/ghes-3.2.json +19 -4
- package/generated/github.ae-diff-to-api.github.com.deref.json +1 -1
- package/generated/github.ae-diff-to-api.github.com.json +1 -1
- package/generated/github.ae.deref.json +393 -1
- package/generated/github.ae.json +58 -4
- package/package.json +7 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -112182,6 +112182,395 @@
|
|
|
112182
112182
|
"x-octokit": {}
|
|
112183
112183
|
}
|
|
112184
112184
|
},
|
|
112185
|
+
"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": {
|
|
112186
|
+
"get": {
|
|
112187
|
+
"summary": "List jobs for a workflow run attempt",
|
|
112188
|
+
"description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).",
|
|
112189
|
+
"tags": ["actions"],
|
|
112190
|
+
"operationId": "actions/list-jobs-for-workflow-run-attempt",
|
|
112191
|
+
"externalDocs": {
|
|
112192
|
+
"description": "API method documentation",
|
|
112193
|
+
"url": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run-attempt"
|
|
112194
|
+
},
|
|
112195
|
+
"parameters": [
|
|
112196
|
+
{
|
|
112197
|
+
"name": "owner",
|
|
112198
|
+
"in": "path",
|
|
112199
|
+
"required": true,
|
|
112200
|
+
"schema": { "type": "string" }
|
|
112201
|
+
},
|
|
112202
|
+
{
|
|
112203
|
+
"name": "repo",
|
|
112204
|
+
"in": "path",
|
|
112205
|
+
"required": true,
|
|
112206
|
+
"schema": { "type": "string" }
|
|
112207
|
+
},
|
|
112208
|
+
{
|
|
112209
|
+
"name": "run_id",
|
|
112210
|
+
"description": "The id of the workflow run.",
|
|
112211
|
+
"in": "path",
|
|
112212
|
+
"required": true,
|
|
112213
|
+
"schema": { "type": "integer" }
|
|
112214
|
+
},
|
|
112215
|
+
{
|
|
112216
|
+
"name": "attempt_number",
|
|
112217
|
+
"description": "The attempt number of the workflow run.",
|
|
112218
|
+
"in": "path",
|
|
112219
|
+
"required": true,
|
|
112220
|
+
"schema": { "type": "integer" }
|
|
112221
|
+
},
|
|
112222
|
+
{
|
|
112223
|
+
"name": "per_page",
|
|
112224
|
+
"description": "Results per page (max 100)",
|
|
112225
|
+
"in": "query",
|
|
112226
|
+
"schema": { "type": "integer", "default": 30 }
|
|
112227
|
+
},
|
|
112228
|
+
{
|
|
112229
|
+
"name": "page",
|
|
112230
|
+
"description": "Page number of the results to fetch.",
|
|
112231
|
+
"in": "query",
|
|
112232
|
+
"schema": { "type": "integer", "default": 1 }
|
|
112233
|
+
}
|
|
112234
|
+
],
|
|
112235
|
+
"responses": {
|
|
112236
|
+
"200": {
|
|
112237
|
+
"description": "Response",
|
|
112238
|
+
"content": {
|
|
112239
|
+
"application/json": {
|
|
112240
|
+
"schema": {
|
|
112241
|
+
"type": "object",
|
|
112242
|
+
"required": ["total_count", "jobs"],
|
|
112243
|
+
"properties": {
|
|
112244
|
+
"total_count": { "type": "integer" },
|
|
112245
|
+
"jobs": {
|
|
112246
|
+
"type": "array",
|
|
112247
|
+
"items": {
|
|
112248
|
+
"title": "Job",
|
|
112249
|
+
"description": "Information of a job execution in a workflow run",
|
|
112250
|
+
"type": "object",
|
|
112251
|
+
"properties": {
|
|
112252
|
+
"id": {
|
|
112253
|
+
"description": "The id of the job.",
|
|
112254
|
+
"example": 21,
|
|
112255
|
+
"type": "integer"
|
|
112256
|
+
},
|
|
112257
|
+
"run_id": {
|
|
112258
|
+
"description": "The id of the associated workflow run.",
|
|
112259
|
+
"example": 5,
|
|
112260
|
+
"type": "integer"
|
|
112261
|
+
},
|
|
112262
|
+
"run_url": {
|
|
112263
|
+
"type": "string",
|
|
112264
|
+
"example": "https://api.github.com/repos/github/hello-world/actions/runs/5"
|
|
112265
|
+
},
|
|
112266
|
+
"run_attempt": {
|
|
112267
|
+
"type": "integer",
|
|
112268
|
+
"description": "Attempt number of the associated workflow run, 1 for first attempt and higher if the workflow was re-run.",
|
|
112269
|
+
"example": 1
|
|
112270
|
+
},
|
|
112271
|
+
"node_id": {
|
|
112272
|
+
"type": "string",
|
|
112273
|
+
"example": "MDg6Q2hlY2tSdW40"
|
|
112274
|
+
},
|
|
112275
|
+
"head_sha": {
|
|
112276
|
+
"description": "The SHA of the commit that is being run.",
|
|
112277
|
+
"example": "009b8a3a9ccbb128af87f9b1c0f4c62e8a304f6d",
|
|
112278
|
+
"type": "string"
|
|
112279
|
+
},
|
|
112280
|
+
"url": {
|
|
112281
|
+
"type": "string",
|
|
112282
|
+
"example": "https://api.github.com/repos/github/hello-world/actions/jobs/21"
|
|
112283
|
+
},
|
|
112284
|
+
"html_url": {
|
|
112285
|
+
"type": "string",
|
|
112286
|
+
"example": "https://github.com/github/hello-world/runs/4",
|
|
112287
|
+
"nullable": true
|
|
112288
|
+
},
|
|
112289
|
+
"status": {
|
|
112290
|
+
"description": "The phase of the lifecycle that the job is currently in.",
|
|
112291
|
+
"example": "queued",
|
|
112292
|
+
"type": "string",
|
|
112293
|
+
"enum": ["queued", "in_progress", "completed"]
|
|
112294
|
+
},
|
|
112295
|
+
"conclusion": {
|
|
112296
|
+
"description": "The outcome of the job.",
|
|
112297
|
+
"example": "success",
|
|
112298
|
+
"type": "string",
|
|
112299
|
+
"nullable": true
|
|
112300
|
+
},
|
|
112301
|
+
"started_at": {
|
|
112302
|
+
"description": "The time that the job started, in ISO 8601 format.",
|
|
112303
|
+
"example": "2019-08-08T08:00:00-07:00",
|
|
112304
|
+
"format": "date-time",
|
|
112305
|
+
"type": "string"
|
|
112306
|
+
},
|
|
112307
|
+
"completed_at": {
|
|
112308
|
+
"description": "The time that the job finished, in ISO 8601 format.",
|
|
112309
|
+
"example": "2019-08-08T08:00:00-07:00",
|
|
112310
|
+
"format": "date-time",
|
|
112311
|
+
"type": "string",
|
|
112312
|
+
"nullable": true
|
|
112313
|
+
},
|
|
112314
|
+
"name": {
|
|
112315
|
+
"description": "The name of the job.",
|
|
112316
|
+
"example": "test-coverage",
|
|
112317
|
+
"type": "string"
|
|
112318
|
+
},
|
|
112319
|
+
"steps": {
|
|
112320
|
+
"description": "Steps in this job.",
|
|
112321
|
+
"type": "array",
|
|
112322
|
+
"items": {
|
|
112323
|
+
"type": "object",
|
|
112324
|
+
"required": [
|
|
112325
|
+
"name",
|
|
112326
|
+
"status",
|
|
112327
|
+
"conclusion",
|
|
112328
|
+
"number"
|
|
112329
|
+
],
|
|
112330
|
+
"properties": {
|
|
112331
|
+
"status": {
|
|
112332
|
+
"description": "The phase of the lifecycle that the job is currently in.",
|
|
112333
|
+
"example": "queued",
|
|
112334
|
+
"type": "string",
|
|
112335
|
+
"enum": ["queued", "in_progress", "completed"]
|
|
112336
|
+
},
|
|
112337
|
+
"conclusion": {
|
|
112338
|
+
"description": "The outcome of the job.",
|
|
112339
|
+
"example": "success",
|
|
112340
|
+
"type": "string",
|
|
112341
|
+
"nullable": true
|
|
112342
|
+
},
|
|
112343
|
+
"name": {
|
|
112344
|
+
"description": "The name of the job.",
|
|
112345
|
+
"example": "test-coverage",
|
|
112346
|
+
"type": "string"
|
|
112347
|
+
},
|
|
112348
|
+
"number": { "type": "integer", "example": 1 },
|
|
112349
|
+
"started_at": {
|
|
112350
|
+
"description": "The time that the step started, in ISO 8601 format.",
|
|
112351
|
+
"example": "2019-08-08T08:00:00-07:00",
|
|
112352
|
+
"format": "date-time",
|
|
112353
|
+
"type": "string",
|
|
112354
|
+
"nullable": true
|
|
112355
|
+
},
|
|
112356
|
+
"completed_at": {
|
|
112357
|
+
"description": "The time that the job finished, in ISO 8601 format.",
|
|
112358
|
+
"example": "2019-08-08T08:00:00-07:00",
|
|
112359
|
+
"format": "date-time",
|
|
112360
|
+
"type": "string",
|
|
112361
|
+
"nullable": true
|
|
112362
|
+
}
|
|
112363
|
+
}
|
|
112364
|
+
}
|
|
112365
|
+
},
|
|
112366
|
+
"check_run_url": {
|
|
112367
|
+
"type": "string",
|
|
112368
|
+
"example": "https://api.github.com/repos/github/hello-world/check-runs/4"
|
|
112369
|
+
},
|
|
112370
|
+
"labels": {
|
|
112371
|
+
"type": "array",
|
|
112372
|
+
"items": { "type": "string" },
|
|
112373
|
+
"description": "Labels for the workflow job. Specified by the \"runs_on\" attribute in the action's workflow file.",
|
|
112374
|
+
"example": ["self-hosted", "foo", "bar"]
|
|
112375
|
+
},
|
|
112376
|
+
"runner_id": {
|
|
112377
|
+
"type": "integer",
|
|
112378
|
+
"nullable": true,
|
|
112379
|
+
"example": 1,
|
|
112380
|
+
"description": "The ID of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
|
|
112381
|
+
},
|
|
112382
|
+
"runner_name": {
|
|
112383
|
+
"type": "string",
|
|
112384
|
+
"nullable": true,
|
|
112385
|
+
"example": "my runner",
|
|
112386
|
+
"description": "The name of the runner to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
|
|
112387
|
+
},
|
|
112388
|
+
"runner_group_id": {
|
|
112389
|
+
"type": "integer",
|
|
112390
|
+
"nullable": true,
|
|
112391
|
+
"example": 2,
|
|
112392
|
+
"description": "The ID of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
|
|
112393
|
+
},
|
|
112394
|
+
"runner_group_name": {
|
|
112395
|
+
"type": "string",
|
|
112396
|
+
"nullable": true,
|
|
112397
|
+
"example": "my runner group",
|
|
112398
|
+
"description": "The name of the runner group to which this job has been assigned. (If a runner hasn't yet been assigned, this will be null.)"
|
|
112399
|
+
}
|
|
112400
|
+
},
|
|
112401
|
+
"required": [
|
|
112402
|
+
"id",
|
|
112403
|
+
"node_id",
|
|
112404
|
+
"run_id",
|
|
112405
|
+
"run_url",
|
|
112406
|
+
"head_sha",
|
|
112407
|
+
"name",
|
|
112408
|
+
"url",
|
|
112409
|
+
"html_url",
|
|
112410
|
+
"status",
|
|
112411
|
+
"conclusion",
|
|
112412
|
+
"started_at",
|
|
112413
|
+
"completed_at",
|
|
112414
|
+
"check_run_url",
|
|
112415
|
+
"labels",
|
|
112416
|
+
"runner_id",
|
|
112417
|
+
"runner_name",
|
|
112418
|
+
"runner_group_id",
|
|
112419
|
+
"runner_group_name"
|
|
112420
|
+
]
|
|
112421
|
+
}
|
|
112422
|
+
}
|
|
112423
|
+
}
|
|
112424
|
+
},
|
|
112425
|
+
"examples": {
|
|
112426
|
+
"default": {
|
|
112427
|
+
"value": {
|
|
112428
|
+
"total_count": 1,
|
|
112429
|
+
"jobs": [
|
|
112430
|
+
{
|
|
112431
|
+
"id": 399444496,
|
|
112432
|
+
"run_id": 29679449,
|
|
112433
|
+
"run_url": "https://api.github.com/repos/octo-org/octo-repo/actions/runs/29679449",
|
|
112434
|
+
"node_id": "MDEyOldvcmtmbG93IEpvYjM5OTQ0NDQ5Ng==",
|
|
112435
|
+
"head_sha": "f83a356604ae3c5d03e1b46ef4d1ca77d64a90b0",
|
|
112436
|
+
"url": "https://api.github.com/repos/octo-org/octo-repo/actions/jobs/399444496",
|
|
112437
|
+
"html_url": "https://github.com/octo-org/octo-repo/runs/399444496",
|
|
112438
|
+
"status": "completed",
|
|
112439
|
+
"conclusion": "success",
|
|
112440
|
+
"started_at": "2020-01-20T17:42:40Z",
|
|
112441
|
+
"completed_at": "2020-01-20T17:44:39Z",
|
|
112442
|
+
"name": "build",
|
|
112443
|
+
"steps": [
|
|
112444
|
+
{
|
|
112445
|
+
"name": "Set up job",
|
|
112446
|
+
"status": "completed",
|
|
112447
|
+
"conclusion": "success",
|
|
112448
|
+
"number": 1,
|
|
112449
|
+
"started_at": "2020-01-20T09:42:40.000-08:00",
|
|
112450
|
+
"completed_at": "2020-01-20T09:42:41.000-08:00"
|
|
112451
|
+
},
|
|
112452
|
+
{
|
|
112453
|
+
"name": "Run actions/checkout@v2",
|
|
112454
|
+
"status": "completed",
|
|
112455
|
+
"conclusion": "success",
|
|
112456
|
+
"number": 2,
|
|
112457
|
+
"started_at": "2020-01-20T09:42:41.000-08:00",
|
|
112458
|
+
"completed_at": "2020-01-20T09:42:45.000-08:00"
|
|
112459
|
+
},
|
|
112460
|
+
{
|
|
112461
|
+
"name": "Set up Ruby",
|
|
112462
|
+
"status": "completed",
|
|
112463
|
+
"conclusion": "success",
|
|
112464
|
+
"number": 3,
|
|
112465
|
+
"started_at": "2020-01-20T09:42:45.000-08:00",
|
|
112466
|
+
"completed_at": "2020-01-20T09:42:45.000-08:00"
|
|
112467
|
+
},
|
|
112468
|
+
{
|
|
112469
|
+
"name": "Run actions/cache@v2",
|
|
112470
|
+
"status": "completed",
|
|
112471
|
+
"conclusion": "success",
|
|
112472
|
+
"number": 4,
|
|
112473
|
+
"started_at": "2020-01-20T09:42:45.000-08:00",
|
|
112474
|
+
"completed_at": "2020-01-20T09:42:48.000-08:00"
|
|
112475
|
+
},
|
|
112476
|
+
{
|
|
112477
|
+
"name": "Install Bundler",
|
|
112478
|
+
"status": "completed",
|
|
112479
|
+
"conclusion": "success",
|
|
112480
|
+
"number": 5,
|
|
112481
|
+
"started_at": "2020-01-20T09:42:48.000-08:00",
|
|
112482
|
+
"completed_at": "2020-01-20T09:42:52.000-08:00"
|
|
112483
|
+
},
|
|
112484
|
+
{
|
|
112485
|
+
"name": "Install Gems",
|
|
112486
|
+
"status": "completed",
|
|
112487
|
+
"conclusion": "success",
|
|
112488
|
+
"number": 6,
|
|
112489
|
+
"started_at": "2020-01-20T09:42:52.000-08:00",
|
|
112490
|
+
"completed_at": "2020-01-20T09:42:53.000-08:00"
|
|
112491
|
+
},
|
|
112492
|
+
{
|
|
112493
|
+
"name": "Run Tests",
|
|
112494
|
+
"status": "completed",
|
|
112495
|
+
"conclusion": "success",
|
|
112496
|
+
"number": 7,
|
|
112497
|
+
"started_at": "2020-01-20T09:42:53.000-08:00",
|
|
112498
|
+
"completed_at": "2020-01-20T09:42:59.000-08:00"
|
|
112499
|
+
},
|
|
112500
|
+
{
|
|
112501
|
+
"name": "Deploy to Heroku",
|
|
112502
|
+
"status": "completed",
|
|
112503
|
+
"conclusion": "success",
|
|
112504
|
+
"number": 8,
|
|
112505
|
+
"started_at": "2020-01-20T09:42:59.000-08:00",
|
|
112506
|
+
"completed_at": "2020-01-20T09:44:39.000-08:00"
|
|
112507
|
+
},
|
|
112508
|
+
{
|
|
112509
|
+
"name": "Post actions/cache@v2",
|
|
112510
|
+
"status": "completed",
|
|
112511
|
+
"conclusion": "success",
|
|
112512
|
+
"number": 16,
|
|
112513
|
+
"started_at": "2020-01-20T09:44:39.000-08:00",
|
|
112514
|
+
"completed_at": "2020-01-20T09:44:39.000-08:00"
|
|
112515
|
+
},
|
|
112516
|
+
{
|
|
112517
|
+
"name": "Complete job",
|
|
112518
|
+
"status": "completed",
|
|
112519
|
+
"conclusion": "success",
|
|
112520
|
+
"number": 17,
|
|
112521
|
+
"started_at": "2020-01-20T09:44:39.000-08:00",
|
|
112522
|
+
"completed_at": "2020-01-20T09:44:39.000-08:00"
|
|
112523
|
+
}
|
|
112524
|
+
],
|
|
112525
|
+
"check_run_url": "https://api.github.com/repos/octo-org/octo-repo/check-runs/399444496",
|
|
112526
|
+
"labels": ["self-hosted", "foo", "bar"],
|
|
112527
|
+
"runner_id": 1,
|
|
112528
|
+
"runner_name": "my runner",
|
|
112529
|
+
"runner_group_id": 2,
|
|
112530
|
+
"runner_group_name": "my runner group"
|
|
112531
|
+
}
|
|
112532
|
+
]
|
|
112533
|
+
}
|
|
112534
|
+
}
|
|
112535
|
+
}
|
|
112536
|
+
}
|
|
112537
|
+
},
|
|
112538
|
+
"headers": {
|
|
112539
|
+
"Link": {
|
|
112540
|
+
"example": "<https://api.github.com/resource?page=2>; rel=\"next\", <https://api.github.com/resource?page=5>; rel=\"last\"",
|
|
112541
|
+
"schema": { "type": "string" }
|
|
112542
|
+
}
|
|
112543
|
+
}
|
|
112544
|
+
},
|
|
112545
|
+
"404": {
|
|
112546
|
+
"description": "Resource not found",
|
|
112547
|
+
"content": {
|
|
112548
|
+
"application/json": {
|
|
112549
|
+
"schema": {
|
|
112550
|
+
"title": "Basic Error",
|
|
112551
|
+
"description": "Basic Error",
|
|
112552
|
+
"type": "object",
|
|
112553
|
+
"properties": {
|
|
112554
|
+
"message": { "type": "string" },
|
|
112555
|
+
"documentation_url": { "type": "string" },
|
|
112556
|
+
"url": { "type": "string" },
|
|
112557
|
+
"status": { "type": "string" }
|
|
112558
|
+
}
|
|
112559
|
+
}
|
|
112560
|
+
}
|
|
112561
|
+
}
|
|
112562
|
+
}
|
|
112563
|
+
},
|
|
112564
|
+
"x-github": {
|
|
112565
|
+
"githubCloudOnly": false,
|
|
112566
|
+
"enabledForGitHubApps": true,
|
|
112567
|
+
"previews": [],
|
|
112568
|
+
"category": "actions",
|
|
112569
|
+
"subcategory": "workflow-jobs"
|
|
112570
|
+
},
|
|
112571
|
+
"x-octokit": {}
|
|
112572
|
+
}
|
|
112573
|
+
},
|
|
112185
112574
|
"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": {
|
|
112186
112575
|
"get": {
|
|
112187
112576
|
"summary": "Download workflow run attempt logs",
|
|
@@ -266062,6 +266451,9 @@
|
|
|
266062
266451
|
}
|
|
266063
266452
|
}
|
|
266064
266453
|
}
|
|
266454
|
+
},
|
|
266455
|
+
"422": {
|
|
266456
|
+
"description": "Response if you upload an asset with the same filename as another uploaded asset"
|
|
266065
266457
|
}
|
|
266066
266458
|
},
|
|
266067
266459
|
"x-github": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -14123,6 +14123,59 @@
|
|
|
14123
14123
|
"x-octokit": {}
|
|
14124
14124
|
}
|
|
14125
14125
|
},
|
|
14126
|
+
"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs": {
|
|
14127
|
+
"get": {
|
|
14128
|
+
"summary": "List jobs for a workflow run attempt",
|
|
14129
|
+
"description": "Lists jobs for a specific workflow run attempt. Anyone with read access to the repository can use this endpoint. If the repository is private you must use an access token with the `repo` scope. GitHub Apps must have the `actions:read` permission to use this endpoint. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/rest/overview/resources-in-the-rest-api#parameters).",
|
|
14130
|
+
"tags": ["actions"],
|
|
14131
|
+
"operationId": "actions/list-jobs-for-workflow-run-attempt",
|
|
14132
|
+
"externalDocs": {
|
|
14133
|
+
"description": "API method documentation",
|
|
14134
|
+
"url": "https://docs.github.com/rest/reference/actions#list-jobs-for-a-workflow-run-attempt"
|
|
14135
|
+
},
|
|
14136
|
+
"parameters": [
|
|
14137
|
+
{ "$ref": "#/components/parameters/owner" },
|
|
14138
|
+
{ "$ref": "#/components/parameters/repo" },
|
|
14139
|
+
{ "$ref": "#/components/parameters/run-id" },
|
|
14140
|
+
{ "$ref": "#/components/parameters/attempt-number" },
|
|
14141
|
+
{ "$ref": "#/components/parameters/per-page" },
|
|
14142
|
+
{ "$ref": "#/components/parameters/page" }
|
|
14143
|
+
],
|
|
14144
|
+
"responses": {
|
|
14145
|
+
"200": {
|
|
14146
|
+
"description": "Response",
|
|
14147
|
+
"content": {
|
|
14148
|
+
"application/json": {
|
|
14149
|
+
"schema": {
|
|
14150
|
+
"type": "object",
|
|
14151
|
+
"required": ["total_count", "jobs"],
|
|
14152
|
+
"properties": {
|
|
14153
|
+
"total_count": { "type": "integer" },
|
|
14154
|
+
"jobs": {
|
|
14155
|
+
"type": "array",
|
|
14156
|
+
"items": { "$ref": "#/components/schemas/job" }
|
|
14157
|
+
}
|
|
14158
|
+
}
|
|
14159
|
+
},
|
|
14160
|
+
"examples": {
|
|
14161
|
+
"default": { "$ref": "#/components/examples/job-paginated" }
|
|
14162
|
+
}
|
|
14163
|
+
}
|
|
14164
|
+
},
|
|
14165
|
+
"headers": { "Link": { "$ref": "#/components/headers/link" } }
|
|
14166
|
+
},
|
|
14167
|
+
"404": { "$ref": "#/components/responses/not_found" }
|
|
14168
|
+
},
|
|
14169
|
+
"x-github": {
|
|
14170
|
+
"githubCloudOnly": false,
|
|
14171
|
+
"enabledForGitHubApps": true,
|
|
14172
|
+
"previews": [],
|
|
14173
|
+
"category": "actions",
|
|
14174
|
+
"subcategory": "workflow-jobs"
|
|
14175
|
+
},
|
|
14176
|
+
"x-octokit": {}
|
|
14177
|
+
}
|
|
14178
|
+
},
|
|
14126
14179
|
"/repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs": {
|
|
14127
14180
|
"get": {
|
|
14128
14181
|
"summary": "Download workflow run attempt logs",
|
|
@@ -29587,6 +29640,9 @@
|
|
|
29587
29640
|
}
|
|
29588
29641
|
}
|
|
29589
29642
|
}
|
|
29643
|
+
},
|
|
29644
|
+
"422": {
|
|
29645
|
+
"description": "Response if you upload an asset with the same filename as another uploaded asset"
|
|
29590
29646
|
}
|
|
29591
29647
|
},
|
|
29592
29648
|
"x-github": {
|
|
@@ -39622,9 +39678,7 @@
|
|
|
39622
39678
|
"application/json": {
|
|
39623
39679
|
"schema": { "$ref": "#/components/schemas/code-of-conduct" },
|
|
39624
39680
|
"examples": {
|
|
39625
|
-
"default": {
|
|
39626
|
-
"$ref": "#/components/examples/code-of-conduct-2"
|
|
39627
|
-
}
|
|
39681
|
+
"default": { "$ref": "#/components/examples/code-of-conduct" }
|
|
39628
39682
|
}
|
|
39629
39683
|
}
|
|
39630
39684
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
package/generated/ghes-2.22.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -242306,6 +242306,9 @@
|
|
|
242306
242306
|
}
|
|
242307
242307
|
}
|
|
242308
242308
|
}
|
|
242309
|
+
},
|
|
242310
|
+
"422": {
|
|
242311
|
+
"description": "Response if you upload an asset with the same filename as another uploaded asset"
|
|
242309
242312
|
}
|
|
242310
242313
|
},
|
|
242311
242314
|
"x-github": {
|
package/generated/ghes-3.0.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -28670,6 +28670,9 @@
|
|
|
28670
28670
|
}
|
|
28671
28671
|
}
|
|
28672
28672
|
}
|
|
28673
|
+
},
|
|
28674
|
+
"422": {
|
|
28675
|
+
"description": "Response if you upload an asset with the same filename as another uploaded asset"
|
|
28673
28676
|
}
|
|
28674
28677
|
},
|
|
28675
28678
|
"x-github": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.10.0",
|
|
5
5
|
"title": "GitHub's official OpenAPI spec + Octokit extension",
|
|
6
6
|
"description": "OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs",
|
|
7
7
|
"license": { "name": "MIT", "url": "https://spdx.org/licenses/MIT" },
|
|
@@ -245451,6 +245451,9 @@
|
|
|
245451
245451
|
}
|
|
245452
245452
|
}
|
|
245453
245453
|
}
|
|
245454
|
+
},
|
|
245455
|
+
"422": {
|
|
245456
|
+
"description": "Response if you upload an asset with the same filename as another uploaded asset"
|
|
245454
245457
|
}
|
|
245455
245458
|
},
|
|
245456
245459
|
"x-github": {
|