List restorations
Lists the restorations run from your backups, newest first. Use it to follow how a restoration is going or why it failed: phase is in_progress, done, failed or excluded, status is the raw step (download, unzip, move, database and so on), and a restoration that never finished before its expired_at reads phase: failed. type tells a restoration in place from the migration variants (migration_same_domain, migration_new_domain, migration_existing_site, migration_staging).
Restorations are read only by design: a restoration touches the customer’s files and database, so it is started from the dashboard. Nothing in this API starts, cancels or downloads one.
Your role must be allowed to read restorations; without it the request answers 404.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Query parameters
Exact website ids. Repeat the parameter for several: any of them matches.
Exact backup ids: the restorations run from those backups. Repeat the parameter for several.
in_progress, done, failed or excluded. Repeat the parameter for several.
Raw processing steps, for when phase is not enough. Repeat the parameter for several.
restoration, migration_same_domain, migration_new_domain, migration_existing_site or migration_staging. Repeat the parameter for several.
Relations to add to the answer, comma separated: site (the website) and backup (the backup the restoration came from).
created_at or updated_at; prefix with - for descending. Default: -created_at (newest first).
Response
200 - Site restorations, one finished and one in progress
