demo
Vesta API · 6.0.82 · Community
POST/api/v1/demo/backupsCreate Backup
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"chain_position": {
"type": "integer"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"parent_backup_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"backup_type",
"status",
"progress",
"parent_backup_id",
"chain_id",
"chain_position",
"created_at",
"completed_at",
"error_message",
"simulated",
"events"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/backups/{backup_id}/retryRetry Backup
Parameters
backup_id · path · Required
{
"title": "Backup Id",
"type": "string"
}vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"chain_position": {
"type": "integer"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"parent_backup_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"size_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"storage_path": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"backup_type",
"status",
"progress",
"parent_backup_id",
"chain_id",
"chain_position",
"created_at",
"completed_at",
"error_message",
"simulated",
"events"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/groupsCreate Group
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"group_type": {
"type": "string"
},
"id": {
"type": "string"
},
"member_count": {
"type": "integer"
},
"name": {
"type": "string"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"op": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"field",
"op",
"value"
],
"type": "object"
},
"type": "array"
},
"rules_match": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"id",
"name",
"group_type",
"rules",
"rules_match",
"member_count",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/groups/previewPreview Group
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"items": {
"items": {
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"target",
"format",
"size_bytes",
"source"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"memory_kb": {
"type": "integer"
},
"metadata": {
"additionalProperties": false,
"properties": {
"environment": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"supports_incremental": {
"type": "boolean"
}
},
"required": [
"environment",
"supports_incremental",
"simulated"
],
"type": "object"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"uuid": {
"type": "string"
},
"vcpu_count": {
"type": "integer"
}
},
"required": [
"id",
"uuid",
"name",
"agent_id",
"state",
"memory_kb",
"vcpu_count",
"disks",
"metadata"
],
"type": "object"
},
"type": "array"
},
"simulated": {
"const": true,
"type": "boolean"
},
"total": {
"type": "integer"
}
},
"required": [
"items",
"total",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}PUT/api/v1/demo/groups/{group_id}Update Group
Parameters
group_id · path · Required
{
"title": "Group Id",
"type": "string"
}vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"group_type": {
"type": "string"
},
"id": {
"type": "string"
},
"member_count": {
"type": "integer"
},
"name": {
"type": "string"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"op": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"field",
"op",
"value"
],
"type": "object"
},
"type": "array"
},
"rules_match": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"id",
"name",
"group_type",
"rules",
"rules_match",
"member_count",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/resetReset Session
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"absolute_expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"environment": {
"const": "demo",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"fixture_version": {
"type": "string"
},
"session_id": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"state": {
"additionalProperties": false,
"properties": {
"activity": {
"items": {
"additionalProperties": false,
"properties": {
"action": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_name": {
"type": "string"
}
},
"required": [
"simulated"
],
"type": "object"
},
"id": {
"type": "string"
},
"resource_id": {
"type": "string"
},
"resource_type": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"id",
"action",
"resource_type",
"resource_id",
"created_at",
"details"
],
"type": "object"
},
"type": "array"
},
"agents": {
"items": {
"additionalProperties": false,
"properties": {
"capabilities": {
"additionalProperties": false,
"properties": {
"backup_method": {
"type": "string"
},
"checkpoints": {
"type": "boolean"
},
"incremental": {
"type": "boolean"
},
"snapshots": {
"type": "boolean"
}
},
"required": [
"incremental",
"backup_method"
],
"type": "object"
},
"display_name": {
"type": "string"
},
"health_reasons": {
"additionalProperties": false,
"properties": {
"libvirt_unavailable": {
"type": "integer"
},
"load_high": {
"type": "integer"
},
"storage_low": {
"type": "integer"
}
},
"required": [
"storage_low",
"load_high",
"libvirt_unavailable"
],
"type": "object"
},
"hostname": {
"type": "string"
},
"id": {
"type": "string"
},
"last_heartbeat": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"provider": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
}
},
"required": [
"id",
"hostname",
"display_name",
"status",
"provider",
"last_heartbeat",
"capabilities",
"simulated"
],
"type": "object"
},
"type": "array"
},
"backups": {
"items": {
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"chain_position": {
"type": "integer"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"parent_backup_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"size_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"storage_path": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"backup_type",
"status",
"progress",
"parent_backup_id",
"chain_id",
"chain_position",
"created_at",
"completed_at",
"error_message",
"simulated"
],
"type": "object"
},
"type": "array"
},
"environment": {
"const": "demo",
"type": "string"
},
"fixture_version": {
"type": "string"
},
"generated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"groups": {
"items": {
"additionalProperties": false,
"properties": {
"group_type": {
"type": "string"
},
"id": {
"type": "string"
},
"member_count": {
"type": "integer"
},
"name": {
"type": "string"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"op": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"field",
"op",
"value"
],
"type": "object"
},
"type": "array"
},
"rules_match": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_ids": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"name",
"group_type",
"simulated"
],
"type": "object"
},
"type": "array"
},
"persona": {
"additionalProperties": false,
"properties": {
"hands_on": {
"type": "string"
},
"msp_context": {
"type": "string"
},
"msp_message": {
"type": "string"
}
},
"required": [
"hands_on",
"msp_context",
"msp_message"
],
"type": "object"
},
"restores": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
},
"target_vm_id": {
"type": "string"
}
},
"required": [
"id",
"backup_id",
"target_vm_id",
"status",
"progress",
"created_at",
"completed_at",
"simulated"
],
"type": "object"
},
"type": "array"
},
"schedules": {
"items": {
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"cron_expression": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"retention_days": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"cron_expression",
"retention_days",
"backup_type",
"enabled",
"simulated"
],
"type": "object"
},
"type": "array"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vms": {
"items": {
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"target",
"format",
"size_bytes",
"source"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"memory_kb": {
"type": "integer"
},
"metadata": {
"additionalProperties": false,
"properties": {
"environment": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"supports_incremental": {
"type": "boolean"
}
},
"required": [
"environment",
"supports_incremental",
"simulated"
],
"type": "object"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"uuid": {
"type": "string"
},
"vcpu_count": {
"type": "integer"
}
},
"required": [
"id",
"uuid",
"name",
"agent_id",
"state",
"memory_kb",
"vcpu_count",
"disks",
"metadata"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"fixture_version",
"generated_at",
"environment",
"simulated",
"persona",
"agents",
"vms",
"groups",
"schedules",
"backups",
"restores",
"activity"
],
"type": "object"
}
},
"required": [
"session_id",
"fixture_version",
"expires_at",
"absolute_expires_at",
"environment",
"simulated",
"state"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/restoresCreate Restore
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
},
"target_vm_id": {
"type": "string"
}
},
"required": [
"id",
"backup_id",
"target_vm_id",
"status",
"progress",
"created_at",
"completed_at",
"events",
"message",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/schedulesCreate Schedule
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Request body
Required
application/json
Schema
Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"cron_expression": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"retention_days": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"cron_expression",
"retention_days",
"backup_type",
"enabled",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/schedules/{schedule_id}/runRun Schedule
Parameters
schedule_id · path · Required
{
"title": "Schedule Id",
"type": "string"
}vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"chain_position": {
"type": "integer"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"parent_backup_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"backup_type",
"status",
"progress",
"parent_backup_id",
"chain_id",
"chain_position",
"created_at",
"completed_at",
"error_message",
"simulated",
"events"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
{
"anyOf": [
{
"$ref": "#/components/schemas/HTTPValidationError"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}
]
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}POST/api/v1/demo/sessionsCreate Session
Authentication
Anonymous access
Responses
201
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"absolute_expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"environment": {
"const": "demo",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"fixture_version": {
"type": "string"
},
"session_id": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"session_id",
"fixture_version",
"expires_at",
"absolute_expires_at",
"environment",
"simulated"
],
"type": "object"
}401
If a Bearer header is supplied, middleware may reject malformed tenant credentials before route dispatch
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}404
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"type": "string"
}
},
"required": [
"detail"
],
"type": "object"
}429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}503
Request refused or failed
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
}DELETE/api/v1/demo/sessions/currentDestroy Session
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
204
Successful Response
401
If a Bearer header is supplied, middleware may reject malformed tenant credentials before route dispatch
application/json
Schema
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}GET/api/v1/demo/sessions/currentCurrent Session
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"absolute_expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"environment": {
"const": "demo",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"fixture_version": {
"type": "string"
},
"session_id": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"session_id",
"fixture_version",
"expires_at",
"absolute_expires_at",
"environment",
"simulated"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}GET/api/v1/demo/stateGet State
Parameters
vnbui_demo_session · cookie · Optional
{
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vnbui Demo Session"
}Authentication
Responses
200
Successful Response
application/json
Schema
{
"additionalProperties": false,
"properties": {
"activity": {
"items": {
"additionalProperties": false,
"properties": {
"action": {
"type": "string"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"details": {
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_name": {
"type": "string"
}
},
"required": [
"simulated"
],
"type": "object"
},
"id": {
"type": "string"
},
"resource_id": {
"type": "string"
},
"resource_type": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
}
},
"required": [
"id",
"action",
"resource_type",
"resource_id",
"created_at",
"details"
],
"type": "object"
},
"type": "array"
},
"agents": {
"items": {
"additionalProperties": false,
"properties": {
"capabilities": {
"additionalProperties": false,
"properties": {
"backup_method": {
"type": "string"
},
"checkpoints": {
"type": "boolean"
},
"incremental": {
"type": "boolean"
},
"snapshots": {
"type": "boolean"
}
},
"required": [
"incremental",
"backup_method"
],
"type": "object"
},
"display_name": {
"type": "string"
},
"health_reasons": {
"additionalProperties": false,
"properties": {
"libvirt_unavailable": {
"type": "integer"
},
"load_high": {
"type": "integer"
},
"storage_low": {
"type": "integer"
}
},
"required": [
"storage_low",
"load_high",
"libvirt_unavailable"
],
"type": "object"
},
"hostname": {
"type": "string"
},
"id": {
"type": "string"
},
"last_heartbeat": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"provider": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
}
},
"required": [
"id",
"hostname",
"display_name",
"status",
"provider",
"last_heartbeat",
"capabilities",
"simulated"
],
"type": "object"
},
"type": "array"
},
"backups": {
"items": {
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"chain_id": {
"type": "string"
},
"chain_position": {
"type": "integer"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"error_message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"parent_backup_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"size_bytes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
},
"storage_path": {
"type": "string"
},
"vm_id": {
"type": "string"
},
"vm_name": {
"type": "string"
}
},
"required": [
"id",
"vm_id",
"vm_name",
"backup_type",
"status",
"progress",
"parent_backup_id",
"chain_id",
"chain_position",
"created_at",
"completed_at",
"error_message",
"simulated"
],
"type": "object"
},
"type": "array"
},
"environment": {
"const": "demo",
"type": "string"
},
"fixture_version": {
"type": "string"
},
"generated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"groups": {
"items": {
"additionalProperties": false,
"properties": {
"group_type": {
"type": "string"
},
"id": {
"type": "string"
},
"member_count": {
"type": "integer"
},
"name": {
"type": "string"
},
"rules": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"type": "string"
},
"op": {
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"field",
"op",
"value"
],
"type": "object"
},
"type": "array"
},
"rules_match": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_ids": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id",
"name",
"group_type",
"simulated"
],
"type": "object"
},
"type": "array"
},
"persona": {
"additionalProperties": false,
"properties": {
"hands_on": {
"type": "string"
},
"msp_context": {
"type": "string"
},
"msp_message": {
"type": "string"
}
},
"required": [
"hands_on",
"msp_context",
"msp_message"
],
"type": "object"
},
"restores": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"completed_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"events": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"const": "demo",
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"stage": {
"type": "string"
},
"status": {
"type": "string"
}
},
"required": [
"status",
"progress",
"stage",
"message",
"simulated",
"environment"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"progress": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"status": {
"type": "string"
},
"target_vm_id": {
"type": "string"
}
},
"required": [
"id",
"backup_id",
"target_vm_id",
"status",
"progress",
"created_at",
"completed_at",
"simulated"
],
"type": "object"
},
"type": "array"
},
"schedules": {
"items": {
"additionalProperties": false,
"properties": {
"backup_type": {
"type": "string"
},
"cron_expression": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"retention_days": {
"type": "integer"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"cron_expression",
"retention_days",
"backup_type",
"enabled",
"simulated"
],
"type": "object"
},
"type": "array"
},
"simulated": {
"const": true,
"type": "boolean"
},
"vms": {
"items": {
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"format": {
"type": "string"
},
"size_bytes": {
"type": "integer"
},
"source": {
"type": "string"
},
"target": {
"type": "string"
}
},
"required": [
"target",
"format",
"size_bytes",
"source"
],
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"memory_kb": {
"type": "integer"
},
"metadata": {
"additionalProperties": false,
"properties": {
"environment": {
"type": "string"
},
"simulated": {
"const": true,
"type": "boolean"
},
"supports_incremental": {
"type": "boolean"
}
},
"required": [
"environment",
"supports_incremental",
"simulated"
],
"type": "object"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
},
"uuid": {
"type": "string"
},
"vcpu_count": {
"type": "integer"
}
},
"required": [
"id",
"uuid",
"name",
"agent_id",
"state",
"memory_kb",
"vcpu_count",
"disks",
"metadata"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"fixture_version",
"generated_at",
"environment",
"simulated",
"persona",
"agents",
"vms",
"groups",
"schedules",
"backups",
"restores",
"activity"
],
"type": "object"
}401
Request refused or failed
application/json
Schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"detail": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}
},
"required": [
"detail"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"detail": {
"const": "Invalid tenant credentials",
"type": "string"
}
},
"required": [
"detail"
],
"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
429
Only in demo deployment mode: per-source/session window limit reached
Headers
{
"Retry-After": {
"schema": {
"type": "string"
}
},
"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_RATE_LIMITED",
"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"
}500
Unhandled exception outside route-level conversion; body is plain text
text/plain
Schema
{
"const": "Internal Server Error",
"type": "string"
}