Skip to content

Commit 9602ad5

Browse files
authored
feat: enable comma-separated status filtering across updated endpoints (#1782)
Following endpoints were updated in [PR #22366](apify/apify-core#22240): - `/v2/acts/:actorId/runs` - `/v2/actor-runs` - `v2/actor-tasks/:actorTaskId/runs` The change extends the status parameter to support a comma-separated list of multiple statuses, allowing filtering based on the selected values. This update reflects the changes in the documentation for the status parameter.
1 parent dc6286c commit 9602ad5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apify-api/openapi/paths/actor-runs/actor-runs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ get:
5151
- name: status
5252
in: query
5353
description: |
54-
Return only runs with the provided status ([available
55-
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle))
54+
Single status or comma-separated list of statuses, see ([available
55+
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.
5656
style: form
5757
explode: true
5858
schema:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ get:
5757
- name: status
5858
in: query
5959
description: |
60-
Return only runs with the provided status ([available
61-
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle))
60+
Single status or comma-separated list of statuses, see ([available
61+
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.
6262
style: form
6363
explode: true
6464
schema:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ get:
5959
- name: status
6060
in: query
6161
description: |
62-
Return only runs with the provided status ([available
63-
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle))
62+
Single status or comma-separated list of statuses, see ([available
63+
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)). Used to filter runs by the specified statuses only.
6464
style: form
6565
explode: true
6666
schema:

0 commit comments

Comments
 (0)