Skip to content

List Backups

GET
/deployments/{deployment_id}/backups
curl --request GET \
--url https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backups

List backups of this deployment, newest first (read live from the cluster).

deployment_id
required
Deployment Id
string format: uuid

Successful Response

Media typeapplication/json
DeploymentBackupList
object
backups
required
Backups
Array<object>
DeploymentBackup

Summary of one Velero backup of a deployment’s namespace.

object
name
required
Name
string
phase
required
Phase
string
started_at
Started At
Any of:
string format: date-time
completed_at
Completed At
Any of:
string format: date-time
expires_at
Expires At
Any of:
string format: date-time
errors
Errors
integer
0
warnings
Warnings
integer
0
schedule_name
Schedule Name
Any of:
string
total
required
Total
integer

Example

{
"backups": [
{
"errors": 0,
"warnings": 0
}
]
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}