Commits or resumes the two bounded native bootstrap objects for the current Source attempt.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/file-protection/agent/v1/commands/example/repository:initialize"), Headers = { { "X-Moltaro-File-Protection-Agent", "<X-Moltaro-File-Protection-Agent>" }, }, Content = new StringContent("{ \"LeaseToken\": \"example\", \"BindingRevision\": \"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0\", \"Bootstrap\": { \"BlobConfiguration\": \"example\", \"RepositoryConfiguration\": \"example\" } }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/file-protection/agent/v1/commands/example/repository:initialize';const options = { method: 'POST', headers: { 'X-Moltaro-File-Protection-Agent': '<X-Moltaro-File-Protection-Agent>', 'Content-Type': 'application/json' }, body: '{"LeaseToken":"example","BindingRevision":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","Bootstrap":{"BlobConfiguration":"example","RepositoryConfiguration":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Body
Section titled “Request Body”A null proposal requests replay/reconciliation of committed custody, never generation of another pair.
object
Exactly two native bootstrap objects; their byte digests are not Kopia repository fingerprints.
object
Examplegenerated
{ "LeaseToken": "example", "BindingRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Bootstrap": { "BlobConfiguration": "example", "RepositoryConfiguration": "example" }}A null proposal requests replay/reconciliation of committed custody, never generation of another pair.
object
Exactly two native bootstrap objects; their byte digests are not Kopia repository fingerprints.
object
Examplegenerated
{ "LeaseToken": "example", "BindingRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Bootstrap": { "BlobConfiguration": "example", "RepositoryConfiguration": "example" }}A null proposal requests replay/reconciliation of committed custody, never generation of another pair.
object
Exactly two native bootstrap objects; their byte digests are not Kopia repository fingerprints.
object
Examplegenerated
{ "LeaseToken": "example", "BindingRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "Bootstrap": { "BlobConfiguration": "example", "RepositoryConfiguration": "example" }}Responses
Section titled “Responses”OK
object
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}