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_namestring

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

namestring

An optional name for the snapshot

Response

Created

idstring

The unique identifier of the snapshot

timestampstring dateTime

The timestamp when the snapshot was created

source_branch_idstring

The ID of the branch that was snapshotted

Changes