Make a past version live again (Pro/Team)
Changed onPublishes the version's files as a new live version with source restore. The expiry and any open editor draft stay as they are. Retrying with the same idempotency_key returns the first result; when the version's files equal the live ones, the live version comes back unchanged.
post/drops/{slug}/versions/{id}/restore
Request
- Base URL: https://ship.page
- URL: https://ship.page/drops/{slug}/versions/{id}/restore
- Auth: HTTP bearer
Request body
Response
The live version.
Changes
- info
endpoint added
- info