schedules
Vesta API · 6.0.76 · Community
GET/api/v1/schedulesList Schedules
List all backup schedules
Parameters
skip · query · Optional
{
"default": 0,
"title": "Skip",
"type": "integer"
}limit · query · Optional
{
"default": 50,
"title": "Limit",
"type": "integer"
}enabled · query · Optional
{
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Enabled"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"has_more": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"backup_policy": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
{
"type": "null"
}
]
},
"backup_type": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"cron_expression": {
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"exclude_disks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"last_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"next_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"description": "User-defined tag keys and JSON values.",
"type": "object",
"x-open-schema-reason": "User-defined tag keys and JSON values."
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_group_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"workers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"id",
"name",
"vm_id",
"vm_group_id",
"cron_expression",
"backup_type",
"backup_policy",
"exclude_disks",
"workers",
"retention_days",
"tags",
"enabled",
"next_run_at",
"created_at",
"last_run_at",
"updated_at",
"vm_name",
"vm_group_name"
],
"type": "object"
},
"type": "array"
},
"limit": {
"type": "integer"
},
"skip": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total",
"skip",
"limit",
"has_more"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Only in demo deployment mode: ordinary API surface is denied before handlers
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/schedulesCreate Schedule
Create a new backup schedule (operator or admin only)
Request body
Required
application/json
Schema
Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"backup_policy": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
{
"type": "null"
}
]
},
"backup_type": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"cron_expression": {
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"exclude_disks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"next_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"description": "User-defined tag keys and JSON values.",
"type": "object",
"x-open-schema-reason": "User-defined tag keys and JSON values."
},
{
"type": "null"
}
]
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"workers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"id",
"name",
"vm_id",
"vm_group_id",
"cron_expression",
"backup_type",
"backup_policy",
"exclude_disks",
"workers",
"retention_days",
"tags",
"enabled",
"next_run_at",
"created_at"
],
"type": "object"
}400
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}DELETE/api/v1/schedules/{schedule_id}Delete Schedule
Delete schedule (operator or admin only)
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}GET/api/v1/schedules/{schedule_id}Get Schedule
Get schedule details
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"backup_policy": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
{
"type": "null"
}
]
},
"backup_type": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"cron_expression": {
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"exclude_disks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"last_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"next_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"description": "User-defined tag keys and JSON values.",
"type": "object",
"x-open-schema-reason": "User-defined tag keys and JSON values."
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_group_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"workers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"id",
"name",
"vm_id",
"vm_group_id",
"cron_expression",
"backup_type",
"backup_policy",
"exclude_disks",
"workers",
"retention_days",
"tags",
"enabled",
"next_run_at",
"created_at",
"last_run_at",
"updated_at",
"vm_name",
"vm_group_name"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Only in demo deployment mode: ordinary API surface is denied before handlers
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}PUT/api/v1/schedules/{schedule_id}Update Schedule
Update schedule (operator or admin only)
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"backup_policy": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
{
"type": "null"
}
]
},
"backup_type": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"cron_expression": {
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"exclude_disks": {
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"type": "string"
},
"last_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"next_run_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"retention_days": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"description": "User-defined tag keys and JSON values.",
"type": "object",
"x-open-schema-reason": "User-defined tag keys and JSON values."
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"workers": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"id",
"name",
"vm_id",
"vm_group_id",
"cron_expression",
"backup_type",
"backup_policy",
"exclude_disks",
"workers",
"retention_days",
"tags",
"enabled",
"next_run_at",
"created_at",
"last_run_at",
"updated_at"
],
"type": "object"
}400
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}DELETE/api/v1/schedules/{schedule_id}/grantRevoke Schedule Grant
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"enabled"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}GET/api/v1/schedules/{schedule_id}/grantGet Schedule Grant
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"revision": {
"maximum": 9223372036854775807,
"minimum": 1,
"type": "integer"
},
"scope": {
"additionalProperties": false,
"properties": {
"configuration_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"encryption": {
"additionalProperties": false,
"properties": {
"format": {
"type": "string"
},
"key_ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"format",
"key_ref"
],
"type": "object"
},
"members": {
"items": {
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"namespace": {
"type": "string"
},
"provider": {
"enum": [
"libvirt",
"kubevirt"
],
"type": "string"
},
"source_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_uid": {
"type": "string"
}
},
"required": [
"vm_id",
"agent_id",
"vm_uid",
"namespace",
"provider",
"source_sha256"
],
"type": "object"
},
"maxItems": 256,
"minItems": 1,
"type": "array"
},
"options": {
"additionalProperties": false,
"properties": {
"backup_policy": {
"additionalProperties": false,
"properties": {
"full_every_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"max_incrementals": {
"maximum": 255,
"minimum": 1,
"type": "integer"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"full_every_days",
"max_incrementals"
],
"type": "object"
},
"backup_type": {
"enum": [
"full",
"incremental",
"automatic"
],
"type": "string"
},
"exclude_disks": {
"items": {
"type": "string"
},
"type": "array"
},
"retention_days": {
"maximum": 36500,
"minimum": 1,
"type": "integer"
},
"workers": {
"anyOf": [
{
"maximum": 256,
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"backup_type",
"retention_days",
"exclude_disks",
"workers"
],
"type": "object"
},
"org_id": {
"type": "string"
},
"revision": {
"maximum": 9223372036854775807,
"minimum": 1,
"type": "integer"
},
"schedule_id": {
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
},
"target": {
"additionalProperties": false,
"properties": {
"bucket": {
"type": "string"
},
"capability_profile": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"prefix": {
"type": "string"
},
"region": {
"type": "string"
}
},
"required": [
"endpoint",
"bucket",
"region",
"prefix",
"capability_profile"
],
"type": "object"
}
},
"required": [
"schema",
"org_id",
"schedule_id",
"revision",
"configuration_sha256",
"members",
"target",
"encryption",
"options"
],
"type": "object"
},
"scope_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"scope",
"scope_sha256",
"revision"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/schedules/{schedule_id}/grantEnroll Schedule Grant
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"authority_revision": {
"type": "integer"
},
"authority_state": {
"enum": [
"retired",
"unenrolled",
"binding_invalid",
"revoked",
"org_epoch_held",
"active",
"paused"
],
"type": "string"
},
"current_grant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enabled": {
"type": "boolean"
},
"grant_id": {
"type": "string"
}
},
"required": [
"authority_revision",
"current_grant_id",
"authority_state",
"grant_id",
"enabled"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}409
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/schedules/{schedule_id}/run-nowRun Schedule Now
Manually trigger a schedule to run immediately (operator or admin only)
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"message": {
"type": "string"
},
"schedule_id": {
"type": "string"
}
},
"required": [
"message",
"schedule_id"
],
"type": "object"
}401
Bearer absent, invalid, disabled, stale or organization unavailable
Headers
{
"WWW-Authenticate": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}403
Persisted identity lacks required role or installation/platform authority
Headers
{
"X-Vnbui-Environment": {
"schema": {
"type": "string"
}
},
"X-Vnbui-Simulated": {
"schema": {
"type": "string"
}
}
}application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"const": "DEMO_POLICY_DENIED",
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"environment": {
"const": "demo",
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"detail",
"environment",
"simulated"
],
"type": "object"
}
]
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}422
Validation Error
application/json
Schema
500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}