Skip to main content
POST
Protect an application deployment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string
required

The application's id.

deployment_id
string<uuid>
required

The application deployment.

Body

application/json

The backup policy to put the deployment's stack under.

vault_id
string
schedule
string
retention
ApplicationBackupRetentionInput · object | null

How many restore points to keep per period, with a floor on count and age.

selection
ApplicationBackupSelectionInput · object | null

What a restore point carries: the stack's databases and which persistent volume claims.

backup_now
boolean

Response

The policy now in force.

What a protect or an unprotect answers with.

stack_name
string
required
policy
ApplicationBackupPolicy · object
required
backup_stack
string
required

Whether the data plane that takes the captures is installed on this cluster yet: ready, installing, or blocked when the install keeps failing, with the reason in Warnings.

warnings
string[]
required
restore_point_id
string | null
required
run_id
string | null
required
commit_sha
string | null
required
commit_url
string | null
required
restore_point
object | null

A restore point with its manifest. Each manifest asset may carry artifacts, the uploaded files with size_bytes and sha256 as verified at capture; object keys are withheld.

git_push_message
string