Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Actor reboot endpoint #654

Merged
merged 3 commits into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions sources/platform/api_v2/api_v2_reference.apib
Original file line number Diff line number Diff line change
Expand Up @@ -2247,6 +2247,24 @@ For more information, see the [Actor docs](https://docs.apify.com/platform/actor
+ Attributes
- data (RunMetamorphed, required)

## Reboot run [/v2/actor-runs/{runId}/reboot{?token}]

### Reboot run [POST]

Reboots an actor run and returns an object that contains all the details about the rebooted run.
Only runs that are running, i.e. runs with status `RUNNING` can be rebooted.
The run's container will be restarted, so any data not persisted in the key-value store, dataset, or request queue will be lost.

+ Parameters

+ runId: `3KH8gEpp4d8uQSe8T` (string, required) - Actor run ID.
+ token: `soSkq9ekdmfOslopH` (string, required) - API authentication token.

+ Response 200 (application/json)

+ Attributes
- data (Run, required)

## Resurrect run [/v2/acts/{actorId}/runs/{runId}/resurrect{?token,build,timeout,memory}]

### Resurrect run [POST]
Expand Down