Apps

Restore a previous version

Changed on

Restore a previous version by pointing the environment to its assets.

This is instant — no rebuild required. Old assets are always retained in S3.

post/v1/apps/{app_id}/versions/{version}/restore

Request

Path parameters

app_idstring required
versioninteger required

Version number to restore

Request body

environment'staging' | 'production'

Target environment to restore

Response

Successful Response

app_idstring required
versioninteger required
deploy_idstring required
environmentstring required
asset_prefixstring required

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API