Skip to content

Commit 3436f2c

Browse files
committed
Add missing ActorJobStatus
1 parent ff3dcd0 commit 3436f2c

5 files changed

Lines changed: 16 additions & 8 deletions

File tree

apify-api/openapi/components/schemas/actor-builds/Build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ properties:
2626
nullable: true
2727
example: '2019-12-12T09:30:12.202Z'
2828
status:
29-
type: string
30-
example: SUCCEEDED
29+
$ref: ../common/ActorJobStatus.yaml
3130
meta:
3231
$ref: ./BuildsMeta.yaml
3332
stats:

apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ properties:
1414
type: string
1515
example: janedoe~my-actor
1616
status:
17-
type: string
18-
example: SUCCEEDED
17+
$ref: ../common/ActorJobStatus.yaml
1918
startedAt:
2019
type: string
2120
example: '2019-11-30T07:34:24.202Z'

apify-api/openapi/components/schemas/actor-runs/Run.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ properties:
3535
type: string
3636
example: '2019-12-12T09:30:12.202Z'
3737
status:
38-
type: string
39-
example: RUNNING
38+
$ref: ../common/ActorJobStatus.yaml
4039
statusMessage:
4140
type: string
4241
nullable: true

apify-api/openapi/components/schemas/actor-runs/RunShort.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ properties:
2424
nullable: true
2525
example: KJHSKHausidyaJKHs
2626
status:
27-
type: string
28-
example: SUCCEEDED
27+
$ref: ../common/ActorJobStatus.yaml
2928
startedAt:
3029
type: string
3130
example: '2019-11-30T07:34:24.202Z'
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
title: ActorJobStatus
2+
type: string
3+
enum:
4+
- READY
5+
- RUNNING
6+
- SUCCEEDED
7+
- FAILED
8+
- TIMING-OUT
9+
- TIMED-OUT
10+
- ABORTING
11+
- ABORTED
12+
description: Status of an Actor job (run or build).

0 commit comments

Comments
 (0)