Skip to content

Commit 114611b

Browse files
authored
docs: add stats.migrationCount to run responses (#1539)
This PR adds `stats.migrationCount` to the run response OpenAPI docs. It was previously missing.
1 parent c008a05 commit 114611b

14 files changed

+18
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ properties:
88
inputBodyLen:
99
type: number
1010
example: 240
11+
migrationCount:
12+
type: number
13+
example: 0
1114
restartCount:
1215
type: number
1316
example: 0

apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ get:
122122
userAgent: Mozilla/5.0 (iPad)
123123
stats:
124124
inputBodyLen: 240
125+
migrationCount: 0
125126
restartCount: 0
126127
resurrectCount: 2
127128
memAvgBytes: 267874071.9
@@ -246,6 +247,7 @@ put:
246247
userAgent: Mozilla/5.0 (iPad)
247248
stats:
248249
inputBodyLen: 240
250+
migrationCount: 0
249251
restartCount: 0
250252
resurrectCount: 2
251253
memAvgBytes: 267874071.9

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@abort.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ post:
5454
userAgent: Mozilla/5.0 (iPad)
5555
stats:
5656
inputBodyLen: 240
57+
migrationCount: 0
5758
restartCount: 0
5859
resurrectCount: 1
5960
memAvgBytes: 35914228.4

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ post:
7575
userAgent: Mozilla/5.0 (iPad)
7676
stats:
7777
inputBodyLen: 240
78+
migrationCount: 0
7879
restartCount: 0
7980
resurrectCount: 1
8081
memAvgBytes: 35914228.4

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ post:
4545
userAgent: Mozilla/5.0 (iPad)
4646
stats:
4747
inputBodyLen: 240
48+
migrationCount: 0
4849
restartCount: 0
4950
resurrectCount: 2
5051
memAvgBytes: 267874071.9

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ post:
6464
userAgent: Mozilla/5.0 (iPad)
6565
stats:
6666
inputBodyLen: 240
67+
migrationCount: 0
6768
restartCount: 0
6869
resurrectCount: 2
6970
memAvgBytes: 267874071.9

apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ post:
305305
scheduledAt: '2019-06-10T11:40:00.000Z'
306306
stats:
307307
inputBodyLen: 240
308+
migrationCount: 0
308309
restartCount: 0
309310
resurrectCount: 2
310311
memAvgBytes: 35914228.4

apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ get:
99
1010
The endpoints accept the same HTTP methods and query parameters as
1111
the respective storage endpoints.
12-
The base path represents the last actor task run object is:
12+
The base path represents the last actor task run object is:
1313
1414
`/v2/actor-tasks/{actorTaskId}/runs/last{?token,status}`
1515
@@ -97,6 +97,7 @@ get:
9797
userAgent: Mozilla/5.0 (iPad)
9898
stats:
9999
inputBodyLen: 240
100+
migrationCount: 0
100101
restartCount: 0
101102
resurrectCount: 2
102103
memAvgBytes: 267874071.9

apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ post:
285285
userAgent: Mozilla/5.0 (iPad)
286286
stats:
287287
inputBodyLen: 240
288+
migrationCount: 0
288289
restartCount: 0
289290
resurrectCount: 2
290291
memAvgBytes: 267874071.9

apify-api/openapi/paths/actors/acts@{actorId}@[email protected]

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ get:
9999
userAgent: Mozilla/5.0 (iPad)
100100
stats:
101101
inputBodyLen: 240
102+
migrationCount: 0
102103
restartCount: 0
103104
resurrectCount: 2
104105
memAvgBytes: 267874071.9

0 commit comments

Comments
 (0)