Skip to content

Commit

Permalink
feat: Add Actor reboot endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jirimoravcik committed Jul 26, 2023
1 parent e529efa commit ce1d281
Showing 1 changed file with 18 additions and 0 deletions.
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.

+ 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

0 comments on commit ce1d281

Please sign in to comment.