跳转到主要内容
POST
POST /admin/api/export

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

请求体

application/json
includeSecrets
boolean
默认值:false

Whether the sealed credential blobs travel with the configuration. An export without them still restores every row; the credentials simply arrive unable to authenticate until someone logs in again.

响应

Success

One instance's configuration as a document.

data
object
必填

Every exported table, in the order a fresh instance may replay them: a row never appears before the row it points at. Each field defaults to empty, so a document written by a build that knew fewer tables still imports.

exportedAtMs
integer<int64>
必填
formatVersion
integer<uint32>
必填
必填范围: x >= 0
secrets
string[]
必填

The sealing codecs the exported blobs actually use, sorted and without duplicates; empty when the secrets were omitted. An importer reads it before it starts, to decide whether it needs a source master key at all.

secretsOmitted
boolean
必填

True when the export was taken without secrets: every credential's secret is null.