Databases

Get the native scheduled-backup configuration, if one exists

get/databases/{databaseId}/backups

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/databases/{databaseId}/backups
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Path parameters

databaseIdstring uuid required
Example:3f2b8a4e-5c1d-4e8f-9a7b-2c6d1e0f4a5b

Response

The schedule, or null if none exists

enabledboolean required
frequencystring required
retentionDaysinteger nullable required
retentionAmountinteger nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.