v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-01-0382859610.0 MB
enterprise-admin

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

Path parameters

pre_receive_environment_idinteger required

The unique identifier of the pre-receive environment.

Response

Response

urlstring
statestring
downloaded_atstring nullable
messagestring nullable