Roll a site back
rollback_siteServes an earlier version of a site again, without publishing anything. get_site lists the versions; one whose files were collected cannot be rolled back to.
Instructions
Serves an earlier version of a site again, without publishing anything. get_site lists the versions; one whose files were collected cannot be rolled back to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Subdomain or site id, from list_sites. | |
| deployId | Yes | The version to serve, from get_site's `versions`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL it is served on. | |
| deployId | Yes | The version now being served. |