API schemas
Vesta API · 6.0.77 · Community with mTLS
Schemas
- AcceptedRestoreBundle
- AgentRegistrationKeyCreate
- AgentRegistrationKeyUpdate
- AgentSettingsUpdate
- AgentUpdateRequest
- BackupCreate
- BackupQueueCreate
- BackupRequest
- Body_confirm_export_custody_api_v1_encryption_keys_confirm_export_post
- Body_import_keys_api_v1_encryption_keys_import_post
- Body_login_api_v1_auth_login_post
- Body_update_report_api_v1_reports__report_id__put
- BulkBackupCreate
- BulkBackupDelete
- BulkBackupTag
- CreateKeyRequest
- CursorRealtimeEvent
- EncryptionKeyMetadata
- ExportKeysRequest
- GrantEnrollment
- GroupRequest
- GroupRule
- HTTPValidationError
- ImportRequest
- KubeVirtRestoreResult
- KubeVirtRestoreTarget
- LegacyRealtimeEvent
- NativeRestoreInput
- NativeRestoreResult
- NativeRestoreTarget
- OperatorAdmissionError
- OrchestratorAPIKeyCreate
- OrchestratorAPIKeyUpdate
- ProtocolAttemptBinding
- ProtocolCA
- ProtocolFinalizeBinding
- ProtocolInstalledProfile
- ProtocolKubeVirtStorageReceipt
- ProtocolKubeVirtTransaction
- ProtocolLegacyStorageReceipt
- ProtocolNativeInventory
- ProtocolNativePushResult
- ProtocolNativeStorageReceipt
- ProtocolNativeTransaction
- ProtocolStorageReceipt
- ProtocolStorageTransaction
- ProtocolTransactionReceipt
- ProtocolWireArtifact
- ProtocolWireCapabilityEvidenceRef
- ProtocolWireCapabilityEvidenceRefV2
- ProtocolWireDiskMapping
- ProtocolWireEncryption
- ProtocolWireNativeArtifact
- ProtocolWireNativePlan
- ProtocolWireParent
- ProtocolWirePlan
- ProtocolWireQualifiedPlan
- ProtocolWireQualifiedPlanV2
- ProtocolWireSource
- ProtocolWireTarget
- ProtocolWireTransferPlan
- ProtocolWireTransferQualifiedPlan
- ProtocolWireTransferQualifiedPlanV2
- ProtocolWireVolume
- RealtimeErrorDetail
- RealtimeErrorResponse
- RealtimePage
- ReportCreate
- RestoreCreateRequest
- RestoreRequest
- RotateKeyRequest
- ScheduleCreate
- ScheduleRequest
- ScheduleUpdate
- UserCreate
- UserUpdate
- VMGroupAddVMs
- VMGroupCreate
- VMGroupUpdate
- ValidationError
- VerificationCommand
- VerificationResult
AcceptedRestoreBundle
{
"description": "Accepted root-to-selected ancestry. Each member's original plan and exact-object receipt remain bound; presence is not restore execution evidence.",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"members": {
"items": {
"additionalProperties": false,
"properties": {
"receipt": {
"$ref": "#/components/schemas/ProtocolKubeVirtStorageReceipt"
},
"request": {
"$ref": "#/components/schemas/ProtocolKubeVirtTransaction"
}
},
"required": [
"request",
"receipt"
],
"type": "object"
},
"maxItems": 256,
"minItems": 1,
"type": "array"
},
"schema": {
"const": "vnbui-kubevirt-restore/1"
}
},
"required": [
"schema",
"members"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"members": {
"items": {
"additionalProperties": false,
"properties": {
"push_result": {
"$ref": "#/components/schemas/ProtocolNativePushResult"
},
"receipt": {
"$ref": "#/components/schemas/ProtocolNativeStorageReceipt"
},
"request": {
"$ref": "#/components/schemas/ProtocolNativeTransaction"
}
},
"required": [
"request",
"receipt",
"push_result"
],
"type": "object"
},
"maxItems": 256,
"minItems": 1,
"type": "array"
},
"schema": {
"const": "vnbui-native-restore/1"
}
},
"required": [
"schema",
"members"
],
"type": "object"
}
]
}AgentRegistrationKeyCreate
{
"description": "Request model for creating agent registration key",
"properties": {
"agent_hostname": {
"maxLength": 255,
"minLength": 1,
"title": "Agent Hostname",
"type": "string"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"max_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Uses"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name",
"agent_hostname"
],
"title": "AgentRegistrationKeyCreate",
"type": "object"
}AgentRegistrationKeyUpdate
{
"description": "Request model for updating agent registration key",
"properties": {
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Enabled"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"max_uses": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Uses"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
}
},
"title": "AgentRegistrationKeyUpdate",
"type": "object"
}AgentSettingsUpdate
{
"additionalProperties": false,
"properties": {
"backup_storage_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Backup Storage Path"
},
"compression_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Compression Level"
},
"compression_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Compression Type"
},
"heartbeat_interval": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Heartbeat Interval"
},
"libvirt_uri": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Libvirt Uri"
},
"log_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Log Level"
},
"max_concurrent_backups": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Max Concurrent Backups"
},
"selected_source_namespaces": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Selected Source Namespaces"
},
"virtnbd_scratch_dir": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Virtnbd Scratch Dir"
},
"virtnbdbackup_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Virtnbdbackup Path"
},
"virtnbdrestore_path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Virtnbdrestore Path"
}
},
"title": "AgentSettingsUpdate",
"type": "object"
}AgentUpdateRequest
{
"description": "Request model for updating agent",
"properties": {
"display_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Display Name"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
}
},
"title": "AgentUpdateRequest",
"type": "object"
}BackupCreate
{
"description": "Request model for creating backup",
"properties": {
"backup_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "full",
"title": "Backup Type"
},
"exclude_disks": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": [],
"title": "Exclude Disks"
},
"retention_days": {
"anyOf": [
{
"maximum": 36500.0,
"minimum": 1.0,
"type": "integer"
},
{
"type": "null"
}
],
"default": 30,
"title": "Retention Days"
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": {},
"title": "Tags"
},
"vm_id": {
"title": "Vm Id",
"type": "string"
},
"workers": {
"description": "Per-backup worker overrides are unsupported",
"title": "Workers",
"type": "null"
}
},
"required": [
"vm_id"
],
"title": "BackupCreate",
"type": "object"
}BackupQueueCreate
{
"description": "Request model for adding backup to queue",
"properties": {
"backup_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "full",
"title": "Backup Type"
},
"exclude_disks": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Exclude Disks"
},
"priority": {
"anyOf": [
{
"maximum": 100.0,
"minimum": 0.0,
"type": "integer"
},
{
"type": "null"
}
],
"default": 0,
"title": "Priority"
},
"retention_days": {
"default": 30,
"maximum": 36500.0,
"minimum": 1.0,
"title": "Retention Days",
"type": "integer"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
},
"vm_id": {
"title": "Vm Id",
"type": "string"
},
"workers": {
"description": "Per-backup worker overrides are unsupported",
"title": "Workers",
"type": "null"
}
},
"required": [
"vm_id"
],
"title": "BackupQueueCreate",
"type": "object"
}BackupRequest
{
"properties": {
"backup_type": {
"default": "full",
"pattern": "^(full|incremental)$",
"title": "Backup Type",
"type": "string"
},
"scenario": {
"default": "success",
"pattern": "^(success|upload_failure)$",
"title": "Scenario",
"type": "string"
},
"vm_id": {
"title": "Vm Id",
"type": "string"
}
},
"required": [
"vm_id"
],
"title": "BackupRequest",
"type": "object"
}Body_confirm_export_custody_api_v1_encryption_keys_confirm_export_post
{
"properties": {
"file": {
"contentMediaType": "application/octet-stream",
"title": "File",
"type": "string"
},
"location": {
"title": "Location",
"type": "string"
},
"password": {
"title": "Password",
"type": "string"
}
},
"required": [
"file",
"password",
"location"
],
"title": "Body_confirm_export_custody_api_v1_encryption_keys_confirm_export_post",
"type": "object"
}Body_import_keys_api_v1_encryption_keys_import_post
{
"properties": {
"file": {
"contentMediaType": "application/octet-stream",
"title": "File",
"type": "string"
},
"password": {
"default": "",
"title": "Password",
"type": "string"
}
},
"required": [
"file"
],
"title": "Body_import_keys_api_v1_encryption_keys_import_post",
"type": "object"
}Body_login_api_v1_auth_login_post
{
"properties": {
"client_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Client Id"
},
"client_secret": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"format": "password",
"title": "Client Secret"
},
"grant_type": {
"anyOf": [
{
"pattern": "^password$",
"type": "string"
},
{
"type": "null"
}
],
"title": "Grant Type"
},
"org_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Org Id"
},
"password": {
"format": "password",
"title": "Password",
"type": "string"
},
"scope": {
"default": "",
"title": "Scope",
"type": "string"
},
"username": {
"title": "Username",
"type": "string"
}
},
"required": [
"username",
"password"
],
"title": "Body_login_api_v1_auth_login_post",
"type": "object"
}Body_update_report_api_v1_reports__report_id__put
{
"properties": {
"filters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Filters"
},
"recipients": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Recipients"
}
},
"title": "Body_update_report_api_v1_reports__report_id__put",
"type": "object"
}BulkBackupCreate
{
"description": "Request model for bulk backup creation",
"properties": {
"filter": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Filter"
},
"retention_days": {
"default": 30,
"maximum": 36500.0,
"minimum": 1.0,
"title": "Retention Days",
"type": "integer"
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": {},
"title": "Tags"
},
"vm_ids": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Vm Ids"
},
"workers": {
"description": "Per-backup worker overrides are unsupported",
"title": "Workers",
"type": "null"
}
},
"title": "BulkBackupCreate",
"type": "object"
}BulkBackupDelete
{
"description": "Request model for bulk backup deletion",
"properties": {
"backup_ids": {
"items": {
"type": "string"
},
"title": "Backup Ids",
"type": "array"
}
},
"required": [
"backup_ids"
],
"title": "BulkBackupDelete",
"type": "object"
}BulkBackupTag
{
"description": "Request model for bulk tagging",
"properties": {
"backup_ids": {
"items": {
"type": "string"
},
"title": "Backup Ids",
"type": "array"
},
"overwrite": {
"default": false,
"title": "Overwrite",
"type": "boolean"
},
"tags": {
"additionalProperties": true,
"title": "Tags",
"type": "object"
}
},
"required": [
"backup_ids",
"tags"
],
"title": "BulkBackupTag",
"type": "object"
}CreateKeyRequest
{
"properties": {
"algorithm": {
"default": "aes-256-gcm",
"title": "Algorithm",
"type": "string"
},
"name": {
"maxLength": 255,
"minLength": 1,
"title": "Name",
"type": "string"
}
},
"required": [
"name"
],
"title": "CreateKeyRequest",
"type": "object"
}CursorRealtimeEvent
{
"additionalProperties": false,
"properties": {
"payload": {
"additionalProperties": true,
"description": "Event-specific invalidation data; fetch authoritative resource state after processing the event.",
"title": "Payload",
"type": "object",
"x-open-schema-reason": "Realtime producers attach event-specific JSON metadata; this best-effort feed is not an execution or snapshot protocol."
},
"sequence": {
"title": "Sequence",
"type": "integer"
},
"timestamp": {
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
}
},
"required": [
"type",
"payload",
"timestamp",
"sequence"
],
"title": "CursorRealtimeEvent",
"type": "object"
}EncryptionKeyMetadata
{
"additionalProperties": false,
"properties": {
"algorithm": {
"type": "string"
},
"backed_up": {
"type": "boolean"
},
"backed_up_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"backed_up_locations": {
"items": {
"type": "string"
},
"type": "array"
},
"backup_count": {
"type": "integer"
},
"created_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"created_by": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"key_hash": {
"type": "string"
},
"name": {
"type": "string"
},
"provider": {
"type": "string"
},
"replaced_by_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rotated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"name",
"algorithm",
"key_hash",
"status",
"provider",
"created_at",
"created_by",
"rotated_at",
"replaced_by_id",
"backed_up",
"backed_up_at",
"backed_up_locations",
"backup_count"
],
"type": "object"
}ExportKeysRequest
{
"properties": {
"key_ids": {
"items": {
"type": "string"
},
"title": "Key Ids",
"type": "array"
},
"password": {
"minLength": 8,
"title": "Password",
"type": "string"
}
},
"required": [
"key_ids",
"password"
],
"title": "ExportKeysRequest",
"type": "object"
}GrantEnrollment
{
"properties": {
"enable": {
"default": true,
"title": "Enable",
"type": "boolean"
},
"expected_revision": {
"exclusiveMinimum": 0.0,
"title": "Expected Revision",
"type": "integer"
},
"replace_grant_id": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Replace Grant Id"
},
"request_id": {
"format": "uuid",
"title": "Request Id",
"type": "string"
},
"scope_sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Scope Sha256",
"type": "string"
}
},
"required": [
"request_id",
"expected_revision",
"scope_sha256"
],
"title": "GrantEnrollment",
"type": "object"
}GroupRequest
{
"properties": {
"name": {
"maxLength": 80,
"minLength": 1,
"title": "Name",
"type": "string"
},
"rules": {
"items": {
"$ref": "#/components/schemas/GroupRule"
},
"maxItems": 5,
"minItems": 1,
"title": "Rules",
"type": "array"
},
"rules_match": {
"default": "all",
"pattern": "^(all|any)$",
"title": "Rules Match",
"type": "string"
}
},
"required": [
"name",
"rules"
],
"title": "GroupRequest",
"type": "object"
}GroupRule
{
"properties": {
"field": {
"pattern": "^(name|state|agent_id|metadata\\.environment)$",
"title": "Field",
"type": "string"
},
"op": {
"pattern": "^(eq|neq|in)$",
"title": "Op",
"type": "string"
},
"value": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"type": "array"
}
],
"title": "Value"
}
},
"required": [
"field",
"op",
"value"
],
"title": "GroupRule",
"type": "object"
}HTTPValidationError
{
"properties": {
"detail": {
"items": {
"$ref": "#/components/schemas/ValidationError"
},
"title": "Detail",
"type": "array"
}
},
"title": "HTTPValidationError",
"type": "object"
}ImportRequest
{
"properties": {
"chain_id": {
"title": "Chain Id",
"type": "string"
}
},
"required": [
"chain_id"
],
"title": "ImportRequest",
"type": "object"
}KubeVirtRestoreResult
{
"additionalProperties": false,
"properties": {
"job_name": {
"minLength": 1,
"type": "string"
},
"job_uid": {
"minLength": 1,
"type": "string"
},
"namespace": {
"minLength": 1,
"type": "string"
},
"plan_sha256": {
"minLength": 1,
"type": "string"
},
"pvc_uids": {
"additionalProperties": {
"minLength": 1,
"type": "string"
},
"minProperties": 1,
"type": "object"
},
"run_strategy": {
"const": "Halted"
},
"vm_name": {
"minLength": 1,
"type": "string"
},
"vm_uid": {
"minLength": 1,
"type": "string"
}
},
"required": [
"namespace",
"vm_name",
"vm_uid",
"job_uid",
"job_name",
"plan_sha256",
"run_strategy",
"pvc_uids"
],
"type": "object"
}KubeVirtRestoreTarget
{
"additionalProperties": false,
"description": "Fresh target mapping. Runtime additionally checks source exclusion, disk membership/capacity, unique names and at most one pod network.",
"properties": {
"dependencies": {
"additionalProperties": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"propertyNames": {
"pattern": "^(secret|configMap)/[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?$"
},
"type": "object"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"access_mode": {
"enum": [
"ReadWriteOnce",
"ReadWriteMany"
]
},
"capacity_bytes": {
"minimum": 1,
"type": "integer"
},
"pvc_name": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"storage_class": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"volume_mode": {
"enum": [
"Filesystem",
"Block"
]
},
"volume_name": {
"type": "string"
}
},
"required": [
"volume_name",
"pvc_name",
"storage_class",
"access_mode",
"volume_mode",
"capacity_bytes"
],
"type": "object"
},
"maxItems": 32,
"minItems": 1,
"type": "array"
},
"namespace": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"networks": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"network_name": {
"const": ""
},
"type": {
"const": "pod"
}
},
"required": [
"name",
"type",
"network_name"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"name": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"network_name": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
},
"type": {
"const": "multus"
}
},
"required": [
"name",
"type",
"network_name"
],
"type": "object"
}
]
},
"maxItems": 32,
"minItems": 0,
"type": "array"
},
"vm_name": {
"maxLength": 63,
"minLength": 1,
"pattern": "^[a-z0-9](?:[-a-z0-9]*[a-z0-9])?$",
"type": "string"
}
},
"required": [
"namespace",
"vm_name",
"disks",
"networks",
"dependencies"
],
"type": "object"
}LegacyRealtimeEvent
{
"additionalProperties": false,
"properties": {
"payload": {
"additionalProperties": true,
"description": "Event-specific invalidation data; fetch authoritative resource state after processing the event.",
"title": "Payload",
"type": "object",
"x-open-schema-reason": "Realtime producers attach event-specific JSON metadata; this best-effort feed is not an execution or snapshot protocol."
},
"timestamp": {
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
}
},
"required": [
"type",
"payload",
"timestamp"
],
"title": "LegacyRealtimeEvent",
"type": "object"
}NativeRestoreInput
{
"additionalProperties": false,
"description": "Fresh native target input. Runtime binds all protected and excluded disks to the accepted manifest and rejects source-name reuse and duplicate source MACs.",
"properties": {
"disks": {
"items": {
"type": "string"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
},
"drop_excluded_disks": {
"items": {
"type": "string"
},
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"networks": {
"items": {
"additionalProperties": false,
"properties": {
"network": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"source_mac": {
"pattern": "^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
"type": "string"
}
},
"required": [
"source_mac",
"network"
],
"type": "object"
},
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"vm_name": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
}
},
"required": [
"vm_name",
"disks",
"drop_excluded_disks",
"networks"
],
"type": "object"
}NativeRestoreResult
{
"additionalProperties": false,
"properties": {
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"path": {
"pattern": "^/",
"type": "string"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"size_bytes": {
"minimum": 1,
"type": "integer"
},
"target": {
"type": "string"
}
},
"required": [
"target",
"path",
"size_bytes",
"sha256"
],
"type": "object"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
},
"plan_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"state": {
"const": "shutoff"
},
"vm_name": {
"type": "string"
},
"vm_uuid": {
"format": "uuid",
"type": "string"
}
},
"required": [
"vm_name",
"vm_uuid",
"state",
"plan_sha256",
"disks"
],
"type": "object"
}NativeRestoreTarget
{
"additionalProperties": false,
"description": "Accepted native target with its server-allocated fresh VM UUID.",
"properties": {
"disks": {
"items": {
"type": "string"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
},
"drop_excluded_disks": {
"items": {
"type": "string"
},
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"networks": {
"items": {
"additionalProperties": false,
"properties": {
"network": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"source_mac": {
"pattern": "^(?:[0-9a-f]{2}:){5}[0-9a-f]{2}$",
"type": "string"
}
},
"required": [
"source_mac",
"network"
],
"type": "object"
},
"maxItems": 128,
"minItems": 0,
"type": "array"
},
"vm_name": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"vm_uuid": {
"format": "uuid",
"type": "string"
}
},
"required": [
"vm_name",
"disks",
"drop_excluded_disks",
"networks",
"vm_uuid"
],
"type": "object"
}OperatorAdmissionError
{
"additionalProperties": false,
"properties": {
"detail": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"properties": {
"code": {
"type": "string"
},
"max_targets": {
"type": "integer"
},
"message": {
"type": "string"
},
"outcome": {
"type": "string"
},
"rotation_id": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
{
"items": {
"additionalProperties": true,
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array"
},
"msg": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"type": "object"
},
"type": "array"
}
]
}
},
"required": [
"detail"
],
"type": "object"
}OrchestratorAPIKeyCreate
{
"description": "Request model for creating orchestrator API key",
"properties": {
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"name": {
"title": "Name",
"type": "string"
}
},
"required": [
"name"
],
"title": "OrchestratorAPIKeyCreate",
"type": "object"
}OrchestratorAPIKeyUpdate
{
"description": "Request model for updating orchestrator API key",
"properties": {
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Enabled"
},
"expires_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Expires At"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
}
},
"title": "OrchestratorAPIKeyUpdate",
"type": "object"
}ProtocolAttemptBinding
{
"additionalProperties": false,
"properties": {
"attempt_id": {
"type": "string"
},
"key_ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"plan_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"reservation_id": {
"type": "string"
}
},
"required": [
"reservation_id",
"attempt_id",
"plan_sha256",
"key_ref"
],
"type": "object"
}ProtocolCA
{
"additionalProperties": false,
"properties": {
"fingerprint": {
"type": "string"
},
"issuer": {
"type": "string"
},
"not_after": {
"description": "ISO 8601 timestamp as serialized by the handler; legacy values may omit a UTC offset.",
"type": "string"
},
"not_before": {
"description": "ISO 8601 timestamp as serialized by the handler; legacy values may omit a UTC offset.",
"type": "string"
},
"serial": {
"type": "string"
},
"subject": {
"type": "string"
}
},
"required": [
"subject",
"issuer",
"serial",
"fingerprint",
"not_before",
"not_after"
],
"type": "object"
}ProtocolFinalizeBinding
{
"additionalProperties": false,
"properties": {
"acceptance_id": {
"type": "string"
},
"attempt_id": {
"type": "string"
},
"checkpoint": {
"type": "string"
},
"guest_consistency": {
"enum": [
"quiesced",
"failed",
"crash-consistent",
"unknown"
]
},
"guest_evidence_source": {
"type": "string"
},
"namespace": {
"type": "string"
},
"parent": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"backup_id": {
"title": "Backup Id",
"type": "string"
},
"checkpoint": {
"title": "Checkpoint",
"type": "string"
},
"generation_id": {
"title": "Generation Id",
"type": "string"
},
"receipt_sha256": {
"title": "Receipt Sha256",
"type": "string"
},
"root_backup_id": {
"title": "Root Backup Id",
"type": "string"
},
"tracker_uid": {
"title": "Tracker Uid",
"type": "string"
}
},
"required": [
"backup_id",
"root_backup_id",
"receipt_sha256",
"generation_id",
"tracker_uid",
"checkpoint"
],
"title": "Parent",
"type": "object"
},
{
"type": "null"
}
]
},
"plan_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"protocol": {
"type": "string"
},
"receipt_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"reservation_id": {
"type": "string"
},
"started_at": {
"type": "string"
},
"tracker_name": {
"type": "string"
},
"tracker_uid": {
"type": "string"
},
"vm_uid": {
"type": "string"
},
"vmb_name": {
"type": "string"
},
"vmb_uid": {
"type": "string"
},
"vmi_uid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"volumes": {
"items": {
"additionalProperties": false,
"properties": {
"capacity_bytes": {
"exclusiveMinimum": 0,
"maximum": 9223372036854775807,
"title": "Capacity Bytes",
"type": "integer"
},
"mapping": {
"$ref": "#/components/schemas/ProtocolWireDiskMapping"
},
"name": {
"title": "Name",
"type": "string"
},
"pvc_name": {
"title": "Pvc Name",
"type": "string"
},
"pvc_resource_version": {
"title": "Pvc Resource Version",
"type": "string"
},
"pvc_uid": {
"title": "Pvc Uid",
"type": "string"
}
},
"required": [
"name",
"pvc_name",
"pvc_uid",
"pvc_resource_version",
"capacity_bytes",
"mapping"
],
"title": "Volume",
"type": "object"
},
"type": "array"
}
},
"required": [
"protocol",
"reservation_id",
"attempt_id",
"acceptance_id",
"namespace",
"vm_uid",
"tracker_name",
"tracker_uid",
"vmb_name",
"vmb_uid",
"checkpoint",
"started_at",
"guest_evidence_source",
"plan_sha256",
"receipt_sha256",
"vmi_uid",
"parent",
"volumes",
"guest_consistency"
],
"type": "object"
}ProtocolInstalledProfile
{
"additionalProperties": false,
"properties": {
"auth_mode": {
"enum": [
"single_organization",
"multi_organization"
]
},
"edition": {
"enum": [
"community",
"commercial"
]
},
"enabled_modules": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"edition",
"auth_mode",
"enabled_modules"
],
"type": "object"
}ProtocolKubeVirtStorageReceipt
{
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"bucket": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objects": {
"items": {
"additionalProperties": false,
"properties": {
"ciphertext_bytes": {
"minimum": 0,
"type": "integer"
},
"ciphertext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"etag": {
"type": "string"
},
"key": {
"type": "string"
},
"plaintext_bytes": {
"minimum": 0,
"type": "integer"
},
"plaintext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"role": {
"type": "string"
},
"version_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"volume_id": {
"type": "string"
}
},
"required": [
"key",
"etag",
"volume_id",
"role",
"version_id",
"plaintext_bytes",
"ciphertext_bytes",
"plaintext_sha256",
"ciphertext_sha256"
],
"type": "object"
},
"maxItems": 4096,
"minItems": 1,
"type": "array"
},
"protocol": {
"const": "vnbui-storage-transaction/1",
"type": "string"
},
"reservation_id": {
"type": "string"
},
"schema": {
"const": 2,
"type": "integer"
}
},
"required": [
"protocol",
"schema",
"reservation_id",
"backup_id",
"endpoint",
"bucket",
"objects"
],
"type": "object"
}ProtocolKubeVirtTransaction
{
"additionalProperties": false,
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"backup_id": {
"title": "Backup Id",
"type": "string"
},
"org_id": {
"title": "Org Id",
"type": "string"
},
"plan": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireTransferQualifiedPlanV2"
},
{
"$ref": "#/components/schemas/ProtocolWireTransferQualifiedPlan"
},
{
"$ref": "#/components/schemas/ProtocolWireTransferPlan"
},
{
"$ref": "#/components/schemas/ProtocolWireQualifiedPlanV2"
},
{
"$ref": "#/components/schemas/ProtocolWireQualifiedPlan"
},
{
"$ref": "#/components/schemas/ProtocolWirePlan"
}
],
"title": "Plan"
},
"plan_sha256": {
"title": "Plan Sha256",
"type": "string"
},
"protocol": {
"const": "vnbui-storage-transaction/1",
"title": "Protocol",
"type": "string"
},
"reservation_id": {
"title": "Reservation Id",
"type": "string"
}
},
"required": [
"protocol",
"org_id",
"agent_id",
"backup_id",
"reservation_id",
"plan_sha256",
"plan"
],
"title": "TransactionRequest",
"type": "object"
}ProtocolLegacyStorageReceipt
{
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"bucket": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objects": {
"items": {
"additionalProperties": false,
"properties": {
"ciphertext_bytes": {
"minimum": 0,
"type": "integer"
},
"ciphertext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"etag": {
"type": "string"
},
"key": {
"type": "string"
},
"plaintext_bytes": {
"minimum": 0,
"type": "integer"
},
"plaintext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"role": {
"type": "string"
},
"version_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"volume_id": {
"type": "string"
}
},
"required": [
"key",
"etag",
"volume_id",
"role",
"version_id",
"plaintext_bytes",
"ciphertext_bytes",
"plaintext_sha256",
"ciphertext_sha256"
],
"type": "object"
},
"maxItems": 4096,
"minItems": 1,
"type": "array"
},
"reservation_id": {
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
}
},
"required": [
"schema",
"reservation_id",
"backup_id",
"endpoint",
"bucket",
"objects"
],
"type": "object"
}ProtocolNativeInventory
{
"additionalProperties": false,
"properties": {
"attempt_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"backup_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"checkpoint": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"bus": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"id": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"serial": {
"description": "At most 256 UTF-8 bytes.",
"type": "string"
},
"target": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
}
},
"required": [
"bus",
"id",
"target",
"serial"
],
"type": "object"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
},
"domain_uuid": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"files": {
"items": {
"additionalProperties": false,
"properties": {
"artifact_id": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"ctime_ns": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"device": {
"maximum": 18446744073709551615,
"minimum": 0,
"type": "integer"
},
"disk_id": {
"anyOf": [
{
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
{
"type": "null"
}
]
},
"inode": {
"maximum": 18446744073709551615,
"minimum": 1,
"type": "integer"
},
"member_backup_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"member_checkpoint": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"mtime_ns": {
"maximum": 9223372036854775807,
"minimum": -9223372036854775808,
"type": "integer"
},
"path": {
"description": "Relative path with at most 16 safe components; case collisions are refused.",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"role": {
"enum": [
"disk_payload",
"disk_checksum",
"disk_metadata",
"domain_config",
"checkpoint",
"autostart",
"backup_metadata"
]
},
"size": {
"maximum": 1125899906842624,
"minimum": 0,
"type": "integer"
}
},
"required": [
"artifact_id",
"path",
"member_backup_id",
"member_checkpoint",
"role",
"disk_id",
"ctime_ns",
"mtime_ns",
"device",
"inode",
"size"
],
"type": "object"
},
"maxItems": 4096,
"minItems": 1,
"type": "array"
},
"format": {
"const": "libvirt-native-fileset/1",
"type": "string"
},
"job_id": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
}
},
"required": [
"attempt_id",
"backup_id",
"domain_uuid",
"checkpoint",
"job_id",
"format",
"disks",
"files"
],
"type": "object"
}ProtocolNativePushResult
{
"additionalProperties": false,
"properties": {
"manifest": {
"additionalProperties": false,
"properties": {
"attempt_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"backup_id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"checkpoint": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"checkpoint_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"disks": {
"items": {
"additionalProperties": false,
"properties": {
"file": {
"type": "string"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"size_bytes": {
"maximum": 9223372036854775807,
"minimum": 1,
"type": "integer"
},
"target": {
"type": "string"
},
"virtual_size": {
"maximum": 9223372036854775807,
"minimum": 1,
"type": "integer"
}
},
"required": [
"target",
"file",
"size_bytes",
"virtual_size",
"sha256"
],
"type": "object"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
},
"domain_uuid": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
"domain_xml_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"exclusions": {
"items": {
"type": "string"
},
"type": "array"
},
"parent_backup_id": {
"anyOf": [
{
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"type": "string"
},
{
"type": "null"
}
]
},
"parent_manifest_sha256": {
"anyOf": [
{
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
{
"type": "null"
}
]
},
"schema": {
"const": "libvirt-push-qcow2/1",
"type": "string"
},
"source": {
"items": {
"additionalProperties": false,
"properties": {
"bus": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
},
"format": {
"enum": [
"qcow2",
"raw"
]
},
"source": {
"maxLength": 4096,
"minLength": 1,
"pattern": "^/",
"type": "string"
},
"target": {
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$",
"type": "string"
}
},
"required": [
"target",
"bus",
"source",
"format"
],
"type": "object"
},
"maxItems": 128,
"minItems": 1,
"type": "array"
}
},
"required": [
"schema",
"backup_id",
"attempt_id",
"domain_uuid",
"checkpoint",
"checkpoint_sha256",
"domain_xml_sha256",
"parent_backup_id",
"parent_manifest_sha256",
"source",
"exclusions",
"disks"
],
"type": "object"
},
"manifest_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"manifest",
"manifest_sha256"
],
"type": "object"
}ProtocolNativeStorageReceipt
{
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"bucket": {
"type": "string"
},
"endpoint": {
"type": "string"
},
"objects": {
"items": {
"additionalProperties": false,
"properties": {
"artifact_id": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"ciphertext_bytes": {
"minimum": 0,
"type": "integer"
},
"ciphertext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"disk_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"etag": {
"type": "string"
},
"key": {
"type": "string"
},
"plaintext_bytes": {
"minimum": 0,
"type": "integer"
},
"plaintext_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"role": {
"type": "string"
},
"version_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"key",
"etag",
"role",
"version_id",
"plaintext_bytes",
"ciphertext_bytes",
"plaintext_sha256",
"ciphertext_sha256",
"artifact_id",
"disk_id"
],
"type": "object"
},
"maxItems": 4096,
"minItems": 1,
"type": "array"
},
"protocol": {
"const": "vnbui-storage-transaction/1",
"type": "string"
},
"representation": {
"const": "libvirt-native-fileset/1",
"type": "string"
},
"reservation_id": {
"type": "string"
},
"schema": {
"const": 2,
"type": "integer"
}
},
"required": [
"protocol",
"schema",
"representation",
"reservation_id",
"backup_id",
"endpoint",
"bucket",
"objects"
],
"type": "object"
}ProtocolNativeTransaction
{
"additionalProperties": false,
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"backup_id": {
"title": "Backup Id",
"type": "string"
},
"org_id": {
"title": "Org Id",
"type": "string"
},
"plan": {
"$ref": "#/components/schemas/ProtocolWireNativePlan"
},
"plan_sha256": {
"title": "Plan Sha256",
"type": "string"
},
"protocol": {
"const": "vnbui-storage-transaction/1",
"title": "Protocol",
"type": "string"
},
"reservation_id": {
"title": "Reservation Id",
"type": "string"
}
},
"required": [
"protocol",
"org_id",
"agent_id",
"backup_id",
"reservation_id",
"plan_sha256",
"plan"
],
"title": "NativeTransactionRequest",
"type": "object"
}ProtocolStorageReceipt
{
"oneOf": [
{
"$ref": "#/components/schemas/ProtocolLegacyStorageReceipt"
},
{
"$ref": "#/components/schemas/ProtocolKubeVirtStorageReceipt"
},
{
"$ref": "#/components/schemas/ProtocolNativeStorageReceipt"
}
]
}ProtocolStorageTransaction
{
"oneOf": [
{
"$ref": "#/components/schemas/ProtocolKubeVirtTransaction"
},
{
"$ref": "#/components/schemas/ProtocolNativeTransaction"
}
]
}ProtocolTransactionReceipt
{
"oneOf": [
{
"$ref": "#/components/schemas/ProtocolKubeVirtStorageReceipt"
},
{
"$ref": "#/components/schemas/ProtocolNativeStorageReceipt"
}
]
}ProtocolWireArtifact
{
"additionalProperties": false,
"properties": {
"ciphertext_max": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Ciphertext Max",
"type": "integer"
},
"ciphertext_min": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Ciphertext Min",
"type": "integer"
},
"key": {
"maxLength": 1024,
"minLength": 1,
"title": "Key",
"type": "string"
},
"plaintext_max": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Plaintext Max",
"type": "integer"
},
"plaintext_min": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Plaintext Min",
"type": "integer"
},
"role": {
"title": "Role",
"type": "string"
},
"volume_id": {
"title": "Volume Id",
"type": "string"
}
},
"required": [
"volume_id",
"role",
"key",
"plaintext_min",
"plaintext_max",
"ciphertext_min",
"ciphertext_max"
],
"title": "Artifact",
"type": "object"
}ProtocolWireCapabilityEvidenceRef
{
"additionalProperties": false,
"properties": {
"adapter": {
"const": "vnbui-callback-provider/1",
"title": "Adapter",
"type": "string"
},
"id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"title": "Id",
"type": "string"
},
"revision": {
"exclusiveMinimum": 0,
"maximum": 9223372036854775807,
"title": "Revision",
"type": "integer"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Sha256",
"type": "string"
},
"wire": {
"const": "vnbui-storage-transaction/1",
"title": "Wire",
"type": "string"
}
},
"required": [
"id",
"revision",
"sha256",
"adapter",
"wire"
],
"title": "CapabilityEvidenceRef",
"type": "object"
}ProtocolWireCapabilityEvidenceRefV2
{
"additionalProperties": false,
"properties": {
"adapter": {
"const": "vnbui-callback-provider/1",
"title": "Adapter",
"type": "string"
},
"id": {
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
"title": "Id",
"type": "string"
},
"revision": {
"exclusiveMinimum": 0,
"maximum": 9223372036854775807,
"title": "Revision",
"type": "integer"
},
"schema": {
"maximum": 2,
"minimum": 2,
"title": "Schema",
"type": "integer"
},
"sha256": {
"pattern": "^[0-9a-f]{64}$",
"title": "Sha256",
"type": "string"
},
"wire": {
"const": "vnbui-storage-transaction/1",
"title": "Wire",
"type": "string"
}
},
"required": [
"id",
"revision",
"sha256",
"adapter",
"wire",
"schema"
],
"title": "CapabilityEvidenceRefV2",
"type": "object"
}ProtocolWireDiskMapping
{
"additionalProperties": false,
"properties": {
"bus": {
"title": "Bus",
"type": "string"
},
"device": {
"title": "Device",
"type": "string"
},
"disk_name": {
"title": "Disk Name",
"type": "string"
},
"serial": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Serial"
}
},
"required": [
"disk_name",
"device",
"bus",
"serial"
],
"title": "DiskMapping",
"type": "object"
}ProtocolWireEncryption
{
"additionalProperties": false,
"properties": {
"format": {
"title": "Format",
"type": "string"
},
"key_ref": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Key Ref"
}
},
"required": [
"format",
"key_ref"
],
"title": "Encryption",
"type": "object"
}ProtocolWireNativeArtifact
{
"additionalProperties": false,
"properties": {
"artifact_id": {
"title": "Artifact Id",
"type": "string"
},
"ciphertext_max": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Ciphertext Max",
"type": "integer"
},
"ciphertext_min": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Ciphertext Min",
"type": "integer"
},
"disk_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Disk Id"
},
"key": {
"maxLength": 1024,
"minLength": 1,
"title": "Key",
"type": "string"
},
"plaintext_max": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Plaintext Max",
"type": "integer"
},
"plaintext_min": {
"maximum": 9223372036854775807,
"minimum": 0,
"title": "Plaintext Min",
"type": "integer"
},
"role": {
"title": "Role",
"type": "string"
}
},
"required": [
"artifact_id",
"disk_id",
"role",
"key",
"plaintext_min",
"plaintext_max",
"ciphertext_min",
"ciphertext_max"
],
"title": "NativeArtifact",
"type": "object"
}ProtocolWireNativePlan
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireNativeArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"const": "installation/storage.s3",
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 128,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "libvirt",
"title": "Provider",
"type": "string"
},
"source": {
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"inventory": {
"$ref": "#/components/schemas/ProtocolNativeInventory"
},
"inventory_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"representation": {
"const": "libvirt-native-fileset/1",
"type": "string"
},
"vm_id": {
"type": "string"
}
},
"required": [
"representation",
"agent_id",
"vm_id",
"inventory_sha256",
"inventory"
],
"type": "object"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
}
},
"required": [
"attempt_id",
"capability_profile",
"provider",
"source",
"backup_type",
"parent",
"exclusions",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy"
],
"title": "NativePlan",
"type": "object"
}ProtocolWireParent
{
"additionalProperties": false,
"properties": {
"backup_id": {
"title": "Backup Id",
"type": "string"
},
"checkpoint": {
"title": "Checkpoint",
"type": "string"
},
"generation_id": {
"title": "Generation Id",
"type": "string"
},
"receipt_sha256": {
"title": "Receipt Sha256",
"type": "string"
},
"root_backup_id": {
"title": "Root Backup Id",
"type": "string"
},
"tracker_uid": {
"title": "Tracker Uid",
"type": "string"
}
},
"required": [
"backup_id",
"root_backup_id",
"receipt_sha256",
"generation_id",
"tracker_uid",
"checkpoint"
],
"title": "Parent",
"type": "object"
}ProtocolWirePlan
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy"
],
"title": "Plan",
"type": "object"
}ProtocolWireQualifiedPlan
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_evidence": {
"$ref": "#/components/schemas/ProtocolWireCapabilityEvidenceRef"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"evidence_schema": {
"maximum": 1,
"minimum": 1,
"title": "Evidence Schema",
"type": "integer"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy",
"evidence_schema",
"capability_evidence"
],
"title": "QualifiedPlan",
"type": "object"
}ProtocolWireQualifiedPlanV2
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_evidence": {
"$ref": "#/components/schemas/ProtocolWireCapabilityEvidenceRefV2"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"evidence_schema": {
"maximum": 2,
"minimum": 2,
"title": "Evidence Schema",
"type": "integer"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy",
"evidence_schema",
"capability_evidence"
],
"title": "QualifiedPlanV2",
"type": "object"
}ProtocolWireSource
{
"additionalProperties": false,
"properties": {
"agent_id": {
"title": "Agent Id",
"type": "string"
},
"namespace": {
"title": "Namespace",
"type": "string"
},
"schema": {
"const": 1,
"type": "integer"
},
"vm_id": {
"title": "Vm Id",
"type": "string"
},
"vm_uid": {
"title": "Vm Uid",
"type": "string"
},
"vmi_uid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vmi Uid"
},
"volumes": {
"items": {
"$ref": "#/components/schemas/ProtocolWireVolume"
},
"maxItems": 256,
"minItems": 1,
"title": "Volumes",
"type": "array"
}
},
"required": [
"schema",
"agent_id",
"vm_id",
"vm_uid",
"vmi_uid",
"namespace",
"volumes"
],
"title": "Source",
"type": "object"
}ProtocolWireTarget
{
"additionalProperties": false,
"properties": {
"bucket": {
"title": "Bucket",
"type": "string"
},
"configuration_prefix": {
"title": "Configuration Prefix",
"type": "string"
},
"endpoint": {
"title": "Endpoint",
"type": "string"
},
"region": {
"title": "Region",
"type": "string"
}
},
"required": [
"endpoint",
"bucket",
"region",
"configuration_prefix"
],
"title": "Target",
"type": "object"
}ProtocolWireTransferPlan
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"transfer_profile": {
"const": "kubevirt-32m/1",
"title": "Transfer Profile",
"type": "string"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy",
"transfer_profile"
],
"title": "TransferPlan",
"type": "object"
}ProtocolWireTransferQualifiedPlan
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_evidence": {
"$ref": "#/components/schemas/ProtocolWireCapabilityEvidenceRef"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"evidence_schema": {
"maximum": 1,
"minimum": 1,
"title": "Evidence Schema",
"type": "integer"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"transfer_profile": {
"const": "kubevirt-32m/1",
"title": "Transfer Profile",
"type": "string"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy",
"transfer_profile",
"evidence_schema",
"capability_evidence"
],
"title": "TransferQualifiedPlan",
"type": "object"
}ProtocolWireTransferQualifiedPlanV2
{
"additionalProperties": false,
"properties": {
"artifacts": {
"items": {
"$ref": "#/components/schemas/ProtocolWireArtifact"
},
"maxItems": 4096,
"minItems": 1,
"title": "Artifacts",
"type": "array"
},
"attempt_id": {
"title": "Attempt Id",
"type": "string"
},
"backup_type": {
"enum": [
"full",
"incremental"
],
"title": "Backup Type",
"type": "string"
},
"capability_evidence": {
"$ref": "#/components/schemas/ProtocolWireCapabilityEvidenceRefV2"
},
"capability_profile": {
"enum": [
"checksum-enforced/1",
"consumer-verified/1",
"db-rooted-consumer-verified/1"
],
"title": "Capability Profile",
"type": "string"
},
"checksum_policy": {
"const": "sha256-parts-receipt-v2",
"title": "Checksum Policy",
"type": "string"
},
"credential_ref": {
"title": "Credential Ref",
"type": "string"
},
"encryption": {
"$ref": "#/components/schemas/ProtocolWireEncryption"
},
"evidence_schema": {
"maximum": 2,
"minimum": 2,
"title": "Evidence Schema",
"type": "integer"
},
"exclusions": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclusions",
"type": "array"
},
"parent": {
"anyOf": [
{
"$ref": "#/components/schemas/ProtocolWireParent"
},
{
"type": "null"
}
]
},
"provider": {
"const": "kubevirt",
"title": "Provider",
"type": "string"
},
"source": {
"$ref": "#/components/schemas/ProtocolWireSource"
},
"target": {
"$ref": "#/components/schemas/ProtocolWireTarget"
},
"transfer_profile": {
"const": "kubevirt-32m/1",
"title": "Transfer Profile",
"type": "string"
},
"vm_name": {
"title": "Vm Name",
"type": "string"
}
},
"required": [
"attempt_id",
"capability_profile",
"source",
"provider",
"vm_name",
"backup_type",
"exclusions",
"parent",
"target",
"credential_ref",
"encryption",
"artifacts",
"checksum_policy",
"transfer_profile",
"evidence_schema",
"capability_evidence"
],
"title": "TransferQualifiedPlanV2",
"type": "object"
}ProtocolWireVolume
{
"additionalProperties": false,
"properties": {
"capacity_bytes": {
"exclusiveMinimum": 0,
"maximum": 9223372036854775807,
"title": "Capacity Bytes",
"type": "integer"
},
"mapping": {
"$ref": "#/components/schemas/ProtocolWireDiskMapping"
},
"name": {
"title": "Name",
"type": "string"
},
"pvc_name": {
"title": "Pvc Name",
"type": "string"
},
"pvc_resource_version": {
"title": "Pvc Resource Version",
"type": "string"
},
"pvc_uid": {
"title": "Pvc Uid",
"type": "string"
}
},
"required": [
"name",
"pvc_name",
"pvc_uid",
"pvc_resource_version",
"capacity_bytes",
"mapping"
],
"title": "Volume",
"type": "object"
}RealtimeErrorDetail
{
"properties": {
"code": {
"enum": [
"realtime_contract_unsupported",
"realtime_parameters_conflict",
"realtime_cursor_invalid",
"realtime_cursor_contract_required",
"realtime_timestamp_invalid"
],
"title": "Code",
"type": "string"
},
"message": {
"title": "Message",
"type": "string"
}
},
"required": [
"code",
"message"
],
"title": "RealtimeErrorDetail",
"type": "object"
}RealtimeErrorResponse
{
"properties": {
"detail": {
"$ref": "#/components/schemas/RealtimeErrorDetail"
}
},
"required": [
"detail"
],
"title": "RealtimeErrorResponse",
"type": "object"
}RealtimePage
{
"additionalProperties": false,
"properties": {
"delivery": {
"const": "best_effort",
"title": "Delivery",
"type": "string"
},
"has_more": {
"title": "Has More",
"type": "boolean"
},
"items": {
"items": {
"$ref": "#/components/schemas/CursorRealtimeEvent"
},
"title": "Items",
"type": "array"
},
"next_cursor": {
"title": "Next Cursor",
"type": "string"
},
"reset_reason": {
"anyOf": [
{
"enum": [
"initial",
"process_changed",
"scope_changed",
"cursor_expired",
"history_lost"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Reset Reason"
},
"reset_required": {
"title": "Reset Required",
"type": "boolean"
},
"retention_seconds": {
"const": 300,
"title": "Retention Seconds",
"type": "integer"
}
},
"required": [
"items",
"next_cursor",
"has_more",
"reset_required",
"reset_reason",
"retention_seconds",
"delivery"
],
"title": "RealtimePage",
"type": "object"
}ReportCreate
{
"description": "Request model for creating report",
"properties": {
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"filters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Filters"
},
"format": {
"default": "pdf",
"title": "Format",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"recipients": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Recipients"
},
"report_type": {
"title": "Report Type",
"type": "string"
},
"schedule": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Schedule"
}
},
"required": [
"name",
"report_type"
],
"title": "ReportCreate",
"type": "object"
}RestoreCreateRequest
{
"additionalProperties": false,
"description": "Normalize defaults before identity matching; refuse ignored intent.",
"properties": {
"adjust_config": {
"default": false,
"title": "Adjust Config",
"type": "boolean"
},
"auto_define": {
"default": false,
"title": "Auto Define",
"type": "boolean"
},
"backup_id": {
"minLength": 1,
"title": "Backup Id",
"type": "string"
},
"kubevirt_target": {
"anyOf": [
{
"$ref": "#/components/schemas/KubeVirtRestoreTarget"
},
{
"type": "null"
}
]
},
"native_target": {
"anyOf": [
{
"$ref": "#/components/schemas/NativeRestoreInput"
},
{
"type": "null"
}
]
},
"restore_to_original": {
"default": true,
"title": "Restore To Original",
"type": "boolean"
},
"selected_disks": {
"items": {
"type": "string"
},
"title": "Selected Disks",
"type": "array"
},
"target_vm_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target Vm Name"
},
"until_checkpoint": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Until Checkpoint"
}
},
"required": [
"backup_id"
],
"title": "RestoreCreateRequest",
"type": "object"
}RestoreRequest
{
"properties": {
"backup_id": {
"title": "Backup Id",
"type": "string"
}
},
"required": [
"backup_id"
],
"title": "RestoreRequest",
"type": "object"
}RotateKeyRequest
{
"properties": {
"new_name": {
"maxLength": 255,
"minLength": 1,
"title": "New Name",
"type": "string"
}
},
"required": [
"new_name"
],
"title": "RotateKeyRequest",
"type": "object"
}ScheduleCreate
{
"description": "Request model for creating schedule",
"properties": {
"backup_policy": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Backup Policy"
},
"backup_type": {
"default": "full",
"enum": [
"full",
"incremental",
"automatic"
],
"title": "Backup Type",
"type": "string"
},
"cron_expression": {
"title": "Cron Expression",
"type": "string"
},
"enabled": {
"default": false,
"title": "Enabled",
"type": "boolean"
},
"exclude_disks": {
"items": {
"type": "string"
},
"maxItems": 256,
"title": "Exclude Disks",
"type": "array"
},
"name": {
"title": "Name",
"type": "string"
},
"retention_days": {
"default": 30,
"maximum": 36500.0,
"minimum": 1.0,
"title": "Retention Days",
"type": "integer"
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": {},
"title": "Tags"
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vm Group Id"
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vm Id"
},
"workers": {
"description": "Per-backup worker overrides are unsupported",
"title": "Workers",
"type": "null"
}
},
"required": [
"name",
"cron_expression"
],
"title": "ScheduleCreate",
"type": "object"
}ScheduleRequest
{
"properties": {
"backup_type": {
"default": "full",
"pattern": "^(full|incremental)$",
"title": "Backup Type",
"type": "string"
},
"cron_expression": {
"maxLength": 80,
"minLength": 5,
"title": "Cron Expression",
"type": "string"
},
"enabled": {
"default": true,
"title": "Enabled",
"type": "boolean"
},
"name": {
"maxLength": 80,
"minLength": 1,
"title": "Name",
"type": "string"
},
"retention_days": {
"default": 30,
"maximum": 90.0,
"minimum": 1.0,
"title": "Retention Days",
"type": "integer"
},
"vm_group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vm Group Id"
},
"vm_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Vm Id"
}
},
"required": [
"name",
"cron_expression"
],
"title": "ScheduleRequest",
"type": "object"
}ScheduleUpdate
{
"description": "Request model for updating schedule",
"properties": {
"backup_policy": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Backup Policy"
},
"backup_type": {
"anyOf": [
{
"enum": [
"full",
"incremental",
"automatic"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Backup Type"
},
"cron_expression": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cron Expression"
},
"enabled": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Enabled"
},
"exclude_disks": {
"anyOf": [
{
"items": {
"type": "string"
},
"maxItems": 256,
"type": "array"
},
{
"type": "null"
}
],
"title": "Exclude Disks"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"retention_days": {
"anyOf": [
{
"maximum": 36500.0,
"minimum": 1.0,
"type": "integer"
},
{
"type": "null"
}
],
"title": "Retention Days"
},
"tags": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Tags"
},
"workers": {
"description": "Per-backup worker overrides are unsupported",
"title": "Workers",
"type": "null"
}
},
"title": "ScheduleUpdate",
"type": "object"
}UserCreate
{
"additionalProperties": false,
"description": "Request model for creating user",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Email"
},
"full_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Full Name"
},
"is_active": {
"default": true,
"title": "Is Active",
"type": "boolean"
},
"password": {
"minLength": 1,
"title": "Password",
"type": "string"
},
"role": {
"default": "viewer",
"enum": [
"admin",
"operator",
"viewer"
],
"title": "Role",
"type": "string"
},
"username": {
"maxLength": 255,
"minLength": 1,
"title": "Username",
"type": "string"
}
},
"required": [
"username",
"password"
],
"title": "UserCreate",
"type": "object"
}UserUpdate
{
"additionalProperties": false,
"description": "Request model for updating user",
"properties": {
"email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Email"
},
"full_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Full Name"
},
"is_active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Active"
},
"password": {
"anyOf": [
{
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Password"
},
"role": {
"anyOf": [
{
"enum": [
"admin",
"operator",
"viewer"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Role"
},
"role_source": {
"anyOf": [
{
"enum": [
"local",
"oidc"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Role Source"
},
"username": {
"anyOf": [
{
"maxLength": 255,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"title": "Username"
}
},
"title": "UserUpdate",
"type": "object"
}VMGroupAddVMs
{
"description": "Request model for adding VMs to group",
"properties": {
"vm_ids": {
"items": {
"type": "string"
},
"title": "Vm Ids",
"type": "array"
}
},
"required": [
"vm_ids"
],
"title": "VMGroupAddVMs",
"type": "object"
}VMGroupCreate
{
"description": "Request model for creating VM group",
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"group_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "static",
"title": "Group Type"
},
"name": {
"title": "Name",
"type": "string"
},
"rules": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Rules"
},
"rules_match": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": "all",
"title": "Rules Match"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": [],
"title": "Tags"
}
},
"required": [
"name"
],
"title": "VMGroupCreate",
"type": "object"
}VMGroupUpdate
{
"description": "Request model for updating VM group",
"properties": {
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"group_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Group Type"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"rules": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Rules"
},
"rules_match": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Rules Match"
},
"tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Tags"
}
},
"title": "VMGroupUpdate",
"type": "object"
}ValidationError
{
"properties": {
"ctx": {
"title": "Context",
"type": "object"
},
"input": {
"title": "Input"
},
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"title": "Location",
"type": "array"
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError",
"type": "object"
}VerificationCommand
{
"additionalProperties": false,
"properties": {
"action": {
"default": "start",
"enum": [
"start",
"resume",
"cancel"
],
"title": "Action",
"type": "string"
},
"verification_id": {
"title": "Verification Id",
"type": "string"
}
},
"required": [
"verification_id"
],
"title": "VerificationCommand",
"type": "object"
}VerificationResult
{
"additionalProperties": false,
"properties": {
"agent_id": {
"type": "string"
},
"members": {
"items": {
"additionalProperties": false,
"properties": {
"backup_id": {
"type": "string"
},
"objects": {
"type": "integer"
},
"plan_sha256": {
"type": "string"
},
"receipt_sha256": {
"type": "string"
},
"reservation_id": {
"type": "string"
}
},
"required": [
"backup_id",
"reservation_id",
"plan_sha256",
"receipt_sha256",
"objects"
],
"type": "object"
},
"type": "array"
},
"org_id": {
"type": "string"
},
"provider": {
"type": "string"
},
"schema": {
"const": "vnbui-chain-verification/1"
},
"vm_id": {
"type": "string"
}
},
"required": [
"schema",
"provider",
"org_id",
"agent_id",
"vm_id",
"members"
],
"type": "object"
}Security schemes
AgentCandidate
{
"description": "Pending candidate proof authorizes only its exact activation route.",
"in": "header",
"name": "X-Agent-Key",
"type": "apiKey"
}AgentKey
{
"in": "header",
"name": "X-Agent-Key",
"type": "apiKey"
}AgentMTLS
{
"description": "Transport-verified client certificate; never a caller-supplied fingerprint header.",
"type": "mutualTLS"
}DemoSession
{
"in": "cookie",
"name": "vnbui_demo_session",
"type": "apiKey"
}OAuth2PasswordBearer
{
"flows": {
"password": {
"scopes": {},
"tokenUrl": "/api/v1/auth/login"
}
},
"type": "oauth2"
}OIDCPKCE
{
"in": "cookie",
"name": "oidc_pkce",
"type": "apiKey"
}OIDCState
{
"in": "cookie",
"name": "oidc_state",
"type": "apiKey"
}RegistrationKey
{
"in": "header",
"name": "X-API-Key",
"type": "apiKey"
}