Backup settings
GET
The settings in force: what the page set, with what the backup service’s environment fixes in its place (meta.fixed), the next three runs, whether the backup service runs, and the key by fingerprint. Never the S3 secret key nor the key’s identity. Needs admin.backups (403 forbidden otherwise).
bearerheader
AuthorizationBearer <JWT>A service account's token (ccms_sat_…, issued by POST /service-accounts/{id}/tokens), or, for local use and demo mode, the server's shared CCMS_API_TOKEN.
X-Ccms-User?stringDemo mode only (CCMS_AUTH_MODE=demo): the user ID to act as. The bearer token is still required; without demo mode the header is refused (400).
application/vnd.api+json- response
data*The instance’s backup settings (#529), as the page sets them and with what the backup service’s environment fixes in their place.
curl -X GET 'http://localhost:3000/backup-settings'Example Response
{ "data": { "type": "BackupSettings", "id": "string", "attributes": { "enabled": true, "frequency": { "kind": "daily" }, "time": "string", "timeZone": "string", "retention": { "daily": 0, "weekly": 0, "monthly": 0 }, "location": { "kind": "local", "subfolder": "string" }, "verify": true, "verifyByDecrypting": true }, "meta": { "fixed": { "property1": "string", "property2": "string" }, "schedule": "string", "nextRuns": [ "2019-08-24T14:15:22Z" ], "service": { "running": true, "lastSeenAt": "2019-08-24T14:15:22Z" }, "key": { "fingerprint": "string", "recipient": "string", "createdAt": "2019-08-24T14:15:22Z", "identityKept": true, "fixedBy": "string" }, "updatedAt": "2019-08-24T14:15:22Z" } }}