Skip to content

Commits or resumes the two bounded native bootstrap objects for the current Source attempt.

POST
/api/workspace/file-protection/agent/v1/commands/{commandId}/repository:initialize
curl --request POST \
--url https://example.com/api/workspace/file-protection/agent/v1/commands/example/repository:initialize \
--header 'Content-Type: application/json' \
--header 'X-Moltaro-File-Protection-Agent: <X-Moltaro-File-Protection-Agent>' \
--data '{ "LeaseToken": "example", "BindingRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Bootstrap": { "BlobConfiguration": "example", "RepositoryConfiguration": "example" } }'

Requires TLS at the API connection. A workspace bearer token does not authenticate an Agent.

Send the enrolled device credential in the X-Moltaro-File-Protection-Agent header. Revoked or invalid credentials are rejected.

commandId
required
string

A null proposal requests replay/reconciliation of committed custody, never generation of another pair.

object
LeaseToken
string
nullable
BindingRevision
string format: uuid
Bootstrap

Exactly two native bootstrap objects; their byte digests are not Kopia repository fingerprints.

object
BlobConfiguration
string
nullable
RepositoryConfiguration
string
nullable
Examplegenerated
{
"LeaseToken": "example",
"BindingRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"Bootstrap": {
"BlobConfiguration": "example",
"RepositoryConfiguration": "example"
}
}

OK

Media typeapplication/json
object
Data
object
BindingRevision
string format: uuid
Errors
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Warnings
Array<object>
nullable
object
Code
required
string
nullable
Message
required
string
nullable
Target
string
nullable
Field
string
nullable
Metadata
object
key
additional properties
string
nullable
Type
integer format: int32
Allowed values: 0 1 2
Severity
integer format: int32
Allowed values: 0 1 2
Success
boolean
Example
{
"Errors": [
{
"Type": 0,
"Severity": 0
}
],
"Warnings": [
{
"Type": 0,
"Severity": 0
}
]
}