Skip to main content
POST
Import a backup document

Authorizations

x-api-key
string
header
required

Body

application/json

Import request — a backup document produced by the export route, the section names to import from it, and the per-record mode.

document
Document · object
required
sections
string[]
required
mode
enum<string>
default:skip
Available options:
skip,
overwrite

Response

Success.

data
BackupImportResult · object
required

The import report: ok false when any selected section errored, and the per-section reports keyed by section name.