Start a pre-receive environment download
Triggers a new download of the environment tarball from the environment's `image_url`. When the download is finished, the newly downloaded tarball will overwrite the existing environment. If a download cannot be triggered, you will receive a `422 Unprocessable Entity` response. The possible error messages are: * _Cannot modify or delete the default environment_ * _Can not start a new download when a download is in progress_
POST
/admin/pre-receive-environments/{pre_receive_environment_id}/downloads- Source
github-v3-rest.json- Revision
f5f067c1e6f6- Active snapshot
85e53e3d0d65
Request
Path Parameters
- pre_receive_environment_id integerrequired
Responses
application/json pre-receive-environment-download-status object
Response
downloaded_at string
optionalnullable message string
optionalnullable state string
optionalurl string
optionalapplication/json object
Client Errors
errors array[object]optional
errors array[object]
optional items object
items object
code string
optionalmessage string
optionalresource string
optionalmessage string
optional