WordPress

Take an on-demand backup now (503 when no verified dump was written)

post/projects/{projectId}/wordpress/backups

Request

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

Path parameters

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

Response

Backup finished

idstring required
kind'manual' | 'scheduled' required
status'running' | 'success' | 'failed' | 'timeout' required
filenamestring nullable required
sizeBytesinteger nullable required
durationMsinteger nullable required
messagestring required
createdAtstring nullable required

ISO-8601 timestamp

usableboolean required

true only for a dump the backup tool wrote and verified: it can be restored and downloaded. false for failed runs and for every backup made by the old export command (before the backup tool), which contains no database

Changes

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