List Backups
GET
/deployments/{deployment_id}/backups
const url = 'https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backups';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.mengi.cloud/deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/backupsList backups of this deployment, newest first (read live from the cluster).
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”deployment_id
required
Deployment Id
string format: uuid
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
DeploymentBackupList
object
backups
required
Backups
Array<object>
DeploymentBackupSummary of one Velero backup of a deployment’s namespace.
object
name
required
Name
string
phase
required
Phase
string
errors
Errors
integer
warnings
Warnings
integer
total
required
Total
integer
Example
{ "backups": [ { "errors": 0, "warnings": 0 } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}