bulk
Vesta API · 6.0.75 · Community
POST/api/v1/backups/bulk-createBulk Create Backups
Atomically freeze targets, per-target outcomes and original dispatches.
Parameters
Idempotency-Key · header · Optional
Caller-supplied UUID identifying this intent permanently. Reuse only for the same original principal, organization, action and normalized input. Not HTTP X-Request-ID.
{
"format": "uuid",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Durable admission receipt; pending/queued is not proof of external execution or success. A replay returns the original nonsecret receipt.
Headers
{
"Cache-Control": {
"schema": {
"const": "no-store"
}
},
"Idempotency-Key": {
"schema": {
"format": "uuid",
"type": "string"
}
},
"Idempotency-Replayed": {
"schema": {
"enum": [
"true",
"false"
],
"type": "string"
}
},
"X-Request-ID": {
"description": "Per-HTTP-request correlation, separate from durable admission identity.",
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"details": {
"additionalProperties": false,
"properties": {
"created": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"backup_id",
"vm_id",
"vm_name"
],
"type": "object"
},
"type": "array"
},
"failed": {
"items": {
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"type": "string"
}
},
"required": [
"vm_id",
"reason"
],
"type": "object"
},
"type": "array"
},
"skipped": {
"items": {
"additionalProperties": false,
"properties": {
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"type": "string"
}
},
"required": [
"vm_id",
"reason"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"created",
"skipped",
"failed"
],
"type": "object"
},
"request_id": {
"format": "uuid",
"type": "string"
},
"summary": {
"additionalProperties": false,
"properties": {
"created": {
"minimum": 0,
"type": "integer"
},
"failed": {
"minimum": 0,
"type": "integer"
},
"skipped": {
"minimum": 0,
"type": "integer"
},
"total": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"created",
"skipped",
"failed"
],
"type": "object"
},
"targets": {
"items": {
"type": "string"
},
"maxItems": 200,
"minItems": 1,
"type": "array",
"uniqueItems": true
}
},
"required": [
"targets",
"summary",
"details",
"request_id"
],
"type": "object"
}400
Invalid domain request.
application/json
Schema
401
Authentication unavailable.
application/json
Schema
403
Current action authority unavailable.
application/json
Schema
404
Authorized resource unavailable.
application/json
Schema
409
Identity conflict, unresolved/retired outcome, pending agent rotation, stale KEK predecessor or unsupported provider contract.
application/json
Schema
413
Normalized intent exceeds admission limit.
application/json
Schema
422
Malformed identity, request validation or bulk target limit.
application/json
Schema
423
Existing source or operation custody prevents admission.
application/json
Schema
500
Outcome may be unknown after a lost/failing commit response. Reconcile the same request identity.
application/json
Schema
text/plain
Schema
{
"type": "string"
}503
Admission dependency unavailable.
application/json
Schema
POST/api/v1/backups/bulk-deleteBulk Delete Backups
Delete multiple backups at once (operator or admin only)
Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json
Schema
POST/api/v1/backups/bulk-tagBulk Tag Backups
Add or update tags on multiple backups at once (operator or admin only)
Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{}422
Validation Error
application/json