Sandbox
Restore a commit
Resets the sandbox’s files to a commit. Production doesn’t change. To publish the restored source, create a deployment.
POST
Restore a commit
Authorizations
Scopes
Headers
A key that identifies this request for retries, up to 200 printable characters. A retry with the same key and input returns the first request's result instead of repeating the work. If you omit the key, the API generates one and returns it in the Idempotency-Key response header.
Required string length:
1 - 200Path Parameters
Body
application/json
Response
The App.
The sandbox's state. Any request that needs the sandbox starts it, and the sandbox stops on its own when it's idle.
stopped: the sandbox isn't running.starting: the sandbox is starting.running: the sandbox is running.stopping: the sandbox is committing changes and stopping.failed: the most recent start failed. The API retries while the sandbox is needed, and any request that needs the sandbox retries right away.
Available options:
stopped, starting, running, stopping, failed