v1

latestSwagger 2.02026-07-13180103150.2 KB
database

Creates a point-in-time snapshot of a database branch. Defaults to the production branch if no branch name is specified.

post/sites/{site_id}/database/snapshot

Request body

branch_idstring

The ID of the branch to snapshot. Defaults to "production" if not specified.

namestring

A name for the snapshot

Response

Created

idstring

The unique identifier of the snapshot

source_branch_idstring

The ID of the branch that was snapshotted

manualboolean

Whether this snapshot was manually created

created_atstring dateTime

When the snapshot was created

expires_atstring dateTime

When the snapshot expires

timestampstring dateTime

The point-in-time timestamp of the snapshot