Show backup service
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
Response
200 - Backup service
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
200 - Backup service
Read how one website is backed up. The id is the website’s backup service id: read it from the site_preset_backup include of a website (GET /api/public/v1/sites/{site}?include=site_preset_backup, which also carries the backup global configuration the website uses) or from meta.updated of “Assign websites to a backup configuration”.
Response attributes: status (enabled, disabled), schedule (the schedule inherited from the configuration), filesystem (default copies the WordPress files and the database as two areas, custom lets each area be chosen), content.included (the areas copied), content.excluded (the exclusions configured in the dashboard), last_request, next_request and the timestamps. These settings read back under the same keys “Update backup service” accepts.
A website that was never assigned a configuration has no backup service. A backup service of another organization answers 404.