List backups
Lists the backups of every website your token can reach, newest first. Use filter[site][] for the backups of one or several websites, or filter[id][] with the ids a create or retry returned to follow that batch.
Read phase to know where a backup stands: in_progress (still running), done (a usable copy) or failed. A failed or stalled backup is retried automatically, up to 3 times (4 attempts in all, counted in attempts), within 24 hours of its creation: a rolling 24 hours from its creation time, not the rest of the calendar day. Once a backup has not changed for two hours, the server queues it again; after that it stays failed and attempts reads 4. excluded is the phase of a part that had nothing to copy, so it never matches a whole backup (see include=items on “Retrieve a backup”). status is the raw processing step behind the phase. is_favorite marks a master backup, which is kept out of the retention policy.
Your role must be allowed to read backups; 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.
in_progress, done, failed or excluded. Repeat the parameter for several. Only done is a usable copy.
Raw processing steps, for example done, pending, in_progress, uploading, failed, failed_in_creation, failed_export_database, failed_export_files, storage_exceeded. Repeat the parameter for several. Use filter[phase][] unless you need the exact step.
full or incremental. Repeat the parameter for several. Named backup_type because type is reserved in JSON:API.
How the backup started: manual, automatic for a scheduled one, or force_first for the first automatic backup of a website. Repeat the parameter for several: any of them matches.
1 returns only master backups; 0 returns only the ones that follow the retention policy.
Relations to add to the answer, comma separated: site (the website each backup belongs to) and items (the parts of each backup).
created_at or size (in bytes); prefix with - for descending. Default: -created_at (newest first).
Sparse fieldset: only the attributes named here are answered. content, restoration_allowed and has_restoration_in_progress are computed only when named here.
Response
200 - Site backups
