{"openapi":"3.1.0","info":{"title":"Calagopus API","version":"1.0.0"},"servers":[{"url":"/"},{"url":"https://panel.pterodactyl.host"}],"paths":{"/api/admin/activity":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_activity","parameters":[{"name":"user","in":"query","description":"The user ID to filter activities","required":false,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["activities"],"properties":{"activities":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminAdminActivity","required":["event","data","is_api","created"],"properties":{"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/admin/announcements":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_announcements","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcements"],"properties":{"announcements":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminAnnouncement","required":["uuid","type","enabled","dismissible","title","title_translations","content","content_translations","locations","nodes","backup_configurations","eggs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/AnnouncementType"},"enabled":{"type":"boolean"},"enabled_start":{"type":["string","null"],"format":"date-time"},"enabled_end":{"type":["string","null"],"format":"date-time"},"dismissible":{"type":"boolean"},"dismissible_end":{"type":["string","null"],"format":"date-time"},"title":{"$ref":"#/components/schemas/CompactString"},"title_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"content":{"$ref":"#/components/schemas/CompactString"},"content_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"locations":{"type":"array","items":{"type":"string","format":"uuid"}},"nodes":{"type":"array","items":{"type":"string","format":"uuid"}},"backup_configurations":{"type":"array","items":{"type":"string","format":"uuid"}},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_announcements","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["type","enabled","dismissible","title","title_translations","content","content_translations","locations","nodes","backup_configurations","eggs"],"properties":{"type":{"$ref":"#/components/schemas/AnnouncementType"},"enabled":{"type":"boolean"},"enabled_start":{"type":["string","null"],"format":"date-time"},"enabled_end":{"type":["string","null"],"format":"date-time"},"dismissible":{"type":"boolean"},"dismissible_end":{"type":["string","null"],"format":"date-time"},"title":{"$ref":"#/components/schemas/CompactString"},"title_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"content":{"$ref":"#/components/schemas/CompactString"},"content_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"locations":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}},"nodes":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}},"backup_configurations":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}},"eggs":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcement"],"properties":{"announcement":{"$ref":"#/components/schemas/AdminApiAnnouncement"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/announcements/{announcement}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_announcements_announcement","parameters":[{"name":"announcement","in":"path","description":"The announcement ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcement"],"properties":{"announcement":{"$ref":"#/components/schemas/AdminApiAnnouncement"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_announcements_announcement","parameters":[{"name":"announcement","in":"path","description":"The announcement ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_announcements_announcement","parameters":[{"name":"announcement","in":"path","description":"The announcement ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AnnouncementType"}]},"enabled":{"type":["boolean","null"]},"enabled_start":{"type":["string","null"],"format":"date-time"},"enabled_end":{"type":["string","null"],"format":"date-time"},"dismissible":{"type":["boolean","null"]},"dismissible_end":{"type":["string","null"],"format":"date-time"},"title":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"title_translations":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"content":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"content_translations":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"locations":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}},"nodes":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}},"backup_configurations":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}},"eggs":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/announcements/{announcement}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_announcements_announcement_duplicate","parameters":[{"name":"announcement","in":"path","description":"The announcement ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcement"],"properties":{"announcement":{"$ref":"#/components/schemas/AdminApiAnnouncement"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/assets":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_assets","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"directory","in":"query","description":"Directory path to list (relative to assets root)","required":false,"schema":{"type":"string"},"example":"images"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"assets":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","required":["name","url","size","is_directory","created"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"url":{"type":"string"},"size":{"type":"integer","format":"int64","minimum":0},"is_directory":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"tags":["/api/admin"],"operationId":"put_api_admin_assets","parameters":[{"name":"directory","in":"query","description":"Directory path to upload to (relative to assets root)","required":false,"schema":{"type":"string"},"example":"images"}],"requestBody":{"content":{"text/plain":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"assets":{"type":"array","items":{"$ref":"#/components/schemas/StorageAsset"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/assets/delete":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_assets_delete","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["names"],"properties":{"names":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"integer","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/assets/search":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_assets_search","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["search"],"properties":{"per_page":{"type":"integer","format":"int64","maximum":100,"minimum":1},"directory":{"$ref":"#/components/schemas/CompactString"},"search":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"assets":{"type":"array","items":{"$ref":"#/components/schemas/StorageAsset"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_configurations"],"properties":{"backup_configurations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"BackupConfiguration","required":["uuid","name","maintenance_enabled","shared","backup_disk","backup_configs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"maintenance_enabled":{"type":"boolean"},"shared":{"type":"boolean"},"backup_disk":{"$ref":"#/components/schemas/BackupDisk"},"backup_configs":{"$ref":"#/components/schemas/BackupConfigs"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_backup-configurations","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","maintenance_enabled","shared","backup_disk","backup_configs"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"maintenance_enabled":{"type":"boolean"},"shared":{"type":"boolean"},"backup_disk":{"$ref":"#/components/schemas/BackupDisk"},"backup_configs":{"$ref":"#/components/schemas/BackupConfigs"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_configuration"],"properties":{"backup_configuration":{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_configuration"],"properties":{"backup_configuration":{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_backup-configurations_backup_configuration","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_backup-configurations_backup_configuration","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"maintenance_enabled":{"type":["boolean","null"]},"shared":{"type":["boolean","null"]},"backup_disk":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupDisk"}]},"backup_configs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupConfigs"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration_backups","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups","failed"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeServerBackup","required":["uuid","node","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}},"failed":{"type":"integer","format":"int64"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/backups/delete-failed":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_backup-configurations_backup_configuration_backups_delete-failed","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["queued"],"properties":{"queued":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_backup-configurations_backup_configuration_duplicate","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_configuration"],"properties":{"backup_configuration":{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/locations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration_locations","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["locations"],"properties":{"locations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Location","required":["uuid","name","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration_nodes","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nodes"],"properties":{"nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Node","required":["uuid","location","name","deployment_enabled","maintenance_enabled","url","sftp_port","memory","disk","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"location":{"$ref":"#/components/schemas/AdminApiLocation"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_url":{"type":["string","null"],"format":"uri"},"url":{"type":"string","format":"uri"},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":"integer","format":"int32"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration_servers","parameters":[{"name":"backup_configuration","in":"path","description":"The backup configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/backup-configurations/{backup_configuration}/stats":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_backup-configurations_backup_configuration_stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["all_time","today","week","month"],"properties":{"all_time":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"today":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"week":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"month":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}}}}}}}}}},"/api/admin/database-agent-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_hosts"],"properties":{"database_agent_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"DatabaseAgentHost","required":["uuid","name","deployment_enabled","maintenance_enabled","url","memory","disk","types","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"types":{"$ref":"#/components/schemas/DatabaseAgentHostTypes"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-hosts","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","deployment_enabled","maintenance_enabled","url","memory","disk"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"url":{"$ref":"#/components/schemas/CompactString"},"memory":{"type":"integer","format":"int64","minimum":1},"disk":{"type":"integer","format":"int64","minimum":1},"types":{"$ref":"#/components/schemas/DatabaseAgentHostTypes"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_host"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/config":{"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-agent-hosts_config","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_agent_host_uuids","config"],"properties":{"database_agent_host_uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"config":{}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["applied"],"properties":{"applied":{"type":"integer","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_host"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_database-agent-hosts_database_agent_host","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-agent-hosts_database_agent_host","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":["boolean","null"]},"maintenance_enabled":{"type":["boolean","null"]},"url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"memory":{"type":["integer","null"],"format":"int64","minimum":1},"disk":{"type":["integer","null"],"format":"int64","minimum":1},"types":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentHostTypes"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_backups","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups","failed"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeServerBackup","required":["uuid","node","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}},"failed":{"type":"integer","format":"int64"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/backups/delete-failed":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-hosts_database_agent_host_backups_delete-failed","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["queued"],"properties":{"queued":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/capacity":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_capacity","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["limits","allocated"],"properties":{"limits":{"type":"object","required":["memory","disk"],"properties":{"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"}}},"allocated":{"type":"object","required":["instances","cpu","memory","disk"],"properties":{"instances":{"type":"integer","format":"int64"},"cpu":{"type":"integer","format":"int64"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/config":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_config","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["config"],"properties":{"config":{"$ref":"#/components/schemas/Response200"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-agent-hosts_database_agent_host_config","requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["applied"],"properties":{"applied":{"type":"boolean"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/instances":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_instances","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"instances":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerDatabaseInstance","required":["uuid","server","update_available","type","name","is_locked","env","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"$ref":"#/components/schemas/AdminApiServer"},"database_agent_template":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}]},"template_version":{"type":["integer","null"],"format":"int32"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image_override":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_overrides":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"memory_override":{"type":["integer","null"],"format":"int64"},"swap_override":{"type":["integer","null"],"format":"int64"},"disk_override":{"type":["integer","null"],"format":"int64"},"io_weight_override":{"type":["integer","null"],"format":"int32"},"cpu_override":{"type":["integer","null"],"format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/instances/{database_instance}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_instances_database_instance","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instance"],"properties":{"instance":{"$ref":"#/components/schemas/AdminApiServerDatabaseInstance"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_database-agent-hosts_database_agent_host_instances_database_instance","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-agent-hosts_database_agent_host_instances_database_instance","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"locked":{"type":["boolean","null"]},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":["integer","null"],"format":"int64","minimum":0},"swap":{"type":["integer","null"],"format":"int64","minimum":-1},"disk":{"type":["integer","null"],"format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0},"cpu":{"type":["integer","null"],"format":"int32","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/reset-token":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-hosts_database_agent_host_reset-token","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/system/overview":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_system_overview","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["version","local_time","container_type","cpu","memory","instances","architecture","kernel_version"],"properties":{"version":{"type":"string"},"local_time":{"type":"string","format":"date-time"},"container_type":{"type":"string","enum":["official","unknown","none"]},"cpu":{"type":"object","required":["name","brand","vendor_id","frequency_mhz","cpu_count"],"properties":{"name":{"type":"string"},"brand":{"type":"string"},"vendor_id":{"type":"string"},"frequency_mhz":{"type":"integer","format":"int64","minimum":0},"cpu_count":{"type":"integer","format":"int64","minimum":0}}},"memory":{"type":"object","required":["total_bytes","free_bytes","used_bytes","used_bytes_process"],"properties":{"total_bytes":{"type":"integer","format":"int64","minimum":0},"free_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes_process":{"type":"integer","format":"int64","minimum":0}}},"instances":{"type":"object","required":["total","online","offline"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"online":{"type":"integer","format":"int64","minimum":0},"offline":{"type":"integer","format":"int64","minimum":0}}},"architecture":{"type":"string"},"kernel_version":{"type":"string"}}}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/system/stats":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_system_stats","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["stats"],"properties":{"stats":{"type":"object","required":["cpu","network","memory","disk"],"properties":{"cpu":{"type":"object","required":["used","threads","model"],"properties":{"used":{"type":"number","format":"double"},"threads":{"type":"integer","format":"int64","minimum":0},"model":{"type":"string"}}},"network":{"type":"object","required":["received","received_packets","receiving_rate","received_packets_rate","sent","sent_packets","sending_rate","sending_packets_rate"],"properties":{"received":{"type":"integer","format":"int64","minimum":0},"received_packets":{"type":"integer","format":"int64","minimum":0},"receiving_rate":{"type":"number","format":"double"},"received_packets_rate":{"type":"number","format":"double"},"sent":{"type":"integer","format":"int64","minimum":0},"sent_packets":{"type":"integer","format":"int64","minimum":0},"sending_rate":{"type":"number","format":"double"},"sending_packets_rate":{"type":"number","format":"double"}}},"memory":{"type":"object","required":["used","used_process","total"],"properties":{"used":{"type":"integer","format":"int64","minimum":0},"used_process":{"type":"integer","format":"int64","minimum":0},"total":{"type":"integer","format":"int64","minimum":0}}},"disk":{"type":"object","required":["used","total","read","reading_rate","written","writing_rate"],"properties":{"used":{"type":"integer","format":"int64","minimum":0},"total":{"type":"integer","format":"int64","minimum":0},"read":{"type":"integer","format":"int64","minimum":0},"reading_rate":{"type":"number","format":"double"},"written":{"type":"integer","format":"int64","minimum":0},"writing_rate":{"type":"number","format":"double"}}}}}}}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/test":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-hosts_database_agent_host_test","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-hosts/{database_agent_host}/token":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-hosts_database_agent_host_token","parameters":[{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-templates":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-templates","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_templates"],"properties":{"database_agent_templates":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminDatabaseAgentTemplate","required":["uuid","name","type","deployment_enabled","docker_images","env","image_uid","image_gid","volumes","socket_path","memory","swap","disk","cpu","version","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"deployment_enabled":{"type":"boolean"},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"image_uid":{"type":"integer","format":"int32"},"image_gid":{"type":"integer","format":"int32"},"cmd":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"volumes":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"socket_path":{"$ref":"#/components/schemas/CompactString"},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"version":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-templates","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","type","deployment_enabled","docker_images","env","image_uid","image_gid","volumes","socket_path","memory","swap","disk","cpu"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"deployment_enabled":{"type":"boolean"},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"image_uid":{"type":"integer","format":"int32","minimum":0},"image_gid":{"type":"integer","format":"int32","minimum":0},"cmd":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"volumes":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"socket_path":{"$ref":"#/components/schemas/CompactString"},"memory":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0},"cpu":{"type":"integer","format":"int32","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_template"],"properties":{"database_agent_template":{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-templates/{database_agent_template}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-templates_database_agent_template","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_template"],"properties":{"database_agent_template":{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_database-agent-templates_database_agent_template","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-agent-templates_database_agent_template","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":["boolean","null"]},"docker_images":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"image_uid":{"type":["integer","null"],"format":"int32","minimum":0},"image_gid":{"type":["integer","null"],"format":"int32","minimum":0},"cmd":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"volumes":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"socket_path":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"memory":{"type":["integer","null"],"format":"int64","minimum":0},"swap":{"type":["integer","null"],"format":"int64","minimum":-1},"disk":{"type":["integer","null"],"format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":["integer","null"],"format":"int32","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-templates/{database_agent_template}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-templates_database_agent_template_duplicate","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_template"],"properties":{"database_agent_template":{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-templates/{database_agent_template}/instances":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-agent-templates_database_agent_template_instances","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"instances":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerDatabaseInstance","required":["uuid","server","update_available","type","name","is_locked","env","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"$ref":"#/components/schemas/AdminApiServer"},"database_agent_template":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}]},"template_version":{"type":["integer","null"],"format":"int32"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image_override":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_overrides":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"memory_override":{"type":["integer","null"],"format":"int64"},"swap_override":{"type":["integer","null"],"format":"int64"},"disk_override":{"type":["integer","null"],"format":"int64"},"io_weight_override":{"type":["integer","null"],"format":"int32"},"cpu_override":{"type":["integer","null"],"format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-agent-templates/{database_agent_template}/instances/update":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-agent-templates_database_agent_template_instances_update","parameters":[{"name":"database_agent_template","in":"path","description":"The database agent template ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"instances":{"$ref":"#/components/schemas/InstanceSelector"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["updated"],"properties":{"updated":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-hosts","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_hosts"],"properties":{"database_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminDatabaseHost","required":["uuid","name","deployment_enabled","maintenance_enabled","type","credentials","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseType"},"public_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"public_port":{"type":["integer","null"],"format":"int32"},"credentials":{"$ref":"#/components/schemas/DatabaseCredentials"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-hosts","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","type","deployment_enabled","maintenance_enabled","credentials"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"type":{"$ref":"#/components/schemas/DatabaseType"},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"public_port":{"type":["integer","null"],"format":"int32","minimum":1},"credentials":{"$ref":"#/components/schemas/DatabaseCredentials"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_host"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-hosts/{database_host}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-hosts_database_host","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_host"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_database-hosts_database_host","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_database-hosts_database_host","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":["boolean","null"]},"maintenance_enabled":{"type":["boolean","null"]},"public_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"public_port":{"type":["integer","null"],"format":"int32","minimum":1},"credentials":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseCredentials"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-hosts/{database_host}/databases":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_database-hosts_database_host_databases","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["databases"],"properties":{"databases":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerDatabase","required":["uuid","server","type","host","port","name","is_locked","username","password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"$ref":"#/components/schemas/AdminApiServer"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-hosts/{database_host}/databases/{database}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_database-hosts_database_host_databases_database","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/database-hosts/{database_host}/test":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_database-hosts_database_host_test","parameters":[{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-configurations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_egg-configurations","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_configurations"],"properties":{"egg_configurations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminEggConfiguration","required":["uuid","name","order","eggs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"order":{"type":"integer","format":"int32"},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"config_allocations":{"oneOf":[{"type":"null"},{"type":"object","properties":{"user_self_assign":{"$ref":"#/components/schemas/EggConfigAllocationsUserSelfAssign"},"deployment":{"$ref":"#/components/schemas/EggConfigAllocationsDeployment"}}}]},"config_startup":{"oneOf":[{"type":"null"},{"type":"object","required":["allow_custom_startup_command"],"properties":{"allow_custom_startup_command":{"type":"boolean"}}}]},"config_routes":{"oneOf":[{"type":"null"},{"type":"object","required":["order"],"properties":{"order":{"type":"array","items":{"$ref":"#/components/schemas/RouteOrderItem"}}}}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-configurations","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","order","eggs"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"order":{"type":"integer","format":"int32"},"eggs":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}},"config_allocations":{"oneOf":[{"type":"null"},{"type":"object","properties":{"user_self_assign":{"$ref":"#/components/schemas/EggConfigAllocationsUserSelfAssign"},"deployment":{"$ref":"#/components/schemas/EggConfigAllocationsDeployment"}}}]},"config_startup":{"oneOf":[{"type":"null"},{"type":"object","required":["allow_custom_startup_command"],"properties":{"allow_custom_startup_command":{"type":"boolean"}}}]},"config_routes":{"oneOf":[{"type":"null"},{"type":"object","required":["order"],"properties":{"order":{"type":"array","items":{"$ref":"#/components/schemas/RouteOrderItem"}}}}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_configuration"],"properties":{"egg_configuration":{"$ref":"#/components/schemas/AdminApiEggConfiguration"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-configurations/{egg_configuration}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_egg-configurations_egg_configuration","parameters":[{"name":"egg_configuration","in":"path","description":"The egg configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_configuration"],"properties":{"egg_configuration":{"$ref":"#/components/schemas/AdminApiEggConfiguration"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_egg-configurations_egg_configuration","parameters":[{"name":"egg_configuration","in":"path","description":"The egg configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_egg-configurations_egg_configuration","parameters":[{"name":"egg_configuration","in":"path","description":"The egg configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"order":{"type":["integer","null"],"format":"int32"},"eggs":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}},"config_allocations":{"oneOf":[{"type":"null"},{"type":"object","properties":{"user_self_assign":{"$ref":"#/components/schemas/EggConfigAllocationsUserSelfAssign"},"deployment":{"$ref":"#/components/schemas/EggConfigAllocationsDeployment"}}}]},"config_startup":{"oneOf":[{"type":"null"},{"type":"object","required":["allow_custom_startup_command"],"properties":{"allow_custom_startup_command":{"type":"boolean"}}}]},"config_routes":{"oneOf":[{"type":"null"},{"type":"object","required":["order"],"properties":{"order":{"type":"array","items":{"$ref":"#/components/schemas/RouteOrderItem"}}}}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-configurations/{egg_configuration}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-configurations_egg_configuration_duplicate","parameters":[{"name":"egg_configuration","in":"path","description":"The egg configuration ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_configuration"],"properties":{"egg_configuration":{"$ref":"#/components/schemas/AdminApiEggConfiguration"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-repositories":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_egg-repositories","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_repositories"],"properties":{"egg_repositories":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"EggRepository","required":["uuid","name","git_repository","credentials","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"git_repository":{"$ref":"#/components/schemas/CompactString"},"credentials":{"$ref":"#/components/schemas/EggRepositoryCredentials"},"last_synced":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-repositories","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","git_repository"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"git_repository":{"$ref":"#/components/schemas/CompactString"},"credentials":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EggRepositoryCredentials"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_repository"],"properties":{"egg_repository":{"$ref":"#/components/schemas/AdminApiEggRepository"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-repositories/{egg_repository}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_egg-repositories_egg_repository","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_repository"],"properties":{"egg_repository":{"$ref":"#/components/schemas/AdminApiEggRepository"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_egg-repositories_egg_repository","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_egg-repositories_egg_repository","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"git_repository":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"credentials":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EggRepositoryCredentials"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-repositories/{egg_repository}/eggs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_egg-repositories_egg_repository_eggs","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg_repository_eggs"],"properties":{"egg_repository_eggs":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"EggRepositoryEgg","required":["uuid","path","exported_egg","updated"],"properties":{"uuid":{"type":"string","format":"uuid"},"path":{"type":"string"},"readme":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"exported_egg":{"$ref":"#/components/schemas/ExportedNestEgg"},"updated":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/admin/egg-repositories/{egg_repository}/eggs/install":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-repositories_egg_repository_eggs_install","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["egg_uuids","nest_uuid"],"properties":{"egg_uuids":{"type":"array","items":{"type":"string","format":"uuid"},"uniqueItems":true},"nest_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["installed"],"properties":{"installed":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-repositories/{egg_repository}/eggs/{egg}/install":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-repositories_egg_repository_eggs_egg_install","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg repository egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["nest_uuid"],"properties":{"nest_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg"],"properties":{"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/egg-repositories/{egg_repository}/sync":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_egg-repositories_egg_repository_sync","parameters":[{"name":"egg_repository","in":"path","description":"The egg repository ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["found"],"properties":{"found":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/extensions":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_extensions","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["extensions","disabled","pending_disabled"],"properties":{"extensions":{"type":"array","items":{"type":"object","required":["metadata_toml","package_name","description","authors","version"],"properties":{"metadata_toml":{"$ref":"#/components/schemas/MetadataToml"},"package_name":{"type":"string"},"description":{"type":"string"},"authors":{"type":"array","items":{"type":"string"}},"version":{"type":"string"}}}},"disabled":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"pending_disabled":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}}}}},"/api/admin/extensions/manage/add":{"put":{"tags":["/api/admin"],"operationId":"put_api_admin_extensions_manage_add","parameters":[{"name":"accept_license","in":"query","description":"Whether to accept the extension's license (if there is one).","required":true,"schema":{"type":"boolean"},"example":"true"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["extension","needs_license_acceptance"],"properties":{"extension":{"$ref":"#/components/schemas/PendingExtension"},"needs_license_acceptance":{"type":"boolean"}}}}}}}}},"/api/admin/extensions/manage/logs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_extensions_manage_logs","parameters":[{"name":"build_id","in":"query","description":"The build to read the log of, defaulting to the current or most recent one","required":false,"schema":{"type":"integer","format":"int64","minimum":0},"example":"3"},{"name":"from_offset","in":"query","description":"The byte offset to resume from, taken from the previous response","required":true,"schema":{"type":"integer","format":"int64","minimum":0},"example":"65536"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["offset","data","eof"],"properties":{"offset":{"type":"integer","format":"int64","minimum":0},"data":{"type":"string"},"eof":{"type":"boolean"}}}}}}}}},"/api/admin/extensions/manage/rebuild":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_extensions_manage_rebuild","parameters":[{"name":"force","in":"query","description":"Whether to build even when the current extension set has already been built or has already failed","required":true,"schema":{"type":"boolean"},"example":"true"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["build_id"],"properties":{"build_id":{"type":"integer","format":"int64","minimum":0}}}}}}}}},"/api/admin/extensions/manage/rebuild/cancel":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_extensions_manage_rebuild_cancel","parameters":[{"name":"build_id","in":"query","description":"The build to stop, defaulting to whatever is building","required":false,"schema":{"type":"integer","format":"int64","minimum":0},"example":"3"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["build_id"],"properties":{"build_id":{"type":"integer","format":"int64","minimum":0}}}}}}}}},"/api/admin/extensions/manage/restart":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_extensions_manage_restart","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/extensions/manage/status":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_extensions_manage_status","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["is_building","pending_extensions","removed_extensions"],"properties":{"is_building":{"type":"boolean"},"supervisor":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/Status"}]},"pending_extensions":{"type":"array","items":{"$ref":"#/components/schemas/PendingExtension"}},"removed_extensions":{"type":"array","items":{"$ref":"#/components/schemas/PendingExtension"}}}}}}}}}},"/api/admin/extensions/manage/{extension}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_extensions_manage_extension","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["remove_migrations"],"properties":{"remove_migrations":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/extensions/{extension}":{"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_extensions_extension","parameters":[{"name":"extension","in":"path","description":"The package name of the extension","required":true,"schema":{"type":"string"},"example":"com.example.myextension"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["pending_restart"],"properties":{"pending_restart":{"type":"boolean"}}}}}}}}},"/api/admin/locations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_locations","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["locations"],"properties":{"locations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Location","required":["uuid","name","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_locations","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["location"],"properties":{"location":{"$ref":"#/components/schemas/AdminApiLocation"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_locations_location","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["location"],"properties":{"location":{"$ref":"#/components/schemas/AdminApiLocation"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_locations_location","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_locations_location","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/database-agent-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_locations_location_database-agent-hosts","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_hosts"],"properties":{"database_agent_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"LocationDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_locations_location_database-agent-hosts","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_agent_host_uuid"],"properties":{"database_agent_host_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/database-agent-hosts/{database_agent_host}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_locations_location_database-agent-hosts_database_agent_host","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/database-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_locations_location_database-hosts","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_hosts"],"properties":{"database_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"LocationDatabaseHost","required":["database_host","created"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_locations_location_database-hosts","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_host_uuid"],"properties":{"database_host_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/database-hosts/{database_host}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_locations_location_database-hosts_database_host","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_locations_location_duplicate","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["location"],"properties":{"location":{"$ref":"#/components/schemas/AdminApiLocation"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/locations/{location}/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_locations_location_nodes","parameters":[{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nodes"],"properties":{"nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Node","required":["uuid","location","name","deployment_enabled","maintenance_enabled","url","sftp_port","memory","disk","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"location":{"$ref":"#/components/schemas/AdminApiLocation"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_url":{"type":["string","null"],"format":"uri"},"url":{"type":"string","format":"uri"},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":"integer","format":"int32"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_mounts","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Mount","required":["uuid","name","source","target","read_only","user_mountable","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"source":{"$ref":"#/components/schemas/CompactString"},"target":{"$ref":"#/components/schemas/CompactString"},"read_only":{"type":"boolean"},"user_mountable":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_mounts","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","source","target","read_only","user_mountable"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"source":{"$ref":"#/components/schemas/CompactString"},"target":{"$ref":"#/components/schemas/CompactString"},"read_only":{"type":"boolean"},"user_mountable":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts/{mount}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_mounts_mount","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_mounts_mount","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_mounts_mount","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"source":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"target":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"read_only":{"type":["boolean","null"]},"user_mountable":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts/{mount}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_mounts_mount_duplicate","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","source","target"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"source":{"$ref":"#/components/schemas/CompactString"},"target":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts/{mount}/nest-eggs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_mounts_mount_nest-eggs","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nest_egg_mounts"],"properties":{"nest_egg_mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNestEggNestEggMount","required":["nest","nest_egg","created"],"properties":{"nest":{"$ref":"#/components/schemas/AdminApiNest"},"nest_egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts/{mount}/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_mounts_mount_nodes","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["node_mounts"],"properties":{"node_mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeNodeMount","required":["node","created"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/mounts/{mount}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_mounts_mount_servers","parameters":[{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server_mounts"],"properties":{"server_mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerServerMount","required":["server","created"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nests"],"properties":{"nests":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Nest","required":["uuid","name","author","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"author":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["author","name"],"properties":{"author":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nest"],"properties":{"nest":{"$ref":"#/components/schemas/AdminApiNest"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/eggs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_eggs","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nests"],"properties":{"nests":{"type":"array","items":{"type":"object","required":["nest","eggs"],"properties":{"nest":{"$ref":"#/components/schemas/AdminApiNest"},"eggs":{"type":"array","items":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}}}}}}}}},"/api/admin/nests/{nest}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nest"],"properties":{"nest":{"$ref":"#/components/schemas/AdminApiNest"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nests_nest","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"delete_eggs":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nests_nest","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"author":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["eggs"],"properties":{"eggs":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNestEgg","required":["uuid","name","author","config_files","config_startup","config_stop","config_script","startup_commands","force_outgoing_ip","separate_port","features","docker_images","file_denylist","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"egg_repository_egg":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiEggEggRepositoryEgg"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"author":{"$ref":"#/components/schemas/CompactString"},"config_files":{"type":"array","items":{"type":"object","required":["file","parser","replace"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}}},"config_startup":{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}},"config_stop":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}},"config_script":{"type":"object","required":["container","entrypoint","content"],"properties":{"container":{"$ref":"#/components/schemas/CompactString"},"entrypoint":{"$ref":"#/components/schemas/CompactString"},"content":{"type":"string"}}},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"force_outgoing_ip":{"type":"boolean"},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"file_denylist":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["author","name","config_files","config_startup","config_stop","config_script","startup_commands","force_outgoing_ip","separate_port","features","docker_images","file_denylist"],"properties":{"egg_repository_egg_uuid":{"type":["string","null"],"format":"uuid"},"author":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"config_files":{"type":"array","items":{"type":"object","required":["file","parser","replace"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}}},"config_startup":{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}},"config_stop":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}},"config_script":{"type":"object","required":["container","entrypoint","content"],"properties":{"container":{"$ref":"#/components/schemas/CompactString"},"entrypoint":{"$ref":"#/components/schemas/CompactString"},"content":{"type":"string"}}},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"force_outgoing_ip":{"type":"boolean"},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"file_denylist":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg"],"properties":{"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/delete":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_delete","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["egg_uuids"],"properties":{"egg_uuids":{"type":"array","items":{"type":"string","format":"uuid"},"uniqueItems":true}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/import":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_import","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportedNestEgg"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg"],"properties":{"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/import/url":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_import_url","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["urls"],"properties":{"urls":{"type":"array","items":{"type":"string","format":"uri"},"maxItems":25,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["eggs","failures"],"properties":{"eggs":{"type":"array","items":{"$ref":"#/components/schemas/AdminApiNestEgg"}},"failures":{"type":"array","items":{"type":"object","required":["url","error"],"properties":{"url":{"type":"string","format":"uri"},"error":{"type":"string"}}}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/move":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_move","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["egg_uuids","destination_nest_uuid"],"properties":{"egg_uuids":{"type":"array","items":{"type":"string","format":"uuid"},"uniqueItems":true},"destination_nest_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["moved"],"properties":{"moved":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/update/repository":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_update_repository","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["updated"],"properties":{"updated":{"type":"integer","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs_egg","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg"],"properties":{"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nests_nest_eggs_egg","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nests_nest_eggs_egg","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"egg_repository_egg_uuid":{"type":["string","null"],"format":"uuid"},"author":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"config_files":{"type":["array","null"],"items":{"type":"object","required":["file","parser","replace"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}}},"config_startup":{"oneOf":[{"type":"null"},{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}}]},"config_stop":{"oneOf":[{"type":"null"},{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}]},"config_script":{"oneOf":[{"type":"null"},{"type":"object","required":["container","entrypoint","content"],"properties":{"container":{"$ref":"#/components/schemas/CompactString"},"entrypoint":{"$ref":"#/components/schemas/CompactString"},"content":{"type":"string"}}}]},"startup_commands":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"force_outgoing_ip":{"type":["boolean","null"]},"separate_port":{"type":["boolean","null"]},"features":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"file_denylist":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_duplicate","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","nest_uuid"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"nest_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["egg"],"properties":{"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/export":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs_egg_export","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportedNestEgg"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/mounts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs_egg_mounts","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNestEggMount","required":["mount","created"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_mounts","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["mount_uuid"],"properties":{"mount_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/mounts/{mount}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nests_nest_eggs_egg_mounts_mount","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/move":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_move","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["destination_nest_uuid"],"properties":{"destination_nest_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs_egg_servers","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/update/import":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_update_import","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportedNestEgg"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/update/import/url":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_update_import_url","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/update/repository":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_update_repository","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/variables":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nests_nest_eggs_egg_variables","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["variables"],"properties":{"variables":{"type":"array","items":{"$ref":"#/components/schemas/AdminApiNestEggVariable"}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_variables","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","name_translations","description_translations","order","env_variable","user_viewable","user_editable","secret","rules"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"order":{"type":"integer","format":"int32"},"env_variable":{"$ref":"#/components/schemas/CompactString"},"default_value":{"type":["string","null"],"maxLength":1024},"user_viewable":{"type":"boolean"},"user_editable":{"type":"boolean"},"secret":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["variable"],"properties":{"variable":{"$ref":"#/components/schemas/AdminApiNestEggVariable"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/variables/order":{"put":{"tags":["/api/admin"],"operationId":"put_api_admin_nests_nest_eggs_egg_variables_order","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["variable_order"],"properties":{"variable_order":{"type":"array","items":{"type":"string","format":"uuid","maxLength":1024}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/variables/{variable}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nests_nest_eggs_egg_variables_variable","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"variable","in":"path","description":"The variable ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nests_nest_eggs_egg_variables_variable","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"variable","in":"path","description":"The variable ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_translations":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description_translations":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"order":{"type":["integer","null"],"format":"int32"},"env_variable":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"default_value":{"type":["string","null"],"maxLength":1024},"user_viewable":{"type":["boolean","null"]},"user_editable":{"type":["boolean","null"]},"secret":{"type":["boolean","null"]},"rules":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nests/{nest}/eggs/{egg}/variables/{variable}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nests_nest_eggs_egg_variables_variable_duplicate","parameters":[{"name":"nest","in":"path","description":"The nest ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"egg","in":"path","description":"The egg ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"variable","in":"path","description":"The variable ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","env_variable"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"env_variable":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["variable"],"properties":{"variable":{"$ref":"#/components/schemas/AdminApiNestEggVariable"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nodes"],"properties":{"nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Node","required":["uuid","location","name","deployment_enabled","maintenance_enabled","url","sftp_port","memory","disk","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"location":{"$ref":"#/components/schemas/AdminApiLocation"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_url":{"type":["string","null"],"format":"uri"},"url":{"type":"string","format":"uri"},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":"integer","format":"int32"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["location_uuid","name","deployment_enabled","maintenance_enabled","url","sftp_port","memory","disk"],"properties":{"location_uuid":{"type":"string","format":"uuid"},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"url":{"$ref":"#/components/schemas/CompactString"},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":"integer","format":"int32","minimum":1},"memory":{"type":"integer","format":"int64","minimum":0},"disk":{"type":"integer","format":"int64","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["node"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/capacities":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_capacities","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocated"],"properties":{"allocated":{"type":"object","additionalProperties":{"type":"object","required":["servers","cpu","memory","memory_overhead","disk"],"properties":{"servers":{"type":"integer","format":"int64"},"cpu":{"type":"integer","format":"int64"},"memory":{"type":"integer","format":"int64"},"memory_overhead":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"}}},"propertyNames":{"type":"string","format":"uuid"}}}}}}}}}},"/api/admin/nodes/config":{"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nodes_config","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["node_uuids","config"],"properties":{"node_uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"config":{}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["applied"],"properties":{"applied":{"type":"integer","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["node"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nodes_node","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"location_uuid":{"type":["string","null"],"format":"uuid"},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":["boolean","null"]},"maintenance_enabled":{"type":["boolean","null"]},"public_url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":["integer","null"],"format":"int32","minimum":1},"memory":{"type":["integer","null"],"format":"int64","minimum":0},"disk":{"type":["integer","null"],"format":"int64","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/allocations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_allocations","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"ip","in":"query","description":"Only include allocations on this IP","required":false,"schema":{"type":"string"},"example":"10.0.0.5"},{"name":"port_from","in":"query","description":"Only include allocations with a port at or above this","required":false,"schema":{"type":"integer","format":"int32"},"example":"25565"},{"name":"port_to","in":"query","description":"Only include allocations with a port at or below this","required":false,"schema":{"type":"integer","format":"int32"},"example":"25600"},{"name":"assigned","in":"query","description":"Only include allocations that are assigned to a server, or only those that are not","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocations"],"properties":{"allocations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"NodeAllocation","required":["uuid","ip","port","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_allocations","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ip","ports"],"properties":{"ip":{"type":"string"},"ip_alias":{"type":["string","null"],"maxLength":255,"minLength":1},"ports":{"type":"array","items":{"type":"integer","format":"int32","minimum":0},"maxItems":65535,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["created"],"properties":{"created":{"type":"integer","format":"int64","minimum":0}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_allocations","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["selector"],"properties":{"selector":{"$ref":"#/components/schemas/AllocationSelector"},"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["deleted","skipped"],"properties":{"deleted":{"type":"integer","format":"int64"},"skipped":{"type":"integer","format":"int64"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nodes_node_allocations","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["selector","ip"],"properties":{"selector":{"$ref":"#/components/schemas/AllocationSelector"},"ip":{"type":"string"},"ip_alias":{"type":["string","null"],"maxLength":255,"minLength":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["updated","skipped"],"properties":{"updated":{"type":"integer","format":"int64"},"skipped":{"type":"integer","format":"int64"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/allocations/available":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_allocations_available","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocations"],"properties":{"allocations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"NodeAllocation","required":["uuid","ip","port","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/allocations/ips":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_allocations_ips","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["ips"],"properties":{"ips":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_backups","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"detached","in":"query","description":"Only show backups that are detached","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups","failed"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}},"failed":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/delete-failed":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_delete-failed","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"detached":{"type":"boolean"},"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["queued"],"properties":{"queued":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_backups_backup","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup"],"properties":{"backup":{"$ref":"#/components/schemas/ApiServerBackup"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_backups_backup","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/detach":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_backup_detach","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/download":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_backups_backup_download","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/export":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_backup_export","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server_uuid","path"],"properties":{"server_uuid":{"type":"string","format":"uuid"},"path":{"type":"string"},"archive_format":{"$ref":"#/components/schemas/StreamableArchiveFormat"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["entry"],"properties":{"entry":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/query":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_backups_backup_query","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"archive_format":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ArchiveFormat"}]},"size":{"type":["integer","null"],"format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/reassign":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_backup_reassign","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_instance_uuid"],"properties":{"database_instance_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/reattach":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_backup_reattach","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server_uuid"],"properties":{"server_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/backups/{backup}/restore":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_backups_backup_restore","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server_uuid"],"properties":{"server_uuid":{"type":"string","format":"uuid"},"truncate_directory":{"type":"boolean"},"restore_startup":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/capacity":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_capacity","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["limits","allocated"],"properties":{"limits":{"type":"object","required":["memory","disk"],"properties":{"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"}}},"allocated":{"type":"object","required":["servers","cpu","memory","memory_overhead","disk"],"properties":{"servers":{"type":"integer","format":"int64"},"cpu":{"type":"integer","format":"int64"},"memory":{"type":"integer","format":"int64"},"memory_overhead":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/config":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_config","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["config"],"properties":{"config":{"$ref":"#/components/schemas/Response200"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nodes_node_config","requestBody":{"content":{"application/json":{"schema":{}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["applied"],"properties":{"applied":{"type":"boolean"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/database-agent-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_database-agent-hosts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_hosts"],"properties":{"database_agent_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"NodeDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_database-agent-hosts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_agent_host_uuid"],"properties":{"database_agent_host_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/database-agent-hosts/{database_agent_host}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_database-agent-hosts_database_agent_host","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/database-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_database-hosts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_hosts"],"properties":{"database_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"NodeDatabaseHost","required":["database_host","created"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_database-hosts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_host_uuid"],"properties":{"database_host_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/database-hosts/{database_host}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_database-hosts_database_host","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_host","in":"path","description":"The database host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_duplicate","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["node"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/mounts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_mounts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeMount","required":["mount","created"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_mounts","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"integer","format":"int32"},"example":"1"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["mount_uuid"],"properties":{"mount_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/mounts/{mount}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_mounts_mount","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/reset-token":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_reset-token","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["token_id","token"],"properties":{"token_id":{"type":"string"},"token":{"type":"string"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_servers","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/servers/power":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_servers_power","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["servers","action"],"properties":{"servers":{"$ref":"#/components/schemas/ServerSelector"},"action":{"$ref":"#/components/schemas/ServerPowerAction"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/servers/resources":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_servers_resources","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["resources"],"properties":{"resources":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ResourceUsage"},"propertyNames":{"type":"string","format":"uuid"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/servers/transfer":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_servers_transfer","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["servers","node_uuid","allocation_mode","transfer_backups","delete_source_backups","archive_format","multiplex_channels"],"properties":{"servers":{"$ref":"#/components/schemas/ServerSelector"},"node_uuid":{"type":"string","format":"uuid"},"allocation_mode":{"$ref":"#/components/schemas/MassTransferAllocationMode"},"transfer_backups":{"type":"boolean"},"delete_source_backups":{"type":"boolean"},"archive_format":{"$ref":"#/components/schemas/TransferArchiveFormat"},"compression_level":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompressionLevel"}]},"multiplex_channels":{"type":"integer","format":"int64","minimum":0}}}}},"required":true},"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/system/logs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_system_logs","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["log_files"],"properties":{"log_files":{"type":"array","items":{"type":"object","required":["name","compression_type","size","last_modified"],"properties":{"name":{"type":"string"},"compression_type":{"type":"string","enum":["none","gz","xz","lzip","bz2","lz4","zstd"]},"size":{"type":"integer","format":"int64","minimum":0},"last_modified":{"type":"string","format":"date-time"}}}}}}}}}}}},"/api/admin/nodes/{node}/system/logs/{file}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_system_logs_file","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"path","description":"The log file name","required":true,"schema":{"type":"string"},"example":"wings.log"},{"name":"lines","in":"query","description":"The amount of log lines to tail","required":true,"schema":{"type":"integer","format":"int64","minimum":1},"example":"100"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/admin/nodes/{node}/system/overview":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_system_overview","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["version","local_time","container_type","cpu","memory","servers","architecture","kernel_version"],"properties":{"version":{"type":"string"},"local_time":{"type":"string","format":"date-time"},"container_type":{"type":"string","enum":["official","unknown","none"]},"cpu":{"type":"object","required":["name","brand","vendor_id","frequency_mhz","cpu_count"],"properties":{"name":{"type":"string"},"brand":{"type":"string"},"vendor_id":{"type":"string"},"frequency_mhz":{"type":"integer","format":"int64","minimum":0},"cpu_count":{"type":"integer","format":"int64","minimum":0}}},"memory":{"type":"object","required":["total_bytes","free_bytes","used_bytes","used_bytes_process"],"properties":{"total_bytes":{"type":"integer","format":"int64","minimum":0},"free_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes_process":{"type":"integer","format":"int64","minimum":0}}},"servers":{"type":"object","required":["total","online","offline"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"online":{"type":"integer","format":"int64","minimum":0},"offline":{"type":"integer","format":"int64","minimum":0}}},"architecture":{"type":"string"},"kernel_version":{"type":"string"}}}}}}}}},"/api/admin/nodes/{node}/system/stats":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_system_stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["stats"],"properties":{"stats":{"type":"object","required":["cpu","network","memory","disk"],"properties":{"cpu":{"type":"object","required":["used","threads","model"],"properties":{"used":{"type":"number","format":"double"},"threads":{"type":"integer","format":"int64","minimum":0},"model":{"type":"string"}}},"network":{"type":"object","required":["received","received_packets","receiving_rate","received_packets_rate","sent","sent_packets","sending_rate","sending_packets_rate"],"properties":{"received":{"type":"integer","format":"int64","minimum":0},"received_packets":{"type":"integer","format":"int64","minimum":0},"receiving_rate":{"type":"number","format":"double"},"received_packets_rate":{"type":"number","format":"double"},"sent":{"type":"integer","format":"int64","minimum":0},"sent_packets":{"type":"integer","format":"int64","minimum":0},"sending_rate":{"type":"number","format":"double"},"sending_packets_rate":{"type":"number","format":"double"}}},"memory":{"type":"object","required":["used","used_process","total"],"properties":{"used":{"type":"integer","format":"int64","minimum":0},"used_process":{"type":"integer","format":"int64","minimum":0},"total":{"type":"integer","format":"int64","minimum":0}}},"disk":{"type":"object","required":["used","total","read","reading_rate","written","writing_rate"],"properties":{"used":{"type":"integer","format":"int64","minimum":0},"total":{"type":"integer","format":"int64","minimum":0},"read":{"type":"integer","format":"int64","minimum":0},"reading_rate":{"type":"number","format":"double"},"written":{"type":"integer","format":"int64","minimum":0},"writing_rate":{"type":"number","format":"double"}}}}}}}}}}}}},"/api/admin/nodes/{node}/token":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_token","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["token_id","token"],"properties":{"token_id":{"$ref":"#/components/schemas/CompactString"},"token":{"$ref":"#/components/schemas/CompactString"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/transfers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_transfers","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["transfers"],"properties":{"transfers":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/TransferProgress"},"propertyNames":{"type":"string","format":"uuid"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/transfers/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_transfers_servers","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/tunnel":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_tunnel","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"tunnel":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiNodeTunnel"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TundraStatus"}]}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_tunnel","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["host","port"],"properties":{"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32","minimum":0}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tunnel"],"properties":{"tunnel":{"$ref":"#/components/schemas/AdminApiNodeTunnel"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_nodes_node_tunnel","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_nodes_node_tunnel","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32","minimum":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tunnel"],"properties":{"tunnel":{"$ref":"#/components/schemas/AdminApiNodeTunnel"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/tunnel/metrics":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_nodes_node_tunnel_metrics","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","description":"The mesh daemon reports considerably more than this - per-path congestion detail, UDP\nsocket counters, restart handover state - and serde drops what is not declared here. The\nfields below are the ones the panel renders, so a daemon that stops sending one fails\ndeserialization on the panel rather than the browser.","required":["node","peers"],"properties":{"node":{"$ref":"#/components/schemas/TundraNodeMetrics"},"peers":{"type":"array","items":{"$ref":"#/components/schemas/TundraPeerMetrics"}}}}}}},"502":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"503":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/nodes/{node}/tunnel/rotate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_nodes_node_tunnel_rotate","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_providers"],"properties":{"oauth_providers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminOAuthProvider","required":["uuid","name","client_id","client_secret","auth_url","token_url","info_url","scopes","identifier_path","enabled","login_only","login_bypass_two_factor","link_viewable","user_manageable","basic_auth","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"client_id":{"$ref":"#/components/schemas/CompactString"},"client_secret":{"$ref":"#/components/schemas/CompactString"},"auth_url":{"type":"string"},"token_url":{"type":"string"},"info_url":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"identifier_path":{"type":"string"},"email_path":{"type":["string","null"]},"username_path":{"type":["string","null"]},"name_first_path":{"type":["string","null"]},"name_last_path":{"type":["string","null"]},"enabled":{"type":"boolean"},"login_only":{"type":"boolean"},"login_bypass_two_factor":{"type":"boolean"},"link_viewable":{"type":"boolean"},"user_manageable":{"type":"boolean"},"basic_auth":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_oauth-providers","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","enabled","login_only","login_bypass_two_factor","link_viewable","user_manageable","basic_auth","client_id","client_secret","auth_url","token_url","info_url","scopes","identifier_path"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"enabled":{"type":"boolean"},"login_only":{"type":"boolean"},"login_bypass_two_factor":{"type":"boolean"},"link_viewable":{"type":"boolean"},"user_manageable":{"type":"boolean"},"basic_auth":{"type":"boolean"},"client_id":{"$ref":"#/components/schemas/CompactString"},"client_secret":{"$ref":"#/components/schemas/CompactString"},"auth_url":{"type":"string","maxLength":255,"minLength":3},"token_url":{"type":"string","maxLength":255,"minLength":3},"info_url":{"type":"string","maxLength":255,"minLength":3},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"identifier_path":{"type":"string","maxLength":255,"minLength":3},"email_path":{"type":["string","null"],"maxLength":255,"minLength":1},"username_path":{"type":["string","null"],"maxLength":255,"minLength":1},"name_first_path":{"type":["string","null"],"maxLength":255,"minLength":1},"name_last_path":{"type":["string","null"],"maxLength":255,"minLength":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_provider"],"properties":{"oauth_provider":{"$ref":"#/components/schemas/AdminApiOAuthProvider"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers_oauth_provider","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_provider"],"properties":{"oauth_provider":{"$ref":"#/components/schemas/AdminApiOAuthProvider"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_oauth-providers_oauth_provider","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_oauth-providers_oauth_provider","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"enabled":{"type":["boolean","null"]},"login_only":{"type":["boolean","null"]},"login_bypass_two_factor":{"type":["boolean","null"]},"link_viewable":{"type":["boolean","null"]},"user_manageable":{"type":["boolean","null"]},"basic_auth":{"type":["boolean","null"]},"client_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"client_secret":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"auth_url":{"type":["string","null"],"maxLength":255,"minLength":3},"token_url":{"type":["string","null"],"maxLength":255,"minLength":3},"info_url":{"type":["string","null"],"maxLength":255,"minLength":3},"scopes":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"identifier_path":{"type":["string","null"],"maxLength":255,"minLength":3},"email_path":{"type":["string","null"],"maxLength":255,"minLength":1},"username_path":{"type":["string","null"],"maxLength":255,"minLength":1},"name_first_path":{"type":["string","null"],"maxLength":255,"minLength":1},"name_last_path":{"type":["string","null"],"maxLength":255,"minLength":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_oauth-providers_oauth_provider_duplicate","parameters":[{"name":"oauth_provider","in":"path","description":"The OAuth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_provider"],"properties":{"oauth_provider":{"$ref":"#/components/schemas/AdminApiOAuthProvider"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}/mappings":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers_oauth_provider_mappings","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_mappings"],"properties":{"oauth_mappings":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminOAuthProviderMapping","required":["uuid","matcher","mapping","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"matcher":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"},"mapping":{"$ref":"#/components/schemas/OAuthProviderMappingType"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_oauth-providers_oauth_provider_mappings","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["matcher","mapping"],"properties":{"matcher":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"},"mapping":{"$ref":"#/components/schemas/OAuthProviderMappingType"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_mapping"],"properties":{"oauth_mapping":{"$ref":"#/components/schemas/AdminApiOAuthProviderMapping"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}/mappings/{mapping}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers_oauth_provider_mappings_mapping","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mapping","in":"path","description":"The oauth mapping ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_mapping"],"properties":{"oauth_mapping":{"$ref":"#/components/schemas/AdminApiOAuthProviderMapping"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_oauth-providers_oauth_provider_mappings_mapping","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mapping","in":"path","description":"The oauth mapping ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_oauth-providers_oauth_provider_mappings_mapping","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mapping","in":"path","description":"The oauth mapping ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"matcher":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"}]},"mapping":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/OAuthProviderMappingType"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}/users":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers_oauth_provider_users","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user_oauth_links"],"properties":{"user_oauth_links":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminUserOAuthLink","required":["uuid","user","identifier","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"user":{"$ref":"#/components/schemas/AdminApiUser"},"identifier":{"$ref":"#/components/schemas/CompactString"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/oauth-providers/{oauth_provider}/users/identifier/{identifier}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_oauth-providers_oauth_provider_users_identifier_identifier","parameters":[{"name":"oauth_provider","in":"path","description":"The oauth provider ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"identifier","in":"path","description":"The identifier of the user oauth link (e.g. email or username)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user_oauth_link"],"properties":{"user_oauth_link":{"$ref":"#/components/schemas/AdminApiUserOAuthLink"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/roles":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_roles","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["roles"],"properties":{"roles":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Role","required":["uuid","name","require_two_factor","admin_permissions","server_permissions","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"require_two_factor":{"type":"boolean"},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_roles","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","require_two_factor","admin_permissions","server_permissions"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"require_two_factor":{"type":"boolean"},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["role"],"properties":{"role":{"$ref":"#/components/schemas/AdminApiRole"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/roles/{role}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_roles_role","parameters":[{"name":"role","in":"path","description":"The role ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["role"],"properties":{"role":{"$ref":"#/components/schemas/AdminApiRole"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_roles_role","parameters":[{"name":"role","in":"path","description":"The role ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_roles_role","parameters":[{"name":"role","in":"path","description":"The role ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"require_two_factor":{"type":["boolean","null"]},"admin_permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/roles/{role}/duplicate":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_roles_role_duplicate","parameters":[{"name":"role","in":"path","description":"The role ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["role"],"properties":{"role":{"$ref":"#/components/schemas/AdminApiRole"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/roles/{role}/users":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_roles_role_users","parameters":[{"name":"role","in":"path","description":"The role ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for server name","required":false,"schema":{"type":"string"},"example":"example-server"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["users"],"properties":{"users":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminUser","required":["uuid","username","email","admin","frozen","suspended","totp_enabled","email_two_factor_enabled","two_factor_methods","require_two_factor","two_factor_satisfied","email_verified","require_email_verification","password_login_disabled","language","has_password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"username":{"$ref":"#/components/schemas/CompactString"},"role":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiRole"}]},"avatar":{"type":["string","null"]},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"admin":{"type":"boolean"},"frozen":{"type":"boolean"},"suspended":{"type":"boolean"},"totp_enabled":{"type":"boolean"},"totp_last_used":{"type":["string","null"],"format":"date-time"},"email_two_factor_enabled":{"type":"boolean"},"two_factor_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"require_two_factor":{"type":"boolean"},"two_factor_satisfied":{"type":"boolean"},"email_verified":{"type":"boolean"},"require_email_verification":{"type":"boolean"},"password_login_disabled":{"type":"boolean"},"language":{"$ref":"#/components/schemas/CompactString"},"has_password":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["node_uuid","owner_uuid","egg_uuid","allocation_uuids","start_on_completion","skip_installer","name","limits","pinned_cpus","startup","image","hugepages_passthrough_enabled","kvm_passthrough_enabled","feature_limits","variables"],"properties":{"node_uuid":{"type":"string","format":"uuid"},"owner_uuid":{"type":"string","format":"uuid"},"egg_uuid":{"type":"string","format":"uuid"},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"allocation_uuid":{"type":["string","null"],"format":"uuid"},"allocation_uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"start_on_completion":{"type":"boolean"},"skip_installer":{"type":"boolean"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"$ref":"#/components/schemas/AdminApiServerLimits"},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"timezone":{"type":["string","null"]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"feature_limits":{"$ref":"#/components/schemas/ApiServerFeatureLimits"},"variables":{"type":"array","items":{"type":"object","required":["env_variable","value"],"properties":{"env_variable":{"type":"string","maxLength":255,"minLength":1},"value":{"type":"string","maxLength":4096}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/deploy":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_deploy","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["deployment","owner_uuid","egg_uuid","start_on_completion","skip_installer","name","limits","pinned_cpus","startup","image","hugepages_passthrough_enabled","kvm_passthrough_enabled","feature_limits","variables"],"properties":{"deployment":{"type":"object","required":["location_uuids","allow_overallocation"],"properties":{"location_uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"allow_overallocation":{"type":"boolean"},"suspension_penalty":{"type":"number","format":"double","default":0.5,"maximum":1,"minimum":0},"randomness":{"type":"number","format":"double","default":0.5,"maximum":1,"minimum":0},"allocations":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EggConfigAllocationsDeployment"}]}}},"owner_uuid":{"type":"string","format":"uuid"},"egg_uuid":{"type":"string","format":"uuid"},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"allocation_uuid":{"type":["string","null"],"format":"uuid"},"allocation_uuids":{"type":["array","null"],"items":{"type":"string","format":"uuid"}},"start_on_completion":{"type":"boolean"},"skip_installer":{"type":"boolean"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"$ref":"#/components/schemas/AdminApiServerLimits"},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"timezone":{"type":["string","null"]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"feature_limits":{"$ref":"#/components/schemas/ApiServerFeatureLimits"},"variables":{"type":"array","items":{"type":"object","required":["env_variable","value"],"properties":{"env_variable":{"type":"string","maxLength":255,"minLength":1},"value":{"type":"string","maxLength":4096}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/external/{server}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_external_server","parameters":[{"name":"server","in":"path","description":"The server external ID","required":true,"schema":{"type":"string"},"example":"whatever"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_servers_server","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"force":{"type":"boolean"},"delete_backups":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_servers_server","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"owner_uuid":{"type":["string","null"],"format":"uuid"},"egg_uuid":{"type":["string","null"],"format":"uuid"},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"suspended":{"type":["boolean","null"]},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServerLimits"}]},"pinned_cpus":{"type":["array","null"],"items":{"type":"integer","format":"int32"}},"startup":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"auto_kill":{"oneOf":[{"type":"null"},{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}}]},"auto_start_behavior":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerAutoStartBehavior"}]},"timezone":{"type":["string","null"]},"hugepages_passthrough_enabled":{"type":["boolean","null"]},"kvm_passthrough_enabled":{"type":["boolean","null"]},"feature_limits":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerFeatureLimits"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/allocations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_allocations","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocations"],"properties":{"allocations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerAllocation","required":["uuid","ip","port","is_primary","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"notes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"is_primary":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_allocations","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["allocation_uuid"],"properties":{"allocation_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocation"],"properties":{"allocation":{"$ref":"#/components/schemas/ApiServerAllocation"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/allocations/{allocation}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_servers_server_allocations_allocation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"allocation","in":"path","description":"The allocation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_servers_server_allocations_allocation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"allocation","in":"path","description":"The allocation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"primary":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"partially_detached","in":"query","description":"Only show backups that are partially detached (assigned to the wrong node)","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups","failed"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeServerBackup","required":["uuid","node","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}},"failed":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/backups/delete-failed":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_backups_delete-failed","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"partially_detached":{"type":"boolean"},"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["queued"],"properties":{"queued":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/clear-state":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_clear-state","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/servers/{server}/databases":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["databases"],"properties":{"databases":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerServerDatabase","required":["uuid","database_host","type","host","port","name","is_locked","username","password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/databases/instances":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_databases_instances","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"instances":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerServerDatabaseInstance","required":["uuid","database_agent_host","update_available","type","name","is_locked","env","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"database_agent_template":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}]},"template_version":{"type":["integer","null"],"format":"int32"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image_override":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_overrides":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"memory_override":{"type":["integer","null"],"format":"int64"},"swap_override":{"type":["integer","null"],"format":"int64"},"disk_override":{"type":["integer","null"],"format":"int64"},"io_weight_override":{"type":["integer","null"],"format":"int32"},"cpu_override":{"type":["integer","null"],"format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/logs":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_logs","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"lines","in":"query","description":"The amount of server log lines to tail","required":true,"schema":{"type":"integer","format":"int64","minimum":1},"example":"100"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/admin/servers/{server}/logs/install":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_logs_install","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"lines","in":"query","description":"The amount of server install log lines to tail","required":true,"schema":{"type":"integer","format":"int64","minimum":1},"example":"1000"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/admin/servers/{server}/mounts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_mounts","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerMount","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":["string","null"],"format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_mounts","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["mount_uuid"],"properties":{"mount_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/mounts/available":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_mounts_available","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServerMount","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":["string","null"],"format":"date-time"}}}}}}}}}}}}}},"/api/admin/servers/{server}/mounts/{mount}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_servers_server_mounts_mount","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/transfer":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_transfer","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["node_uuid","allocation_uuids","backups","delete_source_backups","archive_format","multiplex_channels"],"properties":{"node_uuid":{"type":"string","format":"uuid"},"allocation_uuid":{"type":["string","null"],"format":"uuid"},"allocation_uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"backups":{"type":"array","items":{"type":"string","format":"uuid"}},"delete_source_backups":{"type":"boolean"},"archive_format":{"$ref":"#/components/schemas/TransferArchiveFormat"},"compression_level":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompressionLevel"}]},"multiplex_channels":{"type":"integer","format":"int64","minimum":0}}}}},"required":true},"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/transfer/cancel":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_servers_server_transfer_cancel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/servers/{server}/variables":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_servers_server_variables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["variables"],"properties":{"variables":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerVariable"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"tags":["/api/admin"],"operationId":"put_api_admin_servers_server_variables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["variables"],"properties":{"variables":{"type":"array","items":{"type":"object","required":["env_variable","value"],"properties":{"env_variable":{"type":"string","maxLength":255,"minLength":1},"value":{"type":"string","maxLength":4096}}},"maxItems":1024}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/settings":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_settings","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["settings"],"properties":{"settings":{"type":"object","required":["storage_driver","mail_mode","captcha_provider","app","metadata","webauthn","server","user","activity","ratelimits"],"properties":{"telemetry_uuid":{"type":["string","null"],"format":"uuid"},"telemetry_cron_schedule":{"type":["string","null"]},"oobe_step":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"storage_driver":{"$ref":"#/components/schemas/StorageDriver"},"mail_mode":{"$ref":"#/components/schemas/MailMode"},"captcha_provider":{"$ref":"#/components/schemas/CaptchaProvider"},"app":{"type":"object","required":["name","icon","url","language","two_factor_requirement","email_two_factor_enabled","two_factor_accepted_methods","email_verification_required","session_cookie","session_duration_seconds","telemetry_enabled","registration_enabled"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"icon":{"$ref":"#/components/schemas/CompactString"},"icon_light":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"banner":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"banner_light":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"url":{"$ref":"#/components/schemas/CompactString"},"language":{"$ref":"#/components/schemas/CompactString"},"two_factor_requirement":{"$ref":"#/components/schemas/TwoFactorRequirement"},"email_two_factor_enabled":{"type":"boolean"},"two_factor_accepted_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"email_verification_required":{"type":"boolean"},"session_cookie":{"$ref":"#/components/schemas/CompactString"},"session_duration_seconds":{"type":"integer","format":"int64","minimum":0},"telemetry_enabled":{"type":"boolean"},"registration_enabled":{"type":"boolean"}}},"metadata":{"type":"object","required":["theme_color","twitter_card","indexable"],"properties":{"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"theme_color":{"$ref":"#/components/schemas/CompactString"},"og_image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"twitter_card":{"$ref":"#/components/schemas/TwitterCard"},"indexable":{"type":"boolean"}}},"webauthn":{"type":"object","required":["enabled","allow_discoverable","rp_id","rp_origin","authentication_timeout_seconds","registration_timeout_seconds"],"properties":{"enabled":{"type":"boolean"},"allow_discoverable":{"type":"boolean"},"rp_id":{"$ref":"#/components/schemas/CompactString"},"rp_origin":{"$ref":"#/components/schemas/CompactString"},"authentication_timeout_seconds":{"type":"integer","format":"int64","minimum":0},"registration_timeout_seconds":{"type":"integer","format":"int64","minimum":0}}},"server":{"type":"object","required":["max_file_manager_view_size","max_file_manager_content_search_size","max_file_manager_search_results","max_subuser_count","max_schedule_step_count","max_backup_group_count","max_firewall_rule_count","max_firewall_rule_source_count","max_tunnel_connection_count","max_tunnel_port_count","max_database_instance_database_count","max_database_instance_user_count","allow_overwriting_custom_docker_image","allow_viewing_installation_logs","allow_acknowledging_installation_failure","allow_viewing_transfer_progress","container_prelude"],"properties":{"max_file_manager_view_size":{"type":"integer","format":"int64","minimum":0},"max_file_manager_content_search_size":{"type":"integer","format":"int64","minimum":0},"max_file_manager_search_results":{"type":"integer","format":"int64","minimum":0},"max_subuser_count":{"type":"integer","format":"int64","minimum":0},"max_schedule_step_count":{"type":"integer","format":"int64","minimum":0},"max_backup_group_count":{"type":"integer","format":"int64","minimum":0},"max_firewall_rule_count":{"type":"integer","format":"int64","minimum":0},"max_firewall_rule_source_count":{"type":"integer","format":"int64","minimum":0},"max_tunnel_connection_count":{"type":"integer","format":"int64","minimum":0},"max_tunnel_port_count":{"type":"integer","format":"int64","minimum":0},"max_database_instance_database_count":{"type":"integer","format":"int64","minimum":0},"max_database_instance_user_count":{"type":"integer","format":"int64","minimum":0},"allow_overwriting_custom_docker_image":{"type":"boolean"},"allow_viewing_installation_logs":{"type":"boolean"},"allow_acknowledging_installation_failure":{"type":"boolean"},"allow_viewing_transfer_progress":{"type":"boolean"},"container_prelude":{"$ref":"#/components/schemas/CompactString"}}},"user":{"type":"object","required":["max_server_group_count","max_api_key_count","max_command_snippet_count","max_security_key_count","max_ssh_key_count","max_settings_count","max_settings_value_bytes","allow_changing_language"],"properties":{"max_server_group_count":{"type":"integer","format":"int64","minimum":0},"max_api_key_count":{"type":"integer","format":"int64","minimum":0},"max_command_snippet_count":{"type":"integer","format":"int64","minimum":0},"max_security_key_count":{"type":"integer","format":"int64","minimum":0},"max_ssh_key_count":{"type":"integer","format":"int64","minimum":0},"max_settings_count":{"type":"integer","format":"int64","minimum":0},"max_settings_value_bytes":{"type":"integer","format":"int64","minimum":0},"allow_changing_language":{"type":"boolean"},"route_order":{"type":["array","null"],"items":{"$ref":"#/components/schemas/RouteOrderItem"}}}},"activity":{"type":"object","required":["admin_log_retention_days","user_log_retention_days","server_log_retention_days","server_log_admin_activity","server_log_schedule_activity"],"properties":{"admin_log_retention_days":{"type":"integer","format":"int32","minimum":0},"admin_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":0},"user_log_retention_days":{"type":"integer","format":"int32","minimum":0},"user_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":0},"server_log_retention_days":{"type":"integer","format":"int32","minimum":0},"server_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":0},"server_log_admin_activity":{"type":"boolean"},"server_log_schedule_activity":{"type":"boolean"}}},"ratelimits":{"type":"object","required":["auth_register","auth_login","auth_login_checkpoint","auth_login_checkpoint_email","auth_login_security_key","auth_password_forgot","auth_password_reset","auth_email_verification","client","client_account_email_resend_verification","client_servers_backups_create","client_servers_files_pull","client_servers_files_pull_query","remote","remote_sftp_auth","exempt_ips","exempt_api_keys"],"properties":{"auth_register":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_login":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_login_checkpoint":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_login_checkpoint_email":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_login_security_key":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_password_forgot":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_password_reset":{"$ref":"#/components/schemas/RatelimitConfiguration"},"auth_email_verification":{"$ref":"#/components/schemas/RatelimitConfiguration"},"client":{"$ref":"#/components/schemas/RatelimitConfiguration"},"client_account_email_resend_verification":{"$ref":"#/components/schemas/RatelimitConfiguration"},"client_servers_backups_create":{"$ref":"#/components/schemas/RatelimitConfiguration"},"client_servers_files_pull":{"$ref":"#/components/schemas/RatelimitConfiguration"},"client_servers_files_pull_query":{"$ref":"#/components/schemas/RatelimitConfiguration"},"remote":{"$ref":"#/components/schemas/RatelimitConfiguration"},"remote_sftp_auth":{"$ref":"#/components/schemas/RatelimitConfiguration"},"exempt_ips":{"type":"array","items":{"type":"string"}},"exempt_api_keys":{"type":"array","items":{"type":"string","format":"uuid"}}}}}}}}}}}}},"put":{"tags":["/api/admin"],"operationId":"put_api_admin_settings","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"oobe_step":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"storage_driver":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/StorageDriver"}]},"mail_mode":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MailMode"}]},"captcha_provider":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CaptchaProvider"}]},"app":{"oneOf":[{"type":"null"},{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"icon":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"icon_light":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"banner":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"banner_light":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"language":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"two_factor_requirement":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TwoFactorRequirement"}]},"email_two_factor_enabled":{"type":["boolean","null"]},"two_factor_accepted_methods":{"type":["array","null"],"items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"email_verification_required":{"type":["boolean","null"]},"session_cookie":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"session_duration_seconds":{"type":["integer","null"],"format":"int64","minimum":0},"telemetry_enabled":{"type":["boolean","null"]},"registration_enabled":{"type":["boolean","null"]}}}]},"metadata":{"oneOf":[{"type":"null"},{"type":"object","properties":{"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"theme_color":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"og_image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"twitter_card":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TwitterCard"}]},"indexable":{"type":["boolean","null"]}}}]},"webauthn":{"oneOf":[{"type":"null"},{"type":"object","properties":{"enabled":{"type":["boolean","null"]},"allow_discoverable":{"type":["boolean","null"]},"rp_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"rp_origin":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"authentication_timeout_seconds":{"type":["integer","null"],"format":"int64","maximum":600,"minimum":30},"registration_timeout_seconds":{"type":["integer","null"],"format":"int64","maximum":600,"minimum":30}}}]},"server":{"oneOf":[{"type":"null"},{"type":"object","properties":{"max_file_manager_view_size":{"type":["integer","null"],"format":"int64","minimum":0},"max_file_manager_content_search_size":{"type":["integer","null"],"format":"int64","minimum":0},"max_file_manager_search_results":{"type":["integer","null"],"format":"int64","minimum":0},"max_subuser_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_schedule_step_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_backup_group_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_firewall_rule_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_firewall_rule_source_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_tunnel_connection_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_tunnel_port_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_database_instance_database_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_database_instance_user_count":{"type":["integer","null"],"format":"int64","minimum":0},"allow_overwriting_custom_docker_image":{"type":["boolean","null"]},"allow_viewing_installation_logs":{"type":["boolean","null"]},"allow_acknowledging_installation_failure":{"type":["boolean","null"]},"allow_viewing_transfer_progress":{"type":["boolean","null"]},"container_prelude":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}]},"user":{"oneOf":[{"type":"null"},{"type":"object","properties":{"max_server_group_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_api_key_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_command_snippet_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_security_key_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_ssh_key_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_settings_count":{"type":["integer","null"],"format":"int64","minimum":0},"max_settings_value_bytes":{"type":["integer","null"],"format":"int64","minimum":0},"allow_changing_language":{"type":["boolean","null"]},"route_order":{"type":["array","null"],"items":{"$ref":"#/components/schemas/RouteOrderItem"},"maxItems":100}}}]},"activity":{"oneOf":[{"type":"null"},{"type":"object","properties":{"admin_log_retention_days":{"type":["integer","null"],"format":"int32","maximum":3650,"minimum":1},"admin_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":1},"user_log_retention_days":{"type":["integer","null"],"format":"int32","maximum":3650,"minimum":1},"user_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":1},"server_log_retention_days":{"type":["integer","null"],"format":"int32","maximum":3650,"minimum":1},"server_log_retention_count":{"type":["integer","null"],"format":"int64","minimum":1},"server_log_admin_activity":{"type":["boolean","null"]},"server_log_schedule_activity":{"type":["boolean","null"]}}}]},"ratelimits":{"oneOf":[{"type":"null"},{"type":"object","properties":{"auth_register":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_login":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_login_checkpoint":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_login_checkpoint_email":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_login_security_key":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_password_forgot":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_password_reset":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"auth_email_verification":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"client":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"client_account_email_resend_verification":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"client_servers_backups_create":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"client_servers_files_pull":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"client_servers_files_pull_query":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"remote":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"remote_sftp_auth":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RatelimitConfiguration"}]},"exempt_ips":{"type":["array","null"],"items":{"type":"string"}},"exempt_api_keys":{"type":["array","null"],"items":{"type":"string","format":"uuid"}}}}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/stats/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_stats_backups","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["all_time","today","week","month"],"properties":{"all_time":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"today":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"week":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}},"month":{"type":"object","required":["total","successful","successful_bytes","failed","deleted","deleted_bytes"],"properties":{"total":{"type":"integer","format":"int64"},"successful":{"type":"integer","format":"int64"},"successful_bytes":{"type":"integer","format":"int64"},"failed":{"type":"integer","format":"int64"},"deleted":{"type":"integer","format":"int64"},"deleted_bytes":{"type":"integer","format":"int64"}}}}}}}}}}},"/api/admin/stats/general":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_stats_general","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["stats"],"properties":{"stats":{"type":"object","required":["users","servers","locations","nodes","nest_eggs","database_hosts","backup_configurations","roles"],"properties":{"users":{"type":"integer","format":"int64"},"servers":{"type":"integer","format":"int64"},"locations":{"type":"integer","format":"int64"},"nodes":{"type":"integer","format":"int64"},"nest_eggs":{"type":"integer","format":"int64"},"database_hosts":{"type":"integer","format":"int64"},"backup_configurations":{"type":"integer","format":"int64"},"roles":{"type":"integer","format":"int64"}}}}}}}}}}},"/api/admin/system-backup-policies":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["system_backup_policies"],"properties":{"system_backup_policies":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"SystemBackupPolicy","required":["uuid","name","enabled","kind","cron","retention","parallelism","total_nodes","total_database_agent_hosts","total_locations","total_servers","total_backups","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"enabled":{"type":"boolean"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"cron":{"type":"string","example":"0 0 0 * * *"},"retention":{"$ref":"#/components/schemas/BackupRetention"},"parallelism":{"type":"integer","format":"int32"},"triggered":{"type":["string","null"],"format":"date-time"},"total_nodes":{"type":"integer","format":"int64"},"total_database_agent_hosts":{"type":"integer","format":"int64"},"total_locations":{"type":"integer","format":"int64"},"total_servers":{"type":"integer","format":"int64"},"total_backups":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","enabled","cron","parallelism"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"enabled":{"type":"boolean"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"cron":{"type":"string","example":"0 0 0 * * *"},"retention":{"$ref":"#/components/schemas/BackupRetention"},"parallelism":{"type":"integer","format":"int32","maximum":100,"minimum":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["system_backup_policy"],"properties":{"system_backup_policy":{"$ref":"#/components/schemas/AdminApiSystemBackupPolicy"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["system_backup_policy"],"properties":{"system_backup_policy":{"$ref":"#/components/schemas/AdminApiSystemBackupPolicy"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system-backup-policies_system_backup_policy","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"delete_backups":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_system-backup-policies_system_backup_policy","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_configuration_uuid":{"type":["string","null"],"format":"uuid"},"enabled":{"type":["boolean","null"]},"cron":{"type":["string","null"],"example":"0 0 0 * * *"},"retention":{"$ref":"#/components/schemas/BackupRetention"},"parallelism":{"type":["integer","null"],"format":"int32","maximum":100,"minimum":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/backups":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy_backups","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups","failed"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminNodeServerBackup","required":["uuid","node","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}},"failed":{"type":"integer","format":"int64"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/backups/delete-failed":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_backups_delete-failed","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["force"],"properties":{"force":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["queued"],"properties":{"queued":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/database-agent-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy_database-agent-hosts","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_agent_hosts"],"properties":{"database_agent_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"SystemBackupPolicyDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_database-agent-hosts","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_agent_host_uuid"],"properties":{"database_agent_host_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/database-agent-hosts/{database_agent_host}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system-backup-policies_system_backup_policy_database-agent-hosts_database_agent_host","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_agent_host","in":"path","description":"The database agent host ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/locations":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy_locations","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["locations"],"properties":{"locations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"SystemBackupPolicyLocation","required":["location","created"],"properties":{"location":{"$ref":"#/components/schemas/AdminApiLocation"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_locations","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["location_uuid"],"properties":{"location_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/locations/{location}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system-backup-policies_system_backup_policy_locations_location","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"location","in":"path","description":"The location ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy_nodes","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nodes"],"properties":{"nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"SystemBackupPolicyNode","required":["node","created"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_nodes","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["node_uuid"],"properties":{"node_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/nodes/{node}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system-backup-policies_system_backup_policy_nodes_node","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system-backup-policies_system_backup_policy_servers","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"SystemBackupPolicyServer","required":["server","created"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_servers","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server_uuid"],"properties":{"server_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/servers/{server}":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system-backup-policies_system_backup_policy_servers_server","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system-backup-policies/{system_backup_policy}/trigger":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system-backup-policies_system_backup_policy_trigger","parameters":[{"name":"system_backup_policy","in":"path","description":"The system backup policy ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/debug":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_debug","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["enabled","default"],"properties":{"enabled":{"type":"boolean"},"default":{"type":"boolean"}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system_debug","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/system/email/templates":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_email_templates","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["email_templates"],"properties":{"email_templates":{"type":"array","items":{"type":"object","required":["identifier","available_variables"],"properties":{"identifier":{"type":"string"},"available_variables":{"type":"array","items":{"type":"string"}}}}}}}}}}}}},"/api/admin/system/email/templates/{identifier}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_email_templates_identifier","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["email_template"],"properties":{"email_template":{"type":"object","required":["available_variables","default_enabled","enabled","default_subject","default_content"],"properties":{"available_variables":{"type":"array","items":{"type":"string"}},"default_enabled":{"type":"boolean"},"enabled":{"type":"boolean"},"default_subject":{"type":"string"},"subject":{"type":["string","null"]},"default_content":{"type":"string"},"content":{"type":["string","null"]}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"tags":["/api/admin"],"operationId":"put_api_admin_system_email_templates_identifier","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":["string","null"],"minLength":1},"subject":{"type":["string","null"],"maxLength":255,"minLength":1},"enabled":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/email/templates/{identifier}/variables":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_email_templates_identifier_variables","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["email_variables"],"properties":{"email_variables":{"type":"array","items":{"$ref":"#/components/schemas/AdminApiEmailVariable"}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system_email_templates_identifier_variables","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","value"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"value":{"type":"string","maxLength":8192,"minLength":1},"value_translations":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/email/templates/{identifier}/variables/{name}":{"put":{"tags":["/api/admin"],"operationId":"put_api_admin_system_email_templates_identifier_variables_name","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"},{"name":"name","in":"path","description":"The email variable name","required":true,"schema":{"type":"string"},"example":"greeting"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":["string","null"],"maxLength":8192,"minLength":1},"value_translations":{"type":["object","null"],"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system_email_templates_identifier_variables_name","parameters":[{"name":"identifier","in":"path","description":"The email template identifier","required":true,"schema":{"type":"string"},"example":"password_reset"},{"name":"name","in":"path","description":"The email variable name","required":true,"schema":{"type":"string"},"example":"greeting"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/email/test":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system_email_test","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/system/email/variables":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_email_variables","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["email_variables"],"properties":{"email_variables":{"type":"array","items":{"$ref":"#/components/schemas/AdminApiEmailVariable"}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system_email_variables","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","value"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"value":{"type":"string","maxLength":8192,"minLength":1},"value_translations":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/email/variables/{name}":{"put":{"tags":["/api/admin"],"operationId":"put_api_admin_system_email_variables_name","parameters":[{"name":"name","in":"path","description":"The email variable name","required":true,"schema":{"type":"string"},"example":"footer"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":["string","null"],"maxLength":8192,"minLength":1},"value_translations":{"type":["object","null"],"additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_system_email_variables_name","parameters":[{"name":"name","in":"path","description":"The email variable name","required":true,"schema":{"type":"string"},"example":"footer"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/health/general":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_health_general","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["local_time","ntp_offsets","migrations"],"properties":{"local_time":{"type":"string","format":"date-time"},"ntp_offsets":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/NtpOffset"},"propertyNames":{"type":"string"}},"migrations":{"type":"object","required":["total","applied","extensions"],"properties":{"total":{"type":"integer","minimum":0},"applied":{"type":"integer","minimum":0},"extensions":{"type":"object","additionalProperties":{"type":"object","required":["total","applied"],"properties":{"total":{"type":"integer","minimum":0},"applied":{"type":"integer","minimum":0}}},"propertyNames":{"type":"string"}}}}}}}}}}}},"/api/admin/system/health/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_health_nodes","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["desync_nodes","failed_nodes"],"properties":{"desync_nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","required":["local_time","panel_local_time","node"],"properties":{"local_time":{"type":"string","format":"date-time"},"panel_local_time":{"type":"string","format":"date-time"},"node":{"$ref":"#/components/schemas/AdminApiNode"}}}}}},"failed_nodes":{"type":"integer","minimum":0}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/overview":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_overview","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["version","container_type","cpu","memory","cache","database","architecture","kernel_version"],"properties":{"version":{"type":"string"},"container_type":{"$ref":"#/components/schemas/AppContainerType"},"cpu":{"type":"object","required":["name","brand","vendor_id","frequency_mhz","cpu_count"],"properties":{"name":{"type":"string"},"brand":{"type":"string"},"vendor_id":{"type":"string"},"frequency_mhz":{"type":"integer","format":"int64","minimum":0},"cpu_count":{"type":"integer","minimum":0}}},"memory":{"type":"object","required":["total_bytes","free_bytes","used_bytes","used_bytes_process"],"properties":{"total_bytes":{"type":"integer","format":"int64","minimum":0},"free_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes_process":{"type":"integer","format":"int64","minimum":0}}},"cache":{"type":"object","required":["version","total_calls","total_hits","total_misses","average_hit_latency_ns","average_miss_latency_ns","max_call_latency_ns","local_hits","remote_hits","coalesced_waits"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"total_calls":{"type":"integer","format":"int64","minimum":0},"total_hits":{"type":"integer","format":"int64","minimum":0},"total_misses":{"type":"integer","format":"int64","minimum":0},"average_hit_latency_ns":{"type":"integer","format":"int64","minimum":0},"average_miss_latency_ns":{"type":"integer","format":"int64","minimum":0},"max_call_latency_ns":{"type":"integer","format":"int64","minimum":0},"local_hits":{"type":"object","required":["calls","average_latency_ns"],"properties":{"calls":{"type":"integer","format":"int64","minimum":0},"average_latency_ns":{"type":"integer","format":"int64","minimum":0}}},"remote_hits":{"type":"object","required":["calls","average_latency_ns"],"properties":{"calls":{"type":"integer","format":"int64","minimum":0},"average_latency_ns":{"type":"integer","format":"int64","minimum":0}}},"coalesced_waits":{"type":"object","required":["calls","average_latency_ns"],"properties":{"calls":{"type":"integer","format":"int64","minimum":0},"average_latency_ns":{"type":"integer","format":"int64","minimum":0}}}}},"database":{"type":"object","required":["version","size_bytes","total_read_connections","idle_read_connections","total_write_connections","idle_write_connections"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"size_bytes":{"type":"integer","format":"int64","minimum":0},"total_read_connections":{"type":"integer","format":"int32","minimum":0},"idle_read_connections":{"type":"integer","minimum":0},"total_write_connections":{"type":"integer","format":"int32","minimum":0},"idle_write_connections":{"type":"integer","minimum":0}}},"architecture":{"type":"string"},"kernel_version":{"type":"string"}}}}}}}}},"/api/admin/system/telemetry":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_telemetry","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["telemetry"],"properties":{"telemetry":{"type":"object","required":["uuid","panel","resources","extensions","nodes","database_agent_hosts"],"properties":{"uuid":{"type":"string","format":"uuid"},"panel":{"type":"object","required":["version","container_type","database_version","cache_version","architecture","kernel_version"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"container_type":{"$ref":"#/components/schemas/AppContainerType"},"database_version":{"$ref":"#/components/schemas/CompactString"},"cache_version":{"$ref":"#/components/schemas/CompactString"},"architecture":{"type":"string"},"kernel_version":{"$ref":"#/components/schemas/CompactString"}}},"resources":{"type":"object","required":["users","backups","servers"],"properties":{"users":{"type":"object","required":["total","languages"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"languages":{"type":"object","additionalProperties":{"type":"integer","format":"int64","minimum":0},"propertyNames":{"type":"string"}}}},"backups":{"type":"object","required":["total","disks"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"disks":{"type":"object","additionalProperties":{"type":"integer","format":"int64","minimum":0},"propertyNames":{"type":"string","enum":["local","s3","ddup-bak","btrfs","zfs","restic","proxmox-backup-server","kopia"]}}}},"servers":{"type":"object","required":["total"],"properties":{"total":{"type":"integer","format":"int64","minimum":0}}}}},"extensions":{"type":"array","items":{"$ref":"#/components/schemas/ConstructedExtension"}},"nodes":{"type":"array","items":{"type":"object","required":["version","container_type","memory","servers","architecture","kernel_version"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"container_type":{"$ref":"#/components/schemas/AppContainerType"},"memory":{"type":"object","required":["total_bytes","free_bytes","used_bytes","used_bytes_process"],"properties":{"total_bytes":{"type":"integer","format":"int64","minimum":0},"free_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes_process":{"type":"integer","format":"int64","minimum":0}}},"servers":{"type":"object","required":["total","online","offline"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"online":{"type":"integer","format":"int64","minimum":0},"offline":{"type":"integer","format":"int64","minimum":0}}},"architecture":{"$ref":"#/components/schemas/CompactString"},"kernel_version":{"$ref":"#/components/schemas/CompactString"}}}},"database_agent_hosts":{"type":"array","items":{"type":"object","required":["version","container_type","memory","instances","architecture","kernel_version"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"container_type":{"$ref":"#/components/schemas/AppContainerType"},"memory":{"type":"object","required":["total_bytes","free_bytes","used_bytes","used_bytes_process"],"properties":{"total_bytes":{"type":"integer","format":"int64","minimum":0},"free_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes":{"type":"integer","format":"int64","minimum":0},"used_bytes_process":{"type":"integer","format":"int64","minimum":0}}},"instances":{"type":"object","required":["total","online","offline"],"properties":{"total":{"type":"integer","format":"int64","minimum":0},"online":{"type":"integer","format":"int64","minimum":0},"offline":{"type":"integer","format":"int64","minimum":0}}},"architecture":{"$ref":"#/components/schemas/CompactString"},"kernel_version":{"$ref":"#/components/schemas/CompactString"}}}}}}}}}}}}}},"/api/admin/system/updates":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_updates","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"update_information":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UpdateInformation"}]}}}}}}}}},"/api/admin/system/updates/database-agent-hosts":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_updates_database-agent-hosts","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["outdated_database_agent_hosts","failed_database_agent_hosts"],"properties":{"outdated_database_agent_hosts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","required":["version","database_agent_host"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"}}}}}},"failed_database_agent_hosts":{"type":"integer","minimum":0}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/updates/history":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_updates_history","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["version_history"],"properties":{"version_history":{"$ref":"#/components/schemas/ResponseVersionHistory"}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/updates/nodes":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_system_updates_nodes","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["outdated_nodes","failed_nodes"],"properties":{"outdated_nodes":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","required":["version","node"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"node":{"$ref":"#/components/schemas/AdminApiNode"}}}}}},"failed_nodes":{"type":"integer","minimum":0}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/system/updates/recheck":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_system_updates_recheck","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["update_information"],"properties":{"update_information":{"$ref":"#/components/schemas/UpdateInformation"}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["users"],"properties":{"users":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminUser","required":["uuid","username","email","admin","frozen","suspended","totp_enabled","email_two_factor_enabled","two_factor_methods","require_two_factor","two_factor_satisfied","email_verified","require_email_verification","password_login_disabled","language","has_password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"username":{"$ref":"#/components/schemas/CompactString"},"role":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiRole"}]},"avatar":{"type":["string","null"]},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"admin":{"type":"boolean"},"frozen":{"type":"boolean"},"suspended":{"type":"boolean"},"totp_enabled":{"type":"boolean"},"totp_last_used":{"type":["string","null"],"format":"date-time"},"email_two_factor_enabled":{"type":"boolean"},"two_factor_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"require_two_factor":{"type":"boolean"},"two_factor_satisfied":{"type":"boolean"},"email_verified":{"type":"boolean"},"require_email_verification":{"type":"boolean"},"password_login_disabled":{"type":"boolean"},"language":{"$ref":"#/components/schemas/CompactString"},"has_password":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_users","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","email","admin","language"],"properties":{"role_uuid":{"type":["string","null"],"format":"uuid"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"username":{"$ref":"#/components/schemas/CompactString"},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"password":{"type":["string","null"],"maxLength":512,"minLength":1},"admin":{"type":"boolean"},"frozen":{"type":"boolean"},"suspended":{"type":"boolean"},"verify_email":{"type":"boolean"},"send_email":{"type":"boolean"},"language":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/AdminApiUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/external/{user}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_external_user","parameters":[{"name":"user","in":"path","description":"The user external ID","required":true,"schema":{"type":"string"},"example":"whatever"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/AdminApiUser"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_user","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/AdminApiUser"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_users_user","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/admin"],"operationId":"patch_api_admin_users_user","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"role_uuid":{"type":["string","null"],"format":"uuid"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"username":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"email":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"password":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"admin":{"type":["boolean","null"]},"frozen":{"type":["boolean","null"]},"suspended":{"type":["boolean","null"]},"language":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}/activity":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_user_activity","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["activities"],"properties":{"activities":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserActivity","required":["event","data","is_api","created"],"properties":{"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/admin/users/{user}/email/reset-password":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_users_user_email_reset-password","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/admin/users/{user}/email/verify":{"post":{"tags":["/api/admin"],"operationId":"post_api_admin_users_user_email_verify","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}/oauth-links":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_user_oauth-links","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_links"],"properties":{"oauth_links":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserOAuthLink","required":["uuid","oauth_provider","identifier","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"oauth_provider":{"$ref":"#/components/schemas/ApiOAuthProvider"},"identifier":{"$ref":"#/components/schemas/CompactString"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/admin"],"operationId":"post_api_admin_users_user_oauth-links","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["oauth_provider_uuid","identifier"],"properties":{"oauth_provider_uuid":{"type":"string","format":"uuid"},"identifier":{"type":"string","maxLength":255,"minLength":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_link"],"properties":{"oauth_link":{"$ref":"#/components/schemas/ApiUserOAuthLink"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}/oauth-links/{oauth_link}":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_user_oauth-links_oauth_link","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"oauth_link","in":"path","description":"The oauth link ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_link"],"properties":{"oauth_link":{"$ref":"#/components/schemas/ApiUserOAuthLink"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_users_user_oauth-links_oauth_link","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"oauth_link","in":"path","description":"The oauth link ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}/servers":{"get":{"tags":["/api/admin"],"operationId":"get_api_admin_users_user_servers","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for server name","required":false,"schema":{"type":"string"},"example":"example-server"},{"name":"owned","in":"query","description":"Only show servers the user explicitly owns","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/admin/users/{user}/two-factor":{"delete":{"tags":["/api/admin"],"operationId":"delete_api_admin_users_user_two-factor","parameters":[{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/announcements":{"get":{"operationId":"get_api_announcements","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcements"],"properties":{"announcements":{"type":"array","items":{"$ref":"#/components/schemas/ApiAnnouncement"}}}}}}}}}},"/api/auth/email/verify":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_email_verify","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"token":{"type":"string","maxLength":96,"minLength":96}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user_uuid","email"],"properties":{"user_uuid":{"type":"string","format":"uuid"},"email":{"$ref":"#/components/schemas/CompactString"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/login":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_login","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["user","password"],"properties":{"user":{"type":"string"},"password":{"type":"string","maxLength":512},"captcha":{"type":["string","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["user","type"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"},"type":{"type":"string","enum":["completed"]}}},{"type":"object","required":["user","token","methods","type"],"properties":{"user":{"$ref":"#/components/schemas/ApiUser"},"token":{"type":"string"},"methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"type":{"type":"string","enum":["two_factor_required"]}}}]}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/login/checkpoint":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_login_checkpoint","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["code","confirmation_token"],"properties":{"code":{"type":"string","maxLength":10,"minLength":6},"method":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TwoFactorMethod"}]},"confirmation_token":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/login/checkpoint/email":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_login_checkpoint_email","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["confirmation_token"],"properties":{"confirmation_token":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/login/security-key":{"get":{"tags":["/api/auth"],"operationId":"get_api_auth_login_security-key","parameters":[{"name":"user","in":"query","description":"The user to get a security key challenge for","required":true,"schema":{"type":"string"},"example":"/"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["uuid","options"],"properties":{"uuid":{"type":"string","format":"uuid"},"options":{}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/auth"],"operationId":"post_api_auth_login_security-key","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["uuid","public_key_credential"],"properties":{"uuid":{"type":"string","format":"uuid"},"public_key_credential":{}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/login/security-key/discoverable":{"get":{"tags":["/api/auth"],"operationId":"get_api_auth_login_security-key_discoverable","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["uuid","options"],"properties":{"uuid":{"type":"string","format":"uuid"},"options":{}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/auth"],"operationId":"post_api_auth_login_security-key_discoverable","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["uuid","public_key_credential"],"properties":{"uuid":{"type":"string","format":"uuid"},"public_key_credential":{}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/oauth":{"get":{"tags":["/api/auth"],"operationId":"get_api_auth_oauth","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_providers"],"properties":{"oauth_providers":{"type":"array","items":{"$ref":"#/components/schemas/ApiOAuthProvider"}}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/oauth/redirect/{oauth_provider}":{"get":{"tags":["/api/auth"],"operationId":"get_api_auth_oauth_redirect_oauth_provider","responses":{"307":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/password/forgot":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_password_forgot","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email","maxLength":255},"captcha":{"type":["string","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/password/reset":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_password_reset","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["token","new_password"],"properties":{"token":{"type":"string","maxLength":96,"minLength":96},"new_password":{"type":"string","maxLength":512,"minLength":8}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/auth/register":{"post":{"tags":["/api/auth"],"operationId":"post_api_auth_register","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username","email","password"],"properties":{"username":{"$ref":"#/components/schemas/CompactString"},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"password":{"type":"string","maxLength":512,"minLength":8},"captcha":{"type":["string","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiFullUser"}}}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"language":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/client/account/activity":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_activity","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["activities"],"properties":{"activities":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserActivity","required":["event","data","is_api","created"],"properties":{"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/client/account/api-keys":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_api-keys","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["api_keys"],"properties":{"api_keys":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserApiKey","required":["uuid","name","key_start","allowed_ips","enabled","user_permissions","admin_permissions","server_permissions","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"key_start":{"$ref":"#/components/schemas/CompactString"},"allowed_ips":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"user_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"last_used":{"type":["string","null"],"format":"date-time"},"expires":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_account_api-keys","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","allowed_ips","user_permissions","admin_permissions","server_permissions"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"allowed_ips":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"user_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"expires":{"type":["string","null"],"format":"date-time"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["api_key","key"],"properties":{"api_key":{"$ref":"#/components/schemas/ApiUserApiKey"},"key":{"type":"string"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/api-keys/identifier/{identifier}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_api-keys_identifier_identifier","parameters":[{"name":"identifier","in":"path","description":"The first 16 characters of the API key","required":true,"schema":{"type":"string"},"example":"c7sp_abcdefghijk"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["api_key"],"properties":{"api_key":{"$ref":"#/components/schemas/ApiUserApiKey"}}}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/api-keys/{api_key}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_api-keys_api_key","parameters":[{"name":"api_key","in":"path","description":"The API key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account_api-keys_api_key","parameters":[{"name":"api_key","in":"path","description":"The API key identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["allowed_ips"],"properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allowed_ips":{"type":"array","items":{"type":"string"}},"enabled":{"type":["boolean","null"]},"user_permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"admin_permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"expires":{"type":["string","null"],"format":"date-time"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/api-keys/{api_key}/recreate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_api-keys_api_key_recreate","parameters":[{"name":"api_key","in":"path","description":"The API key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["key"],"properties":{"key":{"type":"string"}}}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/avatar":{"put":{"tags":["/api/client"],"operationId":"put_api_client_account_avatar","requestBody":{"content":{"text/plain":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["avatar"],"properties":{"avatar":{"type":"string"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_avatar","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/command-snippets":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_command-snippets","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["command_snippets"],"properties":{"command_snippets":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserCommandSnippet","required":["uuid","name","eggs","command","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"command":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_account_command-snippets","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","eggs","command"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"eggs":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}},"command":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["command_snippet"],"properties":{"command_snippet":{"$ref":"#/components/schemas/ApiUserCommandSnippet"}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/command-snippets/{command_snippet}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_command-snippets_command_snippet","parameters":[{"name":"command_snippet","in":"path","description":"The command snippet identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account_command-snippets_command_snippet","parameters":[{"name":"command_snippet","in":"path","description":"The command snippet identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":31,"minLength":1},"eggs":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}},"command":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/client/account/command-snippets/{command_snippet}/duplicate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_command-snippets_command_snippet_duplicate","parameters":[{"name":"command_snippet","in":"path","description":"The command snippet identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["command_snippet"],"properties":{"command_snippet":{"$ref":"#/components/schemas/ApiUserCommandSnippet"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/email":{"put":{"tags":["/api/client"],"operationId":"put_api_client_account_email","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["pending"],"properties":{"pending":{"type":"boolean"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/email/resend-verification":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_email_resend-verification","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"$ref":"#/components/schemas/CompactString"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/logout":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_logout","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/oauth-links":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_oauth-links","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_links"],"properties":{"oauth_links":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserOAuthLink","required":["uuid","oauth_provider","identifier","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"oauth_provider":{"$ref":"#/components/schemas/ApiOAuthProvider"},"identifier":{"$ref":"#/components/schemas/CompactString"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/client/account/oauth-links/{oauth_link}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_oauth-links_oauth_link","parameters":[{"name":"oauth_link","in":"path","description":"The oauth link ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["oauth_link"],"properties":{"oauth_link":{"$ref":"#/components/schemas/ApiUserOAuthLink"}}}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_oauth-links_oauth_link","parameters":[{"name":"oauth_link","in":"path","description":"The oauth link ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/password":{"put":{"tags":["/api/client"],"operationId":"put_api_client_account_password","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["new_password","password"],"properties":{"new_password":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/password-login":{"put":{"tags":["/api/client"],"operationId":"put_api_client_account_password-login","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["disabled","password"],"properties":{"disabled":{"type":"boolean"},"password":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/security-keys":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_security-keys","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["security_keys"],"properties":{"security_keys":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserSecurityKey","required":["uuid","name","credential_id","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"credential_id":{"type":"string"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_account_security-keys","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","password"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"allow_usernameless_login":{"type":"boolean"},"password":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["security_key","options"],"properties":{"security_key":{"$ref":"#/components/schemas/ApiUserSecurityKey"},"options":{}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/security-keys/{security_key}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_security-keys_security_key","parameters":[{"name":"security_key","in":"path","description":"The Security key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account_security-keys_security_key","parameters":[{"name":"security_key","in":"path","description":"The Security key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/security-keys/{security_key}/challenge":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_security-keys_security_key_challenge","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["public_key_credential"],"properties":{"public_key_credential":{}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["credential_id"],"properties":{"credential_id":{"type":"string"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/sessions":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_sessions","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["sessions"],"properties":{"sessions":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserSession","required":["uuid","ip","user_agent","is_using","last_used","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"ip":{"$ref":"#/components/schemas/CompactString"},"user_agent":{"$ref":"#/components/schemas/CompactString"},"is_using":{"type":"boolean"},"last_used":{"type":"string","format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_sessions","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"integer","format":"int64","minimum":0}}}}}}}}},"/api/client/account/sessions/{session}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_sessions_session","parameters":[{"name":"session","in":"path","description":"The session ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/settings":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_settings","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["settings"],"properties":{"settings":{"type":"object","additionalProperties":{},"propertyNames":{"type":"string"}}}}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account_settings","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["settings"],"properties":{"settings":{"type":"object","additionalProperties":{},"propertyNames":{"type":"string"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/ssh-keys":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_ssh-keys","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["ssh_keys"],"properties":{"ssh_keys":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"UserSshKey","required":["uuid","name","fingerprint","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_account_ssh-keys","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","public_key"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"public_key":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["ssh_key"],"properties":{"ssh_key":{"$ref":"#/components/schemas/ApiUserSshKey"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/ssh-keys/import":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_ssh-keys_import","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["provider","username"],"properties":{"provider":{"$ref":"#/components/schemas/SshKeyProvider"},"username":{"type":"string","maxLength":31,"minLength":3}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["ssh_keys"],"properties":{"ssh_keys":{"type":"array","items":{"$ref":"#/components/schemas/ApiUserSshKey"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/ssh-keys/{ssh_key}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_ssh-keys_ssh_key","parameters":[{"name":"ssh_key","in":"path","description":"The SSH key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_account_ssh-keys_ssh_key","parameters":[{"name":"ssh_key","in":"path","description":"The SSH key ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/two-factor":{"get":{"tags":["/api/client"],"operationId":"get_api_client_account_two-factor","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["otp_url","secret"],"properties":{"otp_url":{"type":"string"},"secret":{"type":"string"}}}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_account_two-factor","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["code","password"],"properties":{"code":{"type":"string","maxLength":6,"minLength":6},"password":{"type":"string","maxLength":512}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["recovery_codes"],"properties":{"recovery_codes":{"type":"array","items":{"type":"string"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_two-factor","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["code","password"],"properties":{"code":{"type":"string","maxLength":10,"minLength":6},"password":{"type":"string","maxLength":512}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/account/two-factor/email":{"post":{"tags":["/api/client"],"operationId":"post_api_client_account_two-factor_email","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string","maxLength":512}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["recovery_codes"],"properties":{"recovery_codes":{"type":"array","items":{"type":"string"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_account_two-factor_email","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"type":"string","maxLength":512}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/permissions":{"get":{"tags":["/api/client"],"operationId":"get_api_client_permissions","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user_permissions","admin_permissions","server_permissions"],"properties":{"user_permissions":{"$ref":"#/components/schemas/PermissionMap"},"admin_permissions":{"$ref":"#/components/schemas/PermissionMap"},"server_permissions":{"$ref":"#/components/schemas/PermissionMap"}}}}}}}}},"/api/client/servers":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"other","in":"query","description":"If true, returns servers not owned by the user (admin only)","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Server","required":["uuid","uuid_short","egg","egg_configuration","is_owner","is_suspended","is_transferring","permissions","ignored_files","location_uuid","location_name","node_uuid","node_name","node_maintenance_enabled","sftp_host","sftp_port","name","limits","feature_limits","startup","image","auto_kill","auto_start_behavior","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"egg":{"$ref":"#/components/schemas/ApiNestEgg"},"egg_configuration":{"$ref":"#/components/schemas/ApiEggConfiguration"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_owner":{"type":"boolean"},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"location_uuid":{"type":"string","format":"uuid"},"location_name":{"$ref":"#/components/schemas/CompactString"},"location_flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"node_uuid":{"type":"string","format":"uuid"},"node_name":{"$ref":"#/components/schemas/CompactString"},"node_maintenance_enabled":{"type":"boolean"},"sftp_host":{"$ref":"#/components/schemas/CompactString"},"sftp_port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0}}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/client/servers/eggs":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_eggs","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["nest_eggs"],"properties":{"nest_eggs":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"NestEgg","required":["uuid","name","startup_commands","separate_port","features","docker_images","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/client/servers/eggs/{egg}/command-snippets":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_eggs_egg_command-snippets","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["command_snippets"],"properties":{"command_snippets":{"type":"array","items":{"$ref":"#/components/schemas/ApiUserCommandSnippet"}}}}}}}}}},"/api/client/servers/groups":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_groups","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server_groups"],"properties":{"server_groups":{"type":"array","items":{"$ref":"#/components/schemas/ApiUserServerGroup"}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_groups","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","server_order"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"server_order":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server_group"],"properties":{"server_group":{"$ref":"#/components/schemas/ApiUserServerGroup"}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/groups/order":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_groups_order","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server_group_order"],"properties":{"server_group_order":{"type":"array","items":{"type":"string","format":"uuid","maxLength":25}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/client/servers/groups/{server_group}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_groups_server_group","parameters":[{"name":"server_group","in":"path","description":"The server group identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Server","required":["uuid","uuid_short","egg","egg_configuration","is_owner","is_suspended","is_transferring","permissions","ignored_files","location_uuid","location_name","node_uuid","node_name","node_maintenance_enabled","sftp_host","sftp_port","name","limits","feature_limits","startup","image","auto_kill","auto_start_behavior","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"egg":{"$ref":"#/components/schemas/ApiNestEgg"},"egg_configuration":{"$ref":"#/components/schemas/ApiEggConfiguration"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_owner":{"type":"boolean"},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"location_uuid":{"type":"string","format":"uuid"},"location_name":{"$ref":"#/components/schemas/CompactString"},"location_flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"node_uuid":{"type":"string","format":"uuid"},"node_name":{"$ref":"#/components/schemas/CompactString"},"node_maintenance_enabled":{"type":"boolean"},"sftp_host":{"$ref":"#/components/schemas/CompactString"},"sftp_port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0}}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_groups_server_group","parameters":[{"name":"server_group","in":"path","description":"The server group identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_groups_server_group","parameters":[{"name":"server_group","in":"path","description":"The server group identifier","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":31,"minLength":2},"server_order":{"type":["array","null"],"items":{"type":"string","format":"uuid","maxLength":100}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/client/servers/nodes/{node}/resources":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_nodes_node_resources","parameters":[{"name":"node","in":"path","description":"The node ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["resources"],"properties":{"resources":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ResourceUsage"},"propertyNames":{"type":"string","format":"uuid"}}}}}}}}}},"/api/client/servers/{server}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"$ref":"#/components/schemas/ApiServer"}}}}}}}}},"/api/client/servers/{server}/activity":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_activity","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"user","in":"query","description":"The user ID to filter activities","required":false,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["activities"],"properties":{"activities":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerActivity","required":["event","data","is_api","is_schedule","created"],"properties":{"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"is_schedule":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}}}}},"/api/client/servers/{server}/allocations":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_allocations","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocations"],"properties":{"allocations":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerAllocation","required":["uuid","ip","port","is_primary","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"notes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"is_primary":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_allocations","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocation"],"properties":{"allocation":{"$ref":"#/components/schemas/ApiServerAllocation"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/allocations/{allocation}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_allocations_allocation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"allocation","in":"path","description":"The allocation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_allocations_allocation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"allocation","in":"path","description":"The allocation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"notes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"primary":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/announcements":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_announcements","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["announcements"],"properties":{"announcements":{"type":"array","items":{"$ref":"#/components/schemas/ApiAnnouncement"}}}}}}}}}},"/api/client/servers/{server}/backups":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"ungrouped","in":"query","description":"Only show backups that are not assigned to a backup group","required":true,"schema":{"type":"boolean"},"example":"false"},{"name":"kind","in":"query","description":"Only show backups of this kind","required":false,"schema":{"$ref":"#/components/schemas/ServerBackupKind"}},{"name":"database_instance_uuid","in":"query","description":"Only show backups taken from this database instance","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"database_type","in":"query","description":"Only show database backups taken from this database engine","required":false,"schema":{"$ref":"#/components/schemas/DatabaseAgentType"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ignored_files"],"properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup"],"properties":{"backup":{"$ref":"#/components/schemas/ApiServerBackup"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/groups":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_groups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_groups"],"properties":{"backup_groups":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerBackupGroup"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_backups_groups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"retention":{"$ref":"#/components/schemas/BackupRetention"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup_group"],"properties":{"backup_group":{"$ref":"#/components/schemas/ApiServerBackupGroup"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/groups/order":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_backups_groups_order","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["backup_group_order"],"properties":{"backup_group_order":{"type":"array","items":{"type":"string","format":"uuid","maxLength":100}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/groups/{backup_group}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_groups_backup_group","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup_group","in":"path","description":"The backup group ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_backups_groups_backup_group","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup_group","in":"path","description":"The backup group ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"lock_backups":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_backups_groups_backup_group","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup_group","in":"path","description":"The backup group ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"retention":{"$ref":"#/components/schemas/BackupRetention"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/system":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_system","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backups"],"properties":{"backups":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/unlock":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_backups_unlock","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/usage":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_usage","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["usage"],"properties":{"usage":{"$ref":"#/components/schemas/ServerBackupUsage"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/{backup}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_backup","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["backup"],"properties":{"backup":{"$ref":"#/components/schemas/ApiServerBackup"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_backups_backup","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_backups_backup","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"locked":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/{backup}/download":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_backup_download","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"archive_format","in":"query","description":"The format of the archive to download (only for is_streaming = true)","required":true,"schema":{"$ref":"#/components/schemas/StreamableArchiveFormat"},"example":"tar_gz"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/{backup}/export":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_backups_backup_export","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"type":"string"},"archive_format":{"$ref":"#/components/schemas/StreamableArchiveFormat"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["entry"],"properties":{"entry":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/{backup}/query":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_backups_backup_query","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"archive_format":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ArchiveFormat"}]},"size":{"type":["integer","null"],"format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/backups/{backup}/restore":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_backups_backup_restore","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"truncate_directory":{"type":"boolean"},"restore_startup":{"type":"boolean"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/command":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_command","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["command"],"properties":{"command":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"include_password","in":"query","description":"Whether to include the database password in the response","required":true,"schema":{"type":"boolean"},"example":"true"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["databases"],"properties":{"databases":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerDatabase","required":["uuid","type","host","port","name","is_locked","username","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["database_host_uuid","name"],"properties":{"database_host_uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database"],"properties":{"database":{"$ref":"#/components/schemas/ApiServerDatabase"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/hosts":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_hosts","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database_hosts"],"properties":{"database_hosts":{"type":"array","items":{"$ref":"#/components/schemas/ApiDatabaseHost"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instances"],"properties":{"instances":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerDatabaseInstance","required":["uuid","update_available","type","name","is_locked","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerDatabaseInstanceStatus"}]},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["template_uuid","name"],"properties":{"template_uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instance"],"properties":{"instance":{"$ref":"#/components/schemas/ApiServerDatabaseInstance"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/templates":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_templates","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["templates"],"properties":{"templates":{"type":"array","items":{"$ref":"#/components/schemas/ApiDatabaseAgentTemplate"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instance"],"properties":{"instance":{"$ref":"#/components/schemas/ApiServerDatabaseInstance"},"live":{"oneOf":[{"type":"null"},{"type":"object","required":["suspended","utilization"],"properties":{"suspended":{"type":"boolean"},"utilization":{"type":"object","required":["memory_bytes","memory_limit_bytes","disk_bytes","state","cpu_absolute","uptime"],"properties":{"memory_bytes":{"type":"integer","format":"int64","minimum":0},"memory_limit_bytes":{"type":"integer","format":"int64","minimum":0},"disk_bytes":{"type":"integer","format":"int64","minimum":0},"state":{"type":"string","enum":["offline","starting","stopping","running"]},"cpu_absolute":{"type":"number","format":"double"},"uptime":{"type":"integer","format":"int64","minimum":0}}}}}]}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_databases_instances_database_instance","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"force","in":"query","description":"Whether to delete the panel record even if the agent cannot be reached","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_databases_instances_database_instance","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"locked":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["databases"],"properties":{"databases":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceDatabase"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database"],"properties":{"database":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceDatabase"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_databases_instances_database_instance_databases_database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/query":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_query","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","maxLength":65535,"minLength":1},"rows":{"type":"integer","format":"int32","maximum":1000,"minimum":1},"read_only":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/QueryResultSet"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/rows":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_rows","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"order_by":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"descending":{"type":"boolean"},"limit":{"type":"integer","format":"int32","maximum":500,"minimum":1},"offset":{"type":"integer","format":"int64","minimum":0},"filters":{"type":"array","items":{"$ref":"#/components/schemas/BrowseFilter"},"maxItems":10}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["result"],"properties":{"result":{"$ref":"#/components/schemas/QueryResultSet"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/rows/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_rows_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowDelete"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/rows/insert":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_rows_insert","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowInsert"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/rows/update":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_rows_update","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowUpdate"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/schema":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_schema","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tables","truncated"],"properties":{"tables":{"type":"array","items":{"$ref":"#/components/schemas/SchemaTable"}},"truncated":{"type":"boolean"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","columns"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"columns":{"type":"array","items":{"$ref":"#/components/schemas/ColumnDefinition"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/columns":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_columns","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/ColumnDefinition"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/columns/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_columns_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/columns/rename":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_columns_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column","name"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/rename":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","name"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/explorer/tables/types":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_databases_database_explorer_tables_types","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["types"],"properties":{"types":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/export":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_databases_database_export","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/import":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_import","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"source_db","in":"query","description":"The database the dump was taken from, required for mongodb","required":false,"schema":{"type":"string"}},{"name":"wipe","in":"query","description":"Whether to wipe all existing data in the database before importing","required":true,"schema":{"type":"boolean"},"example":"false"}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/import/remote":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_import_remote","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"},"source_db":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"wipe":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["operation"],"properties":{"operation":{"type":"string","format":"uuid"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/recreate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_databases_database_recreate","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/databases/{database}/size":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_databases_database_size","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["size"],"properties":{"size":{"type":"integer","format":"int64"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/export":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_export","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/import":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_import","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"wipe","in":"query","description":"Whether to wipe all existing data in the instance before importing","required":true,"schema":{"type":"boolean"},"example":"false"}],"requestBody":{"content":{"application/octet-stream":{"schema":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/logs":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_logs","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"lines","in":"query","description":"The amount of database log lines to tail","required":true,"schema":{"type":"integer","format":"int64","maximum":1000,"minimum":1},"example":"100"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/operations/{operation}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_databases_instances_database_instance_operations_operation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"operation","in":"path","description":"The operation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/power":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_power","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["action"],"properties":{"action":{"$ref":"#/components/schemas/PowerAction"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/resources":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_resources","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["resources"],"properties":{"resources":{"type":"object","required":["memory_bytes","memory_limit_bytes","disk_bytes","state","cpu_absolute","uptime"],"properties":{"memory_bytes":{"type":"integer","format":"int64","minimum":0},"memory_limit_bytes":{"type":"integer","format":"int64","minimum":0},"disk_bytes":{"type":"integer","format":"int64","minimum":0},"state":{"type":"string","enum":["offline","starting","stopping","running"]},"cpu_absolute":{"type":"number","format":"double"},"uptime":{"type":"integer","format":"int64","minimum":0}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/update":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_update","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["instance"],"properties":{"instance":{"$ref":"#/components/schemas/ApiServerDatabaseInstance"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/users":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_instances_database_instance_users","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["users"],"properties":{"users":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceUser"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_users","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["username"],"properties":{"username":{"$ref":"#/components/schemas/CompactString"},"databases":{"type":"array","items":{"$ref":"#/components/schemas/ServerDatabaseInstanceUserDatabaseGrant"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user"],"properties":{"user":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceUser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/users/{user}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_databases_instances_database_instance_users_user","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/users/{user}/databases":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_databases_instances_database_instance_users_user_databases","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"databases":{"type":"array","items":{"$ref":"#/components/schemas/ServerDatabaseInstanceUserDatabaseGrant"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["databases"],"properties":{"databases":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceUserDatabase"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/users/{user}/databases/{database}":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_databases_instances_database_instance_users_user_databases_database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["permission"],"properties":{"permission":{"$ref":"#/components/schemas/DatabasePermission"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"database":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerDatabaseInstanceUserDatabase"}]}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/instances/{database_instance}/users/{user}/rotate-password":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_instances_database_instance_users_user_rotate-password","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database_instance","in":"path","description":"The database instance ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"user","in":"path","description":"The user ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["password"],"properties":{"password":{"$ref":"#/components/schemas/CompactString"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"include_password","in":"query","description":"Whether to include the database password in the response","required":true,"schema":{"type":"boolean"},"example":"true"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["database"],"properties":{"database":{"$ref":"#/components/schemas/ApiServerDatabase"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_databases_database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_databases_database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"locked":{"type":["boolean","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/query":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_query","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","maxLength":65535,"minLength":1},"rows":{"type":"integer","format":"int32","maximum":1000,"minimum":1},"read_only":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/QueryResultSet"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/rows":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_rows","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"order_by":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"descending":{"type":"boolean"},"limit":{"type":"integer","format":"int32","maximum":500,"minimum":1},"offset":{"type":"integer","format":"int64","minimum":0},"filters":{"type":"array","items":{"$ref":"#/components/schemas/BrowseFilter"},"maxItems":10}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["result"],"properties":{"result":{"$ref":"#/components/schemas/QueryResultSet"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/rows/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_rows_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowDelete"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/rows/insert":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_rows_insert","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowInsert"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/rows/update":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_rows_update","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","rows"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/RowUpdate"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["affected"],"properties":{"affected":{"type":"integer","format":"int64","minimum":0}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/schema":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_database_explorer_schema","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tables","truncated"],"properties":{"tables":{"type":"array","items":{"$ref":"#/components/schemas/SchemaTable"}},"truncated":{"type":"boolean"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","columns"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"columns":{"type":"array","items":{"$ref":"#/components/schemas/ColumnDefinition"},"maxItems":100,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/columns":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables_columns","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/ColumnDefinition"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/columns/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables_columns_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/columns/rename":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables_columns_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","column","name"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"column":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/rename":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_explorer_tables_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["table","name"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"table":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/explorer/tables/types":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_database_explorer_tables_types","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["types"],"properties":{"types":{"type":"array","items":{"type":"string"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/recreate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_recreate","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/rotate-password":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_databases_database_rotate-password","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":["string","null"]}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/databases/{database}/size":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_databases_database_size","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"database","in":"path","description":"The database ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["size"],"properties":{"size":{"type":"integer","format":"int64"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/chmod":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_files_chmod","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"type":"object","required":["file","mode"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"mode":{"$ref":"#/components/schemas/CompactString"},"recursive":{"type":"boolean"}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["updated"],"properties":{"updated":{"type":"integer","format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/compress":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_compress","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["format","files"],"properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"format":{"$ref":"#/components/schemas/ArchiveFormat"},"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["entry"],"properties":{"entry":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/contents":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_contents","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"query","description":"The file to retrieve contents from","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/copy":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_copy","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["path"],"properties":{"path":{"$ref":"#/components/schemas/CompactString"},"destination":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"overwrite":{"type":"boolean"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["entry"],"properties":{"entry":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/copy-many":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_copy-many","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string"},"to":{"type":"string"}}}},"overwrite":{"type":"boolean"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["copied","skipped"],"properties":{"copied":{"type":"integer","format":"int64","minimum":0},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier","skipped"],"properties":{"identifier":{"type":"string","format":"uuid"},"skipped":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/copy-remote":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_copy-remote","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files","destination","destination_server"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string"},"to":{"type":"string"}}}},"destination":{"$ref":"#/components/schemas/CompactString"},"destination_server":{"type":"string","example":"123e4567-e89b-12d3-a456-426614174000"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/copy-remote-many":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_copy-remote-many","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files","destination","destination_servers"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string"},"to":{"type":"string"}}}},"destination":{"$ref":"#/components/schemas/CompactString"},"destination_servers":{"type":"array","items":{"type":"string","format":"uuid"},"maxItems":25,"minItems":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/ResponseResult"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/create-directory":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_create-directory","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/create-symlink":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_create-symlink","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["link","target"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"link":{"$ref":"#/components/schemas/CompactString"},"target":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/decompress":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_decompress","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["file"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"file":{"$ref":"#/components/schemas/CompactString"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/delete":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_delete","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["deleted"],"properties":{"deleted":{"type":"integer","format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/download":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_download","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"root","in":"query","description":"The root directory to download from","required":true,"schema":{"type":"string"},"example":"/path/to/root"},{"name":"files","in":"query","description":"The file(s) to download","required":true,"schema":{"type":"array","items":{"type":"string"}},"example":"/path/to/file.txt"},{"name":"directory","in":"query","description":"Whether the file is a directory","required":true,"schema":{"type":"boolean"},"example":"false"},{"name":"archive_format","in":"query","description":"The format of the archive to download","required":true,"schema":{"$ref":"#/components/schemas/StreamableArchiveFormat"},"example":"tar_gz"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/fingerprint":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_fingerprint","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"query","description":"The file to retrieve fingerprints from","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"},{"name":"algorithm","in":"query","description":"The algorithm to use for generating the fingerprint","required":true,"schema":{"$ref":"#/components/schemas/Algorithm"},"example":"sha256"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["fingerprint"],"properties":{"fingerprint":{"$ref":"#/components/schemas/CompactString"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/largest-directories":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_largest-directories","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"directory","in":"query","description":"The directory to retrieve largest directories from","required":true,"schema":{"type":"string"},"example":"/"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["largest_directories"],"properties":{"largest_directories":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryEntry"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/lines":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_lines","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"query","description":"The file to retrieve contents from","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"},{"name":"start_line","in":"query","description":"First line, one-based and inclusive","required":true,"schema":{"type":"integer","format":"int64","minimum":0}},{"name":"end_line","in":"query","description":"Last line, one-based and inclusive","required":true,"schema":{"type":"integer","format":"int64","minimum":0}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response200"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/list":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_list","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number for pagination","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"directory","in":"query","description":"The directory to list files from","required":true,"schema":{"type":"string"},"example":"/"},{"name":"sort","in":"query","description":"The sorting mode to use for the files","required":true,"schema":{"$ref":"#/components/schemas/DirectorySortingMode"},"example":"name_asc"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["is_filesystem_primary","is_filesystem_writable","is_filesystem_fast","entries"],"properties":{"is_filesystem_primary":{"type":"boolean"},"is_filesystem_writable":{"type":"boolean"},"is_filesystem_fast":{"type":"boolean"},"entries":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","required":["name","mode","mode_bits","size","size_physical","editable","inner_editable","directory","file","symlink","virtual","mime","created","modified"],"properties":{"name":{"type":"string"},"mode":{"type":"string"},"mode_bits":{"type":"string"},"size":{"type":"integer","format":"int64","minimum":0},"size_physical":{"type":"integer","format":"int64","minimum":0},"editable":{"type":"boolean"},"inner_editable":{"type":"boolean"},"directory":{"type":"boolean"},"file":{"type":"boolean"},"symlink":{"type":"boolean"},"virtual":{"type":"boolean"},"mime":{"type":"string"},"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"}}}}}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/operations/{operation}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_files_operations_operation","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"operation","in":"path","description":"The operation ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/pull":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_pull","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"url":{"type":"string","format":"uri"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"use_header":{"type":"boolean"},"foreground":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["identifier"],"properties":{"identifier":{"type":"string","format":"uuid"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/pull/query":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_pull_query","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["query_result"],"properties":{"query_result":{"type":"object","required":["final_url","headers"],"properties":{"file_name":{"oneOf":[{"type":"null"},{"type":"string"}]},"file_size":{"type":["integer","null"],"format":"int64","minimum":0},"final_url":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/rename":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_files_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["files"],"properties":{"root":{"oneOf":[{"$ref":"#/components/schemas/CompactString"}],"default":"/"},"files":{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string"},"to":{"type":"string"}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["renamed"],"properties":{"renamed":{"type":"integer","format":"int64","minimum":0}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/revisions":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_revisions","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"query","description":"The file to retrieve revisions from","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["revisions"],"properties":{"revisions":{"type":"array","items":{"$ref":"#/components/schemas/Revision"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/revisions/{revision}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_revisions_revision","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"revision","in":"path","description":"The revision ID","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"file","in":"query","description":"The file the revision belongs to","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/search":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_search","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"root":{"$ref":"#/components/schemas/CompactString"},"path_filter":{"oneOf":[{"type":"null"},{"type":"object","required":["include","exclude","case_insensitive"],"properties":{"include":{"type":"array","items":{"type":"string"}},"exclude":{"type":"array","items":{"type":"string"}},"case_insensitive":{"type":"boolean"}}}]},"size_filter":{"oneOf":[{"type":"null"},{"type":"object","required":["min","max"],"properties":{"min":{"type":"integer","format":"int64","minimum":0},"max":{"type":"integer","format":"int64","minimum":0}}}]},"content_filter":{"oneOf":[{"type":"null"},{"type":"object","required":["query","max_search_size","include_unmatched","case_insensitive"],"properties":{"query":{"type":"string"},"max_search_size":{"type":"integer","format":"int64","minimum":0},"include_unmatched":{"type":"boolean"},"case_insensitive":{"type":"boolean"}}}]},"match_context":{"oneOf":[{"type":"null"},{"type":"object","required":["before","after","max_matches"],"properties":{"before":{"type":"integer","format":"int64","minimum":0},"after":{"type":"integer","format":"int64","minimum":0},"max_matches":{"type":"integer","format":"int64","minimum":0}}}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["entries"],"properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/DirectoryEntry"}},"content_matches":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ContentMatches"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"413":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/sqlite-query":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_sqlite-query","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["file","query"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"query":{"type":"string","maxLength":65535,"minLength":1},"rows":{"type":"integer","format":"int32","maximum":1000,"minimum":1},"read_only":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["results"],"properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/QueryResultSet"}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"408":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/upload":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_files_upload","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/files/write":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_files_write","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"file","in":"query","description":"The file to write contents to","required":true,"schema":{"type":"string"},"example":"/path/to/file.txt"}],"requestBody":{"content":{"text/plain":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/firewall":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_firewall","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["allocation_ports","rules"],"properties":{"supported":{"type":["boolean","null"]},"allocation_ports":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"rules":{"type":"array","items":{"$ref":"#/components/schemas/FirewallRule"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_firewall","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["rules"],"properties":{"rules":{"type":"array","items":{"$ref":"#/components/schemas/FirewallRule"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/logs":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_logs","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"lines","in":"query","description":"The amount of server log lines to tail","required":true,"schema":{"type":"integer","format":"int64","maximum":1000,"minimum":1},"example":"100"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/client/servers/{server}/mounts":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_mounts","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["mounts"],"properties":{"mounts":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerMount","required":["uuid","name","target","read_only"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"target":{"$ref":"#/components/schemas/CompactString"},"read_only":{"type":"boolean"},"created":{"type":["string","null"],"format":"date-time"}}}}}}}}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_mounts","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["mount_uuid"],"properties":{"mount_uuid":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/mounts/{mount}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_mounts_mount","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"mount","in":"path","description":"The mount ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/power":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_power","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["action"],"properties":{"action":{"$ref":"#/components/schemas/ServerPowerAction"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/resources":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_resources","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["resources"],"properties":{"resources":{"$ref":"#/components/schemas/ResourceUsage"}}}}}}}}},"/api/client/servers/{server}/schedules":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_schedules","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedules"],"properties":{"schedules":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerSchedule","required":["uuid","name","enabled","triggers","condition","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"enabled":{"type":"boolean"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleTrigger"}},"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"last_run":{"type":["string","null"],"format":"date-time"},"last_failure":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","enabled","triggers","condition"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"enabled":{"type":"boolean"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleTrigger"}},"condition":{"$ref":"#/components/schemas/ScheduleCondition"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule"],"properties":{"schedule":{"$ref":"#/components/schemas/ApiServerSchedule"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/import":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_import","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportedServerSchedule"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule"],"properties":{"schedule":{"$ref":"#/components/schemas/ApiServerSchedule"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_schedules_schedule","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule"],"properties":{"schedule":{"$ref":"#/components/schemas/ApiServerSchedule"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_schedules_schedule","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_schedules_schedule","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"enabled":{"type":["boolean","null"]},"triggers":{"type":["array","null"],"items":{"$ref":"#/components/schemas/ScheduleTrigger"}},"condition":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleCondition"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/abort":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_schedule_abort","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/duplicate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_schedule_duplicate","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule"],"properties":{"schedule":{"$ref":"#/components/schemas/ApiServerSchedule"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/export":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_schedules_schedule_export","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportedServerSchedule"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/status":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_schedules_schedule_status","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["status"],"properties":{"status":{"$ref":"#/components/schemas/ScheduleStatus"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/steps":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_schedules_schedule_steps","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule_steps"],"properties":{"schedule_steps":{"type":"array","items":{"type":"object","title":"ServerScheduleStep","required":["uuid","action","order","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"action":{"$ref":"#/components/schemas/ScheduleActionInner"},"order":{"type":"integer","format":"int32"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_schedule_steps","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["action","order"],"properties":{"action":{"$ref":"#/components/schemas/ScheduleActionInner"},"order":{"type":"integer","format":"int32"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule_step"],"properties":{"schedule_step":{"$ref":"#/components/schemas/ApiServerScheduleStep"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/steps/order":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_schedules_schedule_steps_order","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["schedule_step_order"],"properties":{"schedule_step_order":{"type":"array","items":{"type":"string","format":"uuid","maxLength":1024}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/steps/{step}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_schedules_schedule_steps_step","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"step","in":"path","description":"The schedule step ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_schedules_schedule_steps_step","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"step","in":"path","description":"The schedule step ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleActionInner"}]},"order":{"type":["integer","null"],"format":"int32"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/steps/{step}/duplicate":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_schedule_steps_step_duplicate","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"step","in":"path","description":"The schedule step ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["schedule_step"],"properties":{"schedule_step":{"$ref":"#/components/schemas/ApiServerScheduleStep"}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/schedules/{schedule}/trigger":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_schedules_schedule_trigger","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"schedule","in":"path","description":"The schedule ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"skip_condition":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/auto-kill":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_settings_auto-kill","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["enabled"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":["integer","null"],"format":"int64","maximum":3600,"minimum":1}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/auto-start":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_settings_auto-start","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["behavior"],"properties":{"behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/install":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_settings_install","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["truncate_directory"],"properties":{"truncate_directory":{"type":"boolean"}}}}},"required":true},"responses":{"202":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/install/cancel":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_settings_install_cancel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"202":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/install/unlock":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_settings_install_unlock","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/rename":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_settings_rename","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/settings/timezone":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_settings_timezone","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"timezone":{"type":["string","null"],"maxLength":255,"minLength":3}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/startup/command":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_startup_command","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["command"],"properties":{"command":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/startup/docker-image":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_startup_docker-image","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["image"],"properties":{"image":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/startup/variables":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_startup_variables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["variables"],"properties":{"variables":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerVariable"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_startup_variables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["variables"],"properties":{"variables":{"type":"array","items":{"type":"object","required":["env_variable","value"],"properties":{"env_variable":{"type":"string","maxLength":255,"minLength":1},"value":{"type":"string","maxLength":4096}}},"maxItems":1024}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/subusers":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_subusers","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["subusers"],"properties":{"subusers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"ServerSubuser","required":["user","permissions","ignored_files","created"],"properties":{"user":{"$ref":"#/components/schemas/ApiUser"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_subusers","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["email","permissions","ignored_files"],"properties":{"email":{"$ref":"#/components/schemas/CompactString"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"},"maxItems":1024},"captcha":{"type":["string","null"]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["subuser"],"properties":{"subuser":{"$ref":"#/components/schemas/ApiServerSubuser"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/subusers/{subuser}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_subusers_subuser","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"subuser","in":"path","description":"The subuser ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_subusers_subuser","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"subuser","in":"path","description":"The subuser ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"},"maxItems":1024}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/tunnel":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_tunnel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["supported","ports","allocation_ports","outgoing","incoming"],"properties":{"supported":{"type":"boolean"},"tunnel":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerTunnel"}]},"ports":{"type":"array","items":{"$ref":"#/components/schemas/ServerTunnelPort"}},"allocation_ports":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"outgoing":{"type":"array","items":{"$ref":"#/components/schemas/ServerTunnelPeer"}},"incoming":{"type":"array","items":{"$ref":"#/components/schemas/ServerTunnelPeer"}}}}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_tunnel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tunnel"],"properties":{"tunnel":{"$ref":"#/components/schemas/ApiServerTunnel"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_tunnel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/client"],"operationId":"patch_api_client_servers_server_tunnel","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["tunnel"],"properties":{"tunnel":{"$ref":"#/components/schemas/ApiServerTunnel"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/tunnel/connections":{"post":{"tags":["/api/client"],"operationId":"post_api_client_servers_server_tunnel_connections","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["server"],"properties":{"server":{"type":"string","format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/tunnel/connections/available":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_tunnel_connections_available","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"},{"name":"search","in":"query","description":"Search term for items","required":false,"schema":{"type":"string"}},{"name":"other","in":"query","description":"If true, returns servers not owned by the user (admin only)","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["servers"],"properties":{"servers":{"type":"object","required":["total","per_page","page","data"],"properties":{"total":{"type":"integer","format":"int64"},"per_page":{"type":"integer","format":"int64"},"page":{"type":"integer","format":"int64"},"data":{"type":"array","items":{"type":"object","title":"Server","required":["uuid","uuid_short","egg","egg_configuration","is_owner","is_suspended","is_transferring","permissions","ignored_files","location_uuid","location_name","node_uuid","node_name","node_maintenance_enabled","sftp_host","sftp_port","name","limits","feature_limits","startup","image","auto_kill","auto_start_behavior","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"egg":{"$ref":"#/components/schemas/ApiNestEgg"},"egg_configuration":{"$ref":"#/components/schemas/ApiEggConfiguration"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_owner":{"type":"boolean"},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"location_uuid":{"type":"string","format":"uuid"},"location_name":{"$ref":"#/components/schemas/CompactString"},"location_flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"node_uuid":{"type":"string","format":"uuid"},"node_name":{"$ref":"#/components/schemas/CompactString"},"node_maintenance_enabled":{"type":"boolean"},"sftp_host":{"$ref":"#/components/schemas/CompactString"},"sftp_port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0}}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}}}}}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/tunnel/connections/{connection}":{"delete":{"tags":["/api/client"],"operationId":"delete_api_client_servers_server_tunnel_connections_connection","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"connection","in":"path","description":"The connected server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"incoming","in":"query","description":"Remove the connection that reaches this server, rather than the one it reaches out on","required":true,"schema":{"type":"boolean"},"example":"false"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/tunnel/ports":{"put":{"tags":["/api/client"],"operationId":"put_api_client_servers_server_tunnel_ports","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ports"],"properties":{"ports":{"type":"array","items":{"$ref":"#/components/schemas/CreateServerTunnelPortOptions"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/client/servers/{server}/websocket":{"get":{"tags":["/api/client"],"operationId":"get_api_client_servers_server_websocket","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["token","url"],"properties":{"token":{"type":"string"},"url":{"type":"string","format":"uri"}}}}}}}}},"/api/languages":{"get":{"operationId":"get_api_languages","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["languages"],"properties":{"languages":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}}}}},"/api/remote/activity":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_activity","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["server","event","timestamp"],"properties":{"server":{"type":"string","format":"uuid"},"user":{"type":["string","null"],"format":"uuid"},"schedule":{"type":["string","null"],"format":"uuid"},"event":{"$ref":"#/components/schemas/CompactString"},"metadata":{},"ip":{"type":["string","null"]},"timestamp":{"type":"string","format":"date-time"}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_backups_backup","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["checksum","checksum_type","size","files","successful","browsable","streaming","parts"],"properties":{"checksum":{"type":"string"},"checksum_type":{"type":"string"},"size":{"type":"integer","format":"int64","minimum":0},"files":{"type":"integer","format":"int64","minimum":0},"successful":{"type":"boolean"},"browsable":{"type":"boolean"},"streaming":{"type":"boolean"},"parts":{"type":"array","items":{"type":"object","required":["etag","part_number"],"properties":{"etag":{"type":"string"},"part_number":{"type":"integer","format":"int32","minimum":0}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/database/restore":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_backups_backup_database_restore","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["successful"],"properties":{"database_instance":{"type":["string","null"],"format":"uuid"},"successful":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/database/restore-target":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_backups_backup_database_restore-target","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"instance","in":"query","description":"The database instance to import into","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"text/plain":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/database/source":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_backups_backup_database_source","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"instance","in":"query","description":"The database instance to export from","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"text/plain":{"schema":{"type":"string"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/deletion":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_backups_backup_deletion","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["successful"],"properties":{"successful":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/kopia":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_backups_backup_kopia","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url","username","password","tags"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"tags":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/pbs":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_backups_backup_pbs","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["url","datastore","token_id","token_secret","kind","backup_created"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"},"datastore":{"$ref":"#/components/schemas/CompactString"},"namespace":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"token_id":{"$ref":"#/components/schemas/CompactString"},"token_secret":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_id_prefix":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"server_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"backup_created":{"type":"string","format":"date-time"}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/restic":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_backups_backup_restic","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["repository","retry_lock_seconds","environment"],"properties":{"repository":{"$ref":"#/components/schemas/CompactString"},"retry_lock_seconds":{"type":"integer","format":"int64","minimum":0},"environment":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/restore":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_backups_backup_restore","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["successful"],"properties":{"server_uuid":{"type":["string","null"],"format":"uuid"},"successful":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/backups/{backup}/s3/parts":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_backups_backup_s3_parts","parameters":[{"name":"backup","in":"path","description":"The backup ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"},{"name":"from_part","in":"query","description":"The part number to start from when generating presigned urls","required":true,"schema":{"type":"integer","format":"int32","minimum":0},"example":"1"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["parts","part_size"],"properties":{"parts":{"type":"array","items":{"type":"string"}},"part_size":{"type":"integer","format":"int64","minimum":0}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/schedule":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_schedule","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["uuid","successful","errors","timestamp"],"properties":{"uuid":{"type":"string","format":"uuid"},"successful":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string","format":"uuid"}},"timestamp":{"type":"string","format":"date-time"}}}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_servers","parameters":[{"name":"page","in":"query","description":"The page number","required":true,"schema":{"type":"integer","format":"int64"},"example":"1"},{"name":"per_page","in":"query","description":"The number of items per page","required":true,"schema":{"type":"integer","format":"int64"},"example":"10"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/RemoteApiServer"}},"meta":{"type":"object","required":["current_page","last_page","total"],"properties":{"current_page":{"type":"integer","format":"int64"},"last_page":{"type":"integer","format":"int64"},"total":{"type":"integer","format":"int64"}}}}}}}}}}},"/api/remote/servers/reset":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_reset","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/remote/servers/{server}":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_servers_server","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemoteApiServer"}}}}}}},"/api/remote/servers/{server}/backups":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["ignored_files"],"properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["adapter","uuid"],"properties":{"adapter":{"$ref":"#/components/schemas/BackupAdapter"},"uuid":{"type":"string","format":"uuid"},"extension":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"delete":{"tags":["/api/remote"],"operationId":"delete_api_remote_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"backup_uuid":{"type":["string","null"],"format":"uuid"},"backup_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"oldest":{"type":"boolean"},"kind":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupKind"}]},"database_instance_uuid":{"type":["string","null"],"format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","format":"uuid"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}},"patch":{"tags":["/api/remote"],"operationId":"patch_api_remote_servers_server_backups","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"backup_uuid":{"type":["string","null"],"format":"uuid"},"backup_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"oldest":{"type":"boolean"},"kind":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupKind"}]},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"target_backup_group_uuid":{"type":["string","null"],"format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["uuid"],"properties":{"uuid":{"type":"string","format":"uuid"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/backups/restore":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_backups_restore","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["truncate_directory"],"properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"backup_uuid":{"type":["string","null"],"format":"uuid"},"backup_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"oldest":{"type":"boolean"},"truncate_directory":{"type":"boolean"},"restore_startup":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["adapter","uuid"],"properties":{"adapter":{"$ref":"#/components/schemas/BackupAdapter"},"uuid":{"type":"string","format":"uuid"},"download_url":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/backups/restore-database":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_backups_restore-database","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"request_uuid":{"type":["string","null"],"format":"uuid"},"backup_uuid":{"type":["string","null"],"format":"uuid"},"backup_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"oldest":{"type":"boolean"},"source_database_instance_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["uuid","database_instance_uuid"],"properties":{"uuid":{"type":"string","format":"uuid"},"database_instance_uuid":{"type":"string","format":"uuid"},"request_uuid":{"type":["string","null"],"format":"uuid"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/install":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_servers_server_install","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["container_image","entrypoint","script","environment"],"properties":{"container_image":{"type":"string"},"entrypoint":{"type":"string"},"script":{"type":"string"},"environment":{"type":"object","additionalProperties":{},"propertyNames":{"type":"string"}}}}}}}}},"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_install","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["successful"],"properties":{"successful":{"type":"boolean"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/remote/servers/{server}/startup/command":{"put":{"tags":["/api/remote"],"operationId":"put_api_remote_servers_server_startup_command","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["command"],"properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"command":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/startup/docker-image":{"put":{"tags":["/api/remote"],"operationId":"put_api_remote_servers_server_startup_docker-image","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["image"],"properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"image":{"$ref":"#/components/schemas/CompactString"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/startup/variables":{"put":{"tags":["/api/remote"],"operationId":"put_api_remote_servers_server_startup_variables","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["env_variable","value"],"properties":{"schedule_uuid":{"type":["string","null"],"format":"uuid"},"env_variable":{"type":"string","maxLength":255,"minLength":1},"value":{"type":"string","maxLength":4096}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/transfer/failure":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_transfer_failure","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/servers/{server}/transfer/success":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_servers_server_transfer_success","parameters":[{"name":"server","in":"path","description":"The server ID","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["backups"],"properties":{"backups":{"type":"array","items":{"type":"string","format":"uuid"}},"backup_migrations":{"type":"object","additionalProperties":{"type":"object","required":["checksum","checksum_type","browsable","streaming"],"properties":{"checksum":{"type":"string"},"checksum_type":{"$ref":"#/components/schemas/CompactString"},"browsable":{"type":"boolean"},"streaming":{"type":"boolean"},"adapter":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupAdapter"}]}}},"propertyNames":{"type":"string","format":"uuid"}}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/sftp/auth":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_sftp_auth","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["type","username","password"],"properties":{"type":{"$ref":"#/components/schemas/AuthenticationType"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["user","server","permissions","ignored_files"],"properties":{"user":{"type":"string","format":"uuid"},"server":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"type":"string"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}},"417":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/tunnel/cert":{"post":{"tags":["/api/remote"],"operationId":"post_api_remote_tunnel_cert","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["cert_sha256"],"properties":{"cert_sha256":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/tunnel/connect-token":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_tunnel_connect-token","parameters":[{"name":"target","in":"query","description":"The node being dialled","required":true,"schema":{"type":"string","format":"uuid"},"example":"123e4567-e89b-12d3-a456-426614174000"}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["jwt"],"properties":{"jwt":{"type":"string"}}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}}}},"/api/remote/tunnel/state":{"get":{"tags":["/api/remote"],"operationId":"get_api_remote_tunnel_state","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}}}}},"/api/settings":{"get":{"operationId":"get_api_settings","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","required":["time","disabled_extensions","captcha_provider","app","webauthn","server","user"],"properties":{"time":{"type":"string","format":"date-time"},"oobe_step":{"type":["string","null"]},"disabled_extensions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"captcha_provider":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["site_key","type"],"properties":{"site_key":{"type":"string"},"type":{"type":"string","enum":["turnstile"]}}},{"type":"object","required":["v3","site_key","type"],"properties":{"v3":{"type":"boolean"},"site_key":{"type":"string"},"type":{"type":"string","enum":["recaptcha"]}}},{"type":"object","required":["site_key","type"],"properties":{"site_key":{"type":"string"},"type":{"type":"string","enum":["hcaptcha"]}}},{"type":"object","required":["site_key","type"],"properties":{"site_key":{"type":"string"},"type":{"type":"string","enum":["friendly_captcha"]}}}]},"app":{"type":"object","required":["url","icon","name","language","registration_enabled","email_two_factor_enabled","email_verification_required","two_factor_accepted_methods","debug"],"properties":{"url":{"type":"string"},"icon":{"type":"string"},"icon_light":{"type":["string","null"]},"banner":{"type":["string","null"]},"banner_light":{"type":["string","null"]},"name":{"type":"string"},"language":{"type":"string"},"registration_enabled":{"type":"boolean"},"email_two_factor_enabled":{"type":"boolean"},"email_verification_required":{"type":"boolean"},"two_factor_accepted_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"debug":{"type":"boolean"}}},"webauthn":{"type":"object","required":["enabled","allow_discoverable"],"properties":{"enabled":{"type":"boolean"},"allow_discoverable":{"type":"boolean"}}},"server":{"type":"object","required":["max_file_manager_view_size","max_file_manager_content_search_size","max_file_manager_search_results","max_subuser_count","max_schedule_step_count","max_backup_group_count","max_firewall_rule_count","max_firewall_rule_source_count","max_tunnel_connection_count","max_tunnel_port_count","max_database_instance_database_count","max_database_instance_user_count","allow_overwriting_custom_docker_image","allow_acknowledging_installation_failure","container_prelude"],"properties":{"max_file_manager_view_size":{"type":"integer","format":"int64","minimum":0},"max_file_manager_content_search_size":{"type":"integer","format":"int64","minimum":0},"max_file_manager_search_results":{"type":"integer","format":"int64","minimum":0},"max_subuser_count":{"type":"integer","format":"int64","minimum":0},"max_schedule_step_count":{"type":"integer","format":"int64","minimum":0},"max_backup_group_count":{"type":"integer","format":"int64","minimum":0},"max_firewall_rule_count":{"type":"integer","format":"int64","minimum":0},"max_firewall_rule_source_count":{"type":"integer","format":"int64","minimum":0},"max_tunnel_connection_count":{"type":"integer","format":"int64","minimum":0},"max_tunnel_port_count":{"type":"integer","format":"int64","minimum":0},"max_database_instance_database_count":{"type":"integer","format":"int64","minimum":0},"max_database_instance_user_count":{"type":"integer","format":"int64","minimum":0},"allow_overwriting_custom_docker_image":{"type":"boolean"},"allow_acknowledging_installation_failure":{"type":"boolean"},"container_prelude":{"type":"string"}}},"user":{"type":"object","required":["max_server_group_count","max_api_key_count","max_command_snippet_count","max_security_key_count","max_ssh_key_count","allow_changing_language"],"properties":{"max_server_group_count":{"type":"integer","format":"int64","minimum":0},"max_api_key_count":{"type":"integer","format":"int64","minimum":0},"max_command_snippet_count":{"type":"integer","format":"int64","minimum":0},"max_security_key_count":{"type":"integer","format":"int64","minimum":0},"max_ssh_key_count":{"type":"integer","format":"int64","minimum":0},"allow_changing_language":{"type":"boolean"},"route_order":{"type":["array","null"],"items":{"$ref":"#/components/schemas/RouteOrderItem"}}}}}}}}}}}}},"components":{"schemas":{"AdminApiAdminActivity":{"type":"object","title":"AdminAdminActivity","required":["event","data","is_api","created"],"properties":{"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"AdminApiAnnouncement":{"type":"object","title":"AdminAnnouncement","required":["uuid","type","enabled","dismissible","title","title_translations","content","content_translations","locations","nodes","backup_configurations","eggs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/AnnouncementType"},"enabled":{"type":"boolean"},"enabled_start":{"type":["string","null"],"format":"date-time"},"enabled_end":{"type":["string","null"],"format":"date-time"},"dismissible":{"type":"boolean"},"dismissible_end":{"type":["string","null"],"format":"date-time"},"title":{"$ref":"#/components/schemas/CompactString"},"title_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"content":{"$ref":"#/components/schemas/CompactString"},"content_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"locations":{"type":"array","items":{"type":"string","format":"uuid"}},"nodes":{"type":"array","items":{"type":"string","format":"uuid"}},"backup_configurations":{"type":"array","items":{"type":"string","format":"uuid"}},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"created":{"type":"string","format":"date-time"}}},"AdminApiBackupConfiguration":{"type":"object","title":"BackupConfiguration","required":["uuid","name","maintenance_enabled","shared","backup_disk","backup_configs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"maintenance_enabled":{"type":"boolean"},"shared":{"type":"boolean"},"backup_disk":{"$ref":"#/components/schemas/BackupDisk"},"backup_configs":{"$ref":"#/components/schemas/BackupConfigs"},"created":{"type":"string","format":"date-time"}}},"AdminApiDatabaseAgentHost":{"type":"object","title":"DatabaseAgentHost","required":["uuid","name","deployment_enabled","maintenance_enabled","url","memory","disk","types","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"url":{"type":"string","format":"uri"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"types":{"$ref":"#/components/schemas/DatabaseAgentHostTypes"},"created":{"type":"string","format":"date-time"}}},"AdminApiDatabaseAgentTemplate":{"type":"object","title":"AdminDatabaseAgentTemplate","required":["uuid","name","type","deployment_enabled","docker_images","env","image_uid","image_gid","volumes","socket_path","memory","swap","disk","cpu","version","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"deployment_enabled":{"type":"boolean"},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"image_uid":{"type":"integer","format":"int32"},"image_gid":{"type":"integer","format":"int32"},"cmd":{"type":["array","null"],"items":{"$ref":"#/components/schemas/CompactString"}},"volumes":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"socket_path":{"$ref":"#/components/schemas/CompactString"},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"version":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}},"AdminApiDatabaseHost":{"type":"object","title":"AdminDatabaseHost","required":["uuid","name","deployment_enabled","maintenance_enabled","type","credentials","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseType"},"public_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"public_port":{"type":["integer","null"],"format":"int32"},"credentials":{"$ref":"#/components/schemas/DatabaseCredentials"},"created":{"type":"string","format":"date-time"}}},"AdminApiEggConfiguration":{"type":"object","title":"AdminEggConfiguration","required":["uuid","name","order","eggs","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"order":{"type":"integer","format":"int32"},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"config_allocations":{"oneOf":[{"type":"null"},{"type":"object","properties":{"user_self_assign":{"$ref":"#/components/schemas/EggConfigAllocationsUserSelfAssign"},"deployment":{"$ref":"#/components/schemas/EggConfigAllocationsDeployment"}}}]},"config_startup":{"oneOf":[{"type":"null"},{"type":"object","required":["allow_custom_startup_command"],"properties":{"allow_custom_startup_command":{"type":"boolean"}}}]},"config_routes":{"oneOf":[{"type":"null"},{"type":"object","required":["order"],"properties":{"order":{"type":"array","items":{"$ref":"#/components/schemas/RouteOrderItem"}}}}]},"created":{"type":"string","format":"date-time"}}},"AdminApiEggRepository":{"type":"object","title":"EggRepository","required":["uuid","name","git_repository","credentials","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"git_repository":{"$ref":"#/components/schemas/CompactString"},"credentials":{"$ref":"#/components/schemas/EggRepositoryCredentials"},"last_synced":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"AdminApiEggRepositoryEgg":{"type":"object","title":"EggRepositoryEgg","required":["uuid","path","exported_egg","updated"],"properties":{"uuid":{"type":"string","format":"uuid"},"path":{"type":"string"},"readme":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"exported_egg":{"$ref":"#/components/schemas/ExportedNestEgg"},"updated":{"type":"string","format":"date-time"}}},"AdminApiEmailVariable":{"type":"object","title":"EmailVariable","required":["name","system","default_translations","value_translations"],"properties":{"template_identifier":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"$ref":"#/components/schemas/CompactString"},"system":{"type":"boolean"},"default_value":{"type":["string","null"]},"default_translations":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}},"value":{"type":["string","null"]},"value_translations":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}}}},"AdminApiLocation":{"type":"object","title":"Location","required":["uuid","name","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"AdminApiLocationDatabaseAgentHost":{"type":"object","title":"LocationDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}},"AdminApiLocationDatabaseHost":{"type":"object","title":"LocationDatabaseHost","required":["database_host","created"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"created":{"type":"string","format":"date-time"}}},"AdminApiMount":{"type":"object","title":"Mount","required":["uuid","name","source","target","read_only","user_mountable","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"source":{"$ref":"#/components/schemas/CompactString"},"target":{"$ref":"#/components/schemas/CompactString"},"read_only":{"type":"boolean"},"user_mountable":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"AdminApiNest":{"type":"object","title":"Nest","required":["uuid","name","author","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"author":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"AdminApiNestEgg":{"type":"object","title":"AdminNestEgg","required":["uuid","name","author","config_files","config_startup","config_stop","config_script","startup_commands","force_outgoing_ip","separate_port","features","docker_images","file_denylist","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"egg_repository_egg":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiEggEggRepositoryEgg"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"author":{"$ref":"#/components/schemas/CompactString"},"config_files":{"type":"array","items":{"type":"object","required":["file","parser","replace"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}}},"config_startup":{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}},"config_stop":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}},"config_script":{"type":"object","required":["container","entrypoint","content"],"properties":{"container":{"$ref":"#/components/schemas/CompactString"},"entrypoint":{"$ref":"#/components/schemas/CompactString"},"content":{"type":"string"}}},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"force_outgoing_ip":{"type":"boolean"},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"file_denylist":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}},"AdminApiNestEggMount":{"type":"object","title":"AdminNestEggMount","required":["mount","created"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":"string","format":"date-time"}}},"AdminApiNestEggNestEggMount":{"type":"object","title":"AdminNestEggNestEggMount","required":["nest","nest_egg","created"],"properties":{"nest":{"$ref":"#/components/schemas/AdminApiNest"},"nest_egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"created":{"type":"string","format":"date-time"}}},"AdminApiNestEggVariable":{"type":"object","title":"NestEggVariable","required":["uuid","name","name_translations","description_translations","order","env_variable","user_viewable","user_editable","is_secret","rules","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"order":{"type":"integer","format":"int32"},"env_variable":{"$ref":"#/components/schemas/CompactString"},"default_value":{"type":["string","null"]},"user_viewable":{"type":"boolean"},"user_editable":{"type":"boolean"},"is_secret":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}},"AdminApiNode":{"type":"object","title":"Node","required":["uuid","location","name","deployment_enabled","maintenance_enabled","url","sftp_port","memory","disk","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"location":{"$ref":"#/components/schemas/AdminApiLocation"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"deployment_enabled":{"type":"boolean"},"maintenance_enabled":{"type":"boolean"},"public_url":{"type":["string","null"],"format":"uri"},"url":{"type":"string","format":"uri"},"sftp_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"sftp_port":{"type":"integer","format":"int32"},"memory":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeAllocation":{"type":"object","title":"NodeAllocation","required":["uuid","ip","port","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeDatabaseAgentHost":{"type":"object","title":"NodeDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeDatabaseHost":{"type":"object","title":"NodeDatabaseHost","required":["database_host","created"],"properties":{"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeMount":{"type":"object","title":"AdminNodeMount","required":["mount","created"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeNodeMount":{"type":"object","title":"AdminNodeNodeMount","required":["node","created"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeServerBackup":{"type":"object","title":"AdminNodeServerBackup","required":["uuid","node","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"AdminApiNodeTunnel":{"type":"object","title":"AdminNodeTunnel","required":["host","port","created"],"properties":{"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32","minimum":0},"cert_sha256":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"AdminApiOAuthProvider":{"type":"object","title":"AdminOAuthProvider","required":["uuid","name","client_id","client_secret","auth_url","token_url","info_url","scopes","identifier_path","enabled","login_only","login_bypass_two_factor","link_viewable","user_manageable","basic_auth","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"client_id":{"$ref":"#/components/schemas/CompactString"},"client_secret":{"$ref":"#/components/schemas/CompactString"},"auth_url":{"type":"string"},"token_url":{"type":"string"},"info_url":{"type":"string"},"scopes":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"identifier_path":{"type":"string"},"email_path":{"type":["string","null"]},"username_path":{"type":["string","null"]},"name_first_path":{"type":["string","null"]},"name_last_path":{"type":["string","null"]},"enabled":{"type":"boolean"},"login_only":{"type":"boolean"},"login_bypass_two_factor":{"type":"boolean"},"link_viewable":{"type":"boolean"},"user_manageable":{"type":"boolean"},"basic_auth":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"AdminApiOAuthProviderMapping":{"type":"object","title":"AdminOAuthProviderMapping","required":["uuid","matcher","mapping","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"matcher":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"},"mapping":{"$ref":"#/components/schemas/OAuthProviderMappingType"},"created":{"type":"string","format":"date-time"}}},"AdminApiRole":{"type":"object","title":"Role","required":["uuid","name","require_two_factor","admin_permissions","server_permissions","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"require_two_factor":{"type":"boolean"},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}},"AdminApiServer":{"type":"object","title":"AdminServer","required":["uuid","uuid_short","node","owner","egg","nest","is_suspended","is_transferring","name","limits","pinned_cpus","feature_limits","startup","image","auto_kill","auto_start_behavior","hugepages_passthrough_enabled","kvm_passthrough_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"node":{"$ref":"#/components/schemas/AdminApiNode"},"owner":{"$ref":"#/components/schemas/AdminApiUser"},"egg":{"$ref":"#/components/schemas/AdminApiNestEgg"},"nest":{"$ref":"#/components/schemas/AdminApiNest"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"pinned_cpus":{"type":"array","items":{"type":"integer","format":"int32"}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerBackup":{"type":"object","title":"AdminServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","is_shared","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiServer"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"system_backup_policy_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"is_shared":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerDatabase":{"type":"object","title":"AdminServerDatabase","required":["uuid","server","type","host","port","name","is_locked","username","password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"$ref":"#/components/schemas/AdminApiServer"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerDatabaseInstance":{"type":"object","title":"AdminServerDatabaseInstance","required":["uuid","server","update_available","type","name","is_locked","env","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"server":{"$ref":"#/components/schemas/AdminApiServer"},"database_agent_template":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}]},"template_version":{"type":["integer","null"],"format":"int32"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image_override":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_overrides":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"memory_override":{"type":["integer","null"],"format":"int64"},"swap_override":{"type":["integer","null"],"format":"int64"},"disk_override":{"type":["integer","null"],"format":"int64"},"io_weight_override":{"type":["integer","null"],"format":"int32"},"cpu_override":{"type":["integer","null"],"format":"int32"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerLimits":{"type":"object","required":["cpu","memory","memory_overhead","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"memory_overhead":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0},"io_weight":{"type":["integer","null"],"format":"int32","maximum":1000,"minimum":0}}},"AdminApiServerMount":{"type":"object","title":"AdminServerMount","required":["mount"],"properties":{"mount":{"$ref":"#/components/schemas/AdminApiMount"},"created":{"type":["string","null"],"format":"date-time"}}},"AdminApiServerServerDatabase":{"type":"object","title":"AdminServerServerDatabase","required":["uuid","database_host","type","host","port","name","is_locked","username","password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"database_host":{"$ref":"#/components/schemas/AdminApiDatabaseHost"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerServerDatabaseInstance":{"type":"object","title":"AdminServerServerDatabaseInstance","required":["uuid","database_agent_host","update_available","type","name","is_locked","env","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"database_agent_template":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiDatabaseAgentTemplate"}]},"template_version":{"type":["integer","null"],"format":"int32"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"image":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"image_override":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"env":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_overrides":{"type":["object","null"],"additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"memory_override":{"type":["integer","null"],"format":"int64"},"swap_override":{"type":["integer","null"],"format":"int64"},"disk_override":{"type":["integer","null"],"format":"int64"},"io_weight_override":{"type":["integer","null"],"format":"int32"},"cpu_override":{"type":["integer","null"],"format":"int32"},"created":{"type":"string","format":"date-time"}}},"AdminApiServerServerMount":{"type":"object","title":"AdminServerServerMount","required":["server","created"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"},"created":{"type":"string","format":"date-time"}}},"AdminApiSystemBackupPolicy":{"type":"object","title":"SystemBackupPolicy","required":["uuid","name","enabled","kind","cron","retention","parallelism","total_nodes","total_database_agent_hosts","total_locations","total_servers","total_backups","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_configuration":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiBackupConfiguration"}]},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"enabled":{"type":"boolean"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"cron":{"type":"string","example":"0 0 0 * * *"},"retention":{"$ref":"#/components/schemas/BackupRetention"},"parallelism":{"type":"integer","format":"int32"},"triggered":{"type":["string","null"],"format":"date-time"},"total_nodes":{"type":"integer","format":"int64"},"total_database_agent_hosts":{"type":"integer","format":"int64"},"total_locations":{"type":"integer","format":"int64"},"total_servers":{"type":"integer","format":"int64"},"total_backups":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}},"AdminApiSystemBackupPolicyDatabaseAgentHost":{"type":"object","title":"SystemBackupPolicyDatabaseAgentHost","required":["database_agent_host","created"],"properties":{"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"},"created":{"type":"string","format":"date-time"}}},"AdminApiSystemBackupPolicyLocation":{"type":"object","title":"SystemBackupPolicyLocation","required":["location","created"],"properties":{"location":{"$ref":"#/components/schemas/AdminApiLocation"},"created":{"type":"string","format":"date-time"}}},"AdminApiSystemBackupPolicyNode":{"type":"object","title":"SystemBackupPolicyNode","required":["node","created"],"properties":{"node":{"$ref":"#/components/schemas/AdminApiNode"},"created":{"type":"string","format":"date-time"}}},"AdminApiSystemBackupPolicyServer":{"type":"object","title":"SystemBackupPolicyServer","required":["server","created"],"properties":{"server":{"$ref":"#/components/schemas/AdminApiServer"},"created":{"type":"string","format":"date-time"}}},"AdminApiUser":{"type":"object","title":"AdminUser","required":["uuid","username","email","admin","frozen","suspended","totp_enabled","email_two_factor_enabled","two_factor_methods","require_two_factor","two_factor_satisfied","email_verified","require_email_verification","password_login_disabled","language","has_password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"external_id":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"username":{"$ref":"#/components/schemas/CompactString"},"role":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiRole"}]},"avatar":{"type":["string","null"]},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"admin":{"type":"boolean"},"frozen":{"type":"boolean"},"suspended":{"type":"boolean"},"totp_enabled":{"type":"boolean"},"totp_last_used":{"type":["string","null"],"format":"date-time"},"email_two_factor_enabled":{"type":"boolean"},"two_factor_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"require_two_factor":{"type":"boolean"},"two_factor_satisfied":{"type":"boolean"},"email_verified":{"type":"boolean"},"require_email_verification":{"type":"boolean"},"password_login_disabled":{"type":"boolean"},"language":{"$ref":"#/components/schemas/CompactString"},"has_password":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"AdminApiUserOAuthLink":{"type":"object","title":"AdminUserOAuthLink","required":["uuid","user","identifier","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"user":{"$ref":"#/components/schemas/AdminApiUser"},"identifier":{"$ref":"#/components/schemas/CompactString"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"AllocationFilter":{"type":"object","properties":{"search":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"ip":{"type":["string","null"]},"port_from":{"type":["integer","null"],"format":"int32","maximum":65535,"minimum":1},"port_to":{"type":["integer","null"],"format":"int32","maximum":65535,"minimum":1},"assigned":{"type":["boolean","null"]}}},"AllocationSelector":{"oneOf":[{"type":"object","required":["uuids","type"],"properties":{"uuids":{"type":"array","items":{"type":"string","format":"uuid"}},"type":{"type":"string","enum":["uuids"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}}},{"type":"object","required":["filter","type"],"properties":{"filter":{"$ref":"#/components/schemas/AllocationFilter"},"type":{"type":"string","enum":["filter"]}}}]},"AnnouncementType":{"type":"string","enum":["info","success","warning","error"]},"ApiAnnouncement":{"type":"object","title":"ApiAnnouncement","required":["uuid","type","dismissible","title","title_translations","content","content_translations"],"properties":{"uuid":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/AnnouncementType"},"dismissible":{"type":"boolean"},"dismissible_end":{"type":["string","null"],"format":"date-time"},"title":{"$ref":"#/components/schemas/CompactString"},"title_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"content":{"$ref":"#/components/schemas/CompactString"},"content_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}}}},"ApiDatabaseAgentTemplate":{"type":"object","title":"DatabaseAgentTemplate","required":["uuid","name","type","docker_images","memory","swap","disk","cpu","version","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"version":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}},"ApiDatabaseHost":{"type":"object","title":"DatabaseHost","required":["uuid","name","maintenance_enabled","type","host","port"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"maintenance_enabled":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"}}},"ApiError":{"type":"object","required":["errors"],"properties":{"errors":{"type":"array","items":{"type":"string"}}}},"ApiFullUser":{"type":"object","title":"FullUser","required":["uuid","username","email","admin","frozen","suspended","totp_enabled","email_two_factor_enabled","two_factor_methods","require_two_factor","two_factor_satisfied","email_verified","require_email_verification","password_login_disabled","language","has_password","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"username":{"$ref":"#/components/schemas/CompactString"},"role":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AdminApiRole"}]},"avatar":{"type":["string","null"]},"email":{"$ref":"#/components/schemas/CompactString"},"name_first":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_last":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"admin":{"type":"boolean"},"frozen":{"type":"boolean"},"suspended":{"type":"boolean"},"totp_enabled":{"type":"boolean"},"totp_last_used":{"type":["string","null"],"format":"date-time"},"email_two_factor_enabled":{"type":"boolean"},"two_factor_methods":{"type":"array","items":{"$ref":"#/components/schemas/TwoFactorMethod"}},"require_two_factor":{"type":"boolean"},"two_factor_satisfied":{"type":"boolean"},"email_verified":{"type":"boolean"},"require_email_verification":{"type":"boolean"},"password_login_disabled":{"type":"boolean"},"language":{"$ref":"#/components/schemas/CompactString"},"has_password":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"ApiNestEgg":{"type":"object","title":"NestEgg","required":["uuid","name","startup_commands","separate_port","features","docker_images","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"created":{"type":"string","format":"date-time"}}},"ApiOAuthProvider":{"type":"object","title":"OAuthProvider","required":["uuid","name","link_viewable","user_manageable"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"link_viewable":{"type":"boolean"},"user_manageable":{"type":"boolean"}}},"ApiServer":{"type":"object","title":"Server","required":["uuid","uuid_short","egg","egg_configuration","is_owner","is_suspended","is_transferring","permissions","ignored_files","location_uuid","location_name","node_uuid","node_name","node_maintenance_enabled","sftp_host","sftp_port","name","limits","feature_limits","startup","image","auto_kill","auto_start_behavior","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"uuid_short":{"$ref":"#/components/schemas/CompactString"},"allocation":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiServerAllocation"}]},"egg":{"$ref":"#/components/schemas/ApiNestEgg"},"egg_configuration":{"$ref":"#/components/schemas/ApiEggConfiguration"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerStatus"}]},"is_owner":{"type":"boolean"},"is_suspended":{"type":"boolean"},"is_transferring":{"type":"boolean"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"location_uuid":{"type":"string","format":"uuid"},"location_name":{"$ref":"#/components/schemas/CompactString"},"location_flag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"node_uuid":{"type":"string","format":"uuid"},"node_name":{"$ref":"#/components/schemas/CompactString"},"node_maintenance_enabled":{"type":"boolean"},"sftp_host":{"$ref":"#/components/schemas/CompactString"},"sftp_port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"limits":{"type":"object","required":["cpu","memory","swap","disk"],"properties":{"cpu":{"type":"integer","format":"int32","minimum":0},"memory":{"type":"integer","format":"int64","minimum":0},"swap":{"type":"integer","format":"int64","minimum":-1},"disk":{"type":"integer","format":"int64","minimum":0}}},"feature_limits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"startup":{"$ref":"#/components/schemas/CompactString"},"image":{"$ref":"#/components/schemas/CompactString"},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"$ref":"#/components/schemas/ServerAutoStartBehavior"},"timezone":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"ApiServerActivity":{"type":"object","title":"ServerActivity","required":["event","data","is_api","is_schedule","created"],"properties":{"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"is_schedule":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"ApiServerAllocation":{"type":"object","title":"ServerAllocation","required":["uuid","ip","port","is_primary","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"ip":{"$ref":"#/components/schemas/CompactString"},"ip_alias":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":"integer","format":"int32"},"notes":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"is_primary":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"ApiServerBackup":{"type":"object","title":"ServerBackup","required":["uuid","kind","name","ignored_files","is_successful","is_locked","is_browsable","is_streaming","bytes","files","metadata","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"kind":{"$ref":"#/components/schemas/ServerBackupKind"},"database_type":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/DatabaseAgentType"}]},"name":{"$ref":"#/components/schemas/CompactString"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"is_successful":{"type":"boolean"},"is_locked":{"type":"boolean"},"is_browsable":{"type":"boolean"},"is_streaming":{"type":"boolean"},"checksum":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"bytes":{"type":"integer","format":"int64"},"files":{"type":"integer","format":"int64"},"metadata":{},"deletion_status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerBackupDeletionStatus"}]},"completed":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiServerBackupGroup":{"type":"object","title":"ServerBackupGroup","required":["uuid","name","order","retention","total_backups","usable_backups","usable_unlocked_backups","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"order":{"type":"integer","format":"int32"},"retention":{"$ref":"#/components/schemas/BackupRetention"},"total_backups":{"type":"integer","format":"int64"},"usable_backups":{"type":"integer","format":"int64"},"usable_unlocked_backups":{"type":"integer","format":"int64"},"created":{"type":"string","format":"date-time"}}},"ApiServerDatabase":{"type":"object","title":"ServerDatabase","required":["uuid","type","host","port","name","is_locked","username","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"type":{"$ref":"#/components/schemas/DatabaseType"},"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"ApiServerDatabaseInstance":{"type":"object","title":"ServerDatabaseInstance","required":["uuid","update_available","type","name","is_locked","memory","swap","disk","cpu","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"update_available":{"type":"boolean"},"type":{"$ref":"#/components/schemas/DatabaseAgentType"},"host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"port":{"type":["integer","null"],"format":"int32"},"name":{"$ref":"#/components/schemas/CompactString"},"is_locked":{"type":"boolean"},"status":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ServerDatabaseInstanceStatus"}]},"memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"disk":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32"},"cpu":{"type":"integer","format":"int32"},"created":{"type":"string","format":"date-time"}}},"ApiServerDatabaseInstanceDatabase":{"type":"object","title":"ServerDatabaseInstanceDatabase","required":["uuid","name","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"ApiServerDatabaseInstanceUser":{"type":"object","title":"ServerDatabaseInstanceUser","required":["uuid","username","password","databases"],"properties":{"uuid":{"type":"string","format":"uuid"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"databases":{"type":"array","items":{"$ref":"#/components/schemas/ApiServerDatabaseInstanceUserDatabase"}}}},"ApiServerDatabaseInstanceUserDatabase":{"type":"object","title":"ServerDatabaseInstanceUserDatabase","required":["database_uuid","permission","created"],"properties":{"database_uuid":{"type":"string","format":"uuid"},"permission":{"$ref":"#/components/schemas/DatabasePermission"},"created":{"type":"string","format":"date-time"}}},"ApiServerFeatureLimits":{"type":"object","title":"ApiServerFeatureLimits","required":["allocations","databases","backups","schedules"],"properties":{"allocations":{"type":"integer","format":"int32","minimum":0},"databases":{"type":"integer","format":"int32","minimum":0},"backups":{"type":"integer","format":"int32","minimum":0},"schedules":{"type":"integer","format":"int32","minimum":0}}},"ApiServerMount":{"type":"object","title":"ServerMount","required":["uuid","name","target","read_only"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"target":{"$ref":"#/components/schemas/CompactString"},"read_only":{"type":"boolean"},"created":{"type":["string","null"],"format":"date-time"}}},"ApiServerSchedule":{"type":"object","title":"ServerSchedule","required":["uuid","name","enabled","triggers","condition","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"enabled":{"type":"boolean"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleTrigger"}},"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"last_run":{"type":["string","null"],"format":"date-time"},"last_failure":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiServerScheduleStep":{"type":"object","title":"ServerScheduleStep","required":["uuid","action","order","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"action":{"$ref":"#/components/schemas/ScheduleActionInner"},"order":{"type":"integer","format":"int32"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"ApiServerSubuser":{"type":"object","title":"ServerSubuser","required":["user","permissions","ignored_files","created"],"properties":{"user":{"$ref":"#/components/schemas/ApiUser"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}},"ApiServerTunnel":{"type":"object","title":"ServerTunnel","required":["name","alias","created"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"alias":{"$ref":"#/components/schemas/CompactString"},"address":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"created":{"type":"string","format":"date-time"}}},"ApiServerVariable":{"type":"object","title":"ServerVariable","required":["name","name_translations","description_translations","env_variable","value","is_editable","is_secret","rules","created"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"env_variable":{"$ref":"#/components/schemas/CompactString"},"default_value":{"type":["string","null"]},"value":{"type":"string"},"is_editable":{"type":"boolean"},"is_secret":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"created":{"type":"string","format":"date-time"}}},"ApiUser":{"type":"object","title":"User","required":["uuid","username","totp_enabled","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"username":{"$ref":"#/components/schemas/CompactString"},"avatar":{"type":["string","null"]},"totp_enabled":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"ApiUserActivity":{"type":"object","title":"UserActivity","required":["event","data","is_api","created"],"properties":{"impersonator":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"event":{"$ref":"#/components/schemas/CompactString"},"ip":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"data":{},"is_api":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"ApiUserApiKey":{"type":"object","title":"UserApiKey","required":["uuid","name","key_start","allowed_ips","enabled","user_permissions","admin_permissions","server_permissions","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"key_start":{"$ref":"#/components/schemas/CompactString"},"allowed_ips":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"user_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"admin_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"server_permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"last_used":{"type":["string","null"],"format":"date-time"},"expires":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiUserCommandSnippet":{"type":"object","title":"UserCommandSnippet","required":["uuid","name","eggs","command","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"eggs":{"type":"array","items":{"type":"string","format":"uuid"}},"command":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"ApiUserOAuthLink":{"type":"object","title":"UserOAuthLink","required":["uuid","oauth_provider","identifier","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"oauth_provider":{"$ref":"#/components/schemas/ApiOAuthProvider"},"identifier":{"$ref":"#/components/schemas/CompactString"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiUserSecurityKey":{"type":"object","title":"UserSecurityKey","required":["uuid","name","credential_id","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"credential_id":{"type":"string"},"last_used":{"type":["string","null"],"format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiUserServerGroup":{"type":"object","title":"UserServerGroup","required":["uuid","name","order","server_order","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"order":{"type":"integer","format":"int32"},"server_order":{"type":"array","items":{"type":"string","format":"uuid"}},"created":{"type":"string","format":"date-time"}}},"ApiUserSession":{"type":"object","title":"UserSession","required":["uuid","ip","user_agent","is_using","last_used","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"ip":{"$ref":"#/components/schemas/CompactString"},"user_agent":{"$ref":"#/components/schemas/CompactString"},"is_using":{"type":"boolean"},"last_used":{"type":"string","format":"date-time"},"created":{"type":"string","format":"date-time"}}},"ApiUserSshKey":{"type":"object","title":"UserSshKey","required":["uuid","name","fingerprint","created"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"$ref":"#/components/schemas/CompactString"},"created":{"type":"string","format":"date-time"}}},"AppContainerType":{"type":"string","enum":["official","official_a_i_o","official_heavy","official_heavy_a_i_o","unknown","none"]},"ArchiveFormat":{"type":"string","enum":["tar","tar_gz","tar_xz","tar_lzip","tar_bz2","tar_lz4","tar_zstd","zip","seven_zip"]},"AuthenticationType":{"type":"string","enum":["password","public_key"]},"BackupAdapter":{"type":"string","enum":["wings","s3","ddup-bak","btrfs","zfs","restic","proxmox-backup-server","kopia"]},"BackupConfigKopia":{"type":"object","required":["url","username","password","tags"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"tags":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}}}},"BackupConfigs":{"type":"object","properties":{"s3":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupConfigsS3"}]},"restic":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupConfigsRestic"}]},"pbs":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupConfigsPbs"}]},"kopia":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BackupConfigKopia"}]}}},"BackupConfigsPbs":{"type":"object","required":["url","datastore","token_id","token_secret"],"properties":{"url":{"$ref":"#/components/schemas/CompactString"},"datastore":{"$ref":"#/components/schemas/CompactString"},"namespace":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"token_id":{"$ref":"#/components/schemas/CompactString"},"token_secret":{"$ref":"#/components/schemas/CompactString"},"fingerprint":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"backup_id_prefix":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}},"BackupConfigsRestic":{"type":"object","required":["repository","retry_lock_seconds","environment"],"properties":{"repository":{"$ref":"#/components/schemas/CompactString"},"retry_lock_seconds":{"type":"integer","format":"int64","minimum":0},"environment":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"prune_jobs":{"type":"array","items":{"type":"object","required":["cron","nodes"],"properties":{"cron":{"type":"string","example":"0 0 0 * * *"},"nodes":{"type":"array","items":{"type":"string","format":"uuid"}}}},"maxItems":50}}},"BackupConfigsS3":{"type":"object","required":["access_key","secret_key","bucket","region","endpoint","path_style","part_size"],"properties":{"access_key":{"$ref":"#/components/schemas/CompactString"},"secret_key":{"$ref":"#/components/schemas/CompactString"},"bucket":{"$ref":"#/components/schemas/CompactString"},"region":{"$ref":"#/components/schemas/CompactString"},"endpoint":{"$ref":"#/components/schemas/CompactString"},"path_style":{"type":"boolean"},"compression_type":{"$ref":"#/components/schemas/CompressionType"},"part_size":{"type":"integer","format":"int64","minimum":0}}},"BackupDisk":{"type":"string","enum":["local","s3","ddup-bak","btrfs","zfs","restic","proxmox-backup-server","kopia"]},"BackupRetention":{"type":"object","properties":{"count":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0},"days":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0},"daily":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0},"weekly":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0},"monthly":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0},"yearly":{"type":"integer","format":"int32","default":0,"maximum":2147483647,"minimum":0}}},"BrowseFilter":{"type":"object","required":["column","operator"],"properties":{"column":{"$ref":"#/components/schemas/CompactString"},"operator":{"$ref":"#/components/schemas/FilterOperator"},"value":{"type":["string","null"],"maxLength":4096}}},"BuildPhase":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["preparing"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["clearing"]}}},{"type":"object","required":["done","total","type"],"properties":{"done":{"type":"integer","format":"int32","minimum":0},"total":{"type":"integer","format":"int32","minimum":0},"type":{"type":"string","enum":["adding"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["resync"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["staging_translations"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["building"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["verifying"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["installing"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["restarting"]}}}]},"CaptchaProvider":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["site_key","secret_key","type"],"properties":{"site_key":{"$ref":"#/components/schemas/CompactString"},"secret_key":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["turnstile"]}}},{"type":"object","required":["v3","site_key","secret_key","type"],"properties":{"v3":{"type":"boolean"},"site_key":{"$ref":"#/components/schemas/CompactString"},"secret_key":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["recaptcha"]}}},{"type":"object","required":["site_key","secret_key","type"],"properties":{"site_key":{"$ref":"#/components/schemas/CompactString"},"secret_key":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["hcaptcha"]}}},{"type":"object","required":["site_key","api_key","type"],"properties":{"site_key":{"$ref":"#/components/schemas/CompactString"},"api_key":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["friendly_captcha"]}}}]},"ColumnDefinition":{"type":"object","required":["name","type"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"type":{"$ref":"#/components/schemas/CompactString"},"nullable":{"type":"boolean"},"primary_key":{"type":"boolean"},"auto_increment":{"type":"boolean"}}},"CompactString":{"type":"string"},"CompressionLevel":{"type":"string","enum":["best_speed","good_speed","good_compression","best_compression"]},"CompressionType":{"type":"string","enum":["none","gz","xz","lzip","bz2","lz4","zstd"]},"ConstructedExtension":{"type":"object","required":["metadata_toml","package_name","description","authors","version"],"properties":{"metadata_toml":{"$ref":"#/components/schemas/MetadataToml"},"package_name":{"type":"string"},"description":{"type":"string"},"authors":{"type":"array","items":{"type":"string"}},"version":{"type":"string"}}},"ContentMatches":{"type":"object","required":["file","truncated","blocks"],"properties":{"file":{"type":"string"},"truncated":{"type":"boolean"},"blocks":{"type":"array","items":{"type":"object","required":["start_line","end_line","content","matches"],"properties":{"start_line":{"type":"integer","format":"int64","minimum":0},"end_line":{"type":"integer","format":"int64","minimum":0},"content":{"type":"string"},"matches":{"type":"array","items":{"type":"object","required":["start_byte","end_byte"],"properties":{"start_byte":{"type":"integer","format":"int64","minimum":0},"end_byte":{"type":"integer","format":"int64","minimum":0}}}}}}}}},"CreateServerTunnelPortOptions":{"type":"object","required":["port","protocols"],"properties":{"port":{"type":"integer","format":"int32","minimum":1},"protocols":{"type":"array","items":{"$ref":"#/components/schemas/TunnelProtocol"},"uniqueItems":true}}},"DatabaseAgentHostTypeSettings":{"type":"object","properties":{"enabled":{"type":"boolean"},"public_host":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"public_port":{"type":["integer","null"],"format":"int32","minimum":1}}},"DatabaseAgentHostTypes":{"type":"object","properties":{"postgres":{"$ref":"#/components/schemas/DatabaseAgentHostTypeSettings"},"mariadb":{"$ref":"#/components/schemas/DatabaseAgentHostTypeSettings"},"mongodb":{"$ref":"#/components/schemas/DatabaseAgentHostTypeSettings"},"redis":{"$ref":"#/components/schemas/DatabaseAgentHostTypeSettings"}}},"DatabaseAgentType":{"type":"string","enum":["postgres","mariadb","mongodb","redis"]},"DatabaseCredentials":{"oneOf":[{"type":"object","required":["connection_string","type"],"properties":{"connection_string":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["connection_string"]}}},{"type":"object","required":["host","port","username","password","type"],"properties":{"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32","minimum":1},"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["details"]}}}]},"DatabasePermission":{"type":"string","enum":["none","read_only","read_write"]},"DatabaseType":{"type":"string","enum":["mysql","postgres","mongodb"]},"DirectoryEntry":{"type":"object","required":["name","mode","mode_bits","size","size_physical","editable","inner_editable","directory","file","symlink","virtual","mime","created","modified"],"properties":{"name":{"type":"string"},"mode":{"type":"string"},"mode_bits":{"type":"string"},"size":{"type":"integer","format":"int64","minimum":0},"size_physical":{"type":"integer","format":"int64","minimum":0},"editable":{"type":"boolean"},"inner_editable":{"type":"boolean"},"directory":{"type":"boolean"},"file":{"type":"boolean"},"symlink":{"type":"boolean"},"virtual":{"type":"boolean"},"mime":{"type":"string"},"created":{"type":"string","format":"date-time"},"modified":{"type":"string","format":"date-time"}}},"EggConfigAllocationsDeployment":{"type":"object","required":["dedicated","additional"],"properties":{"dedicated":{"type":"boolean"},"primary":{"oneOf":[{"type":"null"},{"type":"object","required":["start_port","end_port"],"properties":{"start_port":{"type":"integer","format":"int32","minimum":0},"end_port":{"type":"integer","format":"int32","minimum":0},"assign_to_variable":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}]},"additional":{"type":"array","items":{"type":"object","required":["mode"],"properties":{"mode":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["random"]}}},{"type":"object","required":["start_port","end_port","type"],"properties":{"start_port":{"type":"integer","format":"int32","minimum":0},"end_port":{"type":"integer","format":"int32","minimum":0},"type":{"type":"string","enum":["range"]}}},{"type":"object","required":["value","type"],"properties":{"value":{"type":"integer","format":"int32","minimum":0},"type":{"type":"string","enum":["add_primary"]}}},{"type":"object","required":["value","type"],"properties":{"value":{"type":"integer","format":"int32","minimum":0},"type":{"type":"string","enum":["subtract_primary"]}}},{"type":"object","required":["value","type"],"properties":{"value":{"type":"number","format":"double"},"type":{"type":"string","enum":["multiply_primary"]}}},{"type":"object","required":["value","type"],"properties":{"value":{"type":"number","format":"double"},"type":{"type":"string","enum":["divide_primary"]}}}]},"assign_to_variable":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}}},"EggConfigAllocationsUserSelfAssign":{"type":"object","required":["enabled","require_primary_allocation","start_port","end_port"],"properties":{"enabled":{"type":"boolean"},"require_primary_allocation":{"type":"boolean"},"start_port":{"type":"integer","format":"int32","minimum":0},"end_port":{"type":"integer","format":"int32","minimum":0}}},"EggRepositoryCredentials":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["username","password","type"],"properties":{"username":{"$ref":"#/components/schemas/CompactString"},"password":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["password"]}}},{"type":"object","required":["username","private_key","type"],"properties":{"username":{"$ref":"#/components/schemas/CompactString"},"private_key":{"type":"string","maxLength":16384,"minLength":1},"passphrase":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"type":"string","enum":["private_key"]}}}]},"ExportedNestEgg":{"type":"object","required":["name","author","config","scripts","startup_commands","docker_images","variables"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"author":{"$ref":"#/components/schemas/CompactString"},"config":{"type":"object","properties":{"files":{"type":"object","additionalProperties":{"type":"object","required":["parser","replace"],"properties":{"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}},"propertyNames":{"type":"string"}},"startup":{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}},"stop":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}}}},"scripts":{"type":"object","required":["installation"],"properties":{"installation":{"type":"object","required":["container","entrypoint","content"],"properties":{"container":{"$ref":"#/components/schemas/CompactString"},"entrypoint":{"$ref":"#/components/schemas/CompactString"},"content":{"type":"string"}}}}},"startup_commands":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"force_outgoing_ip":{"type":"boolean"},"separate_port":{"type":"boolean"},"features":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"docker_images":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"file_denylist":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"variables":{"type":"array","items":{"type":"object","required":["name","env_variable","user_viewable","user_editable"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"description":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"description_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"order":{"type":"integer","format":"int32"},"env_variable":{"$ref":"#/components/schemas/CompactString"},"default_value":{"type":["string","null"],"maxLength":1024},"user_viewable":{"type":"boolean"},"user_editable":{"type":"boolean"},"secret":{"type":"boolean"},"rules":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}}}}}}},"ExportedServerSchedule":{"type":"object","required":["name","enabled","triggers","condition","steps"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"enabled":{"type":"boolean"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleTrigger"}},"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"steps":{"type":"array","items":{"$ref":"#/components/schemas/ExportedServerScheduleStep"}}}},"ExportedServerScheduleStep":{"type":"object","required":["action","order"],"properties":{"action":{"$ref":"#/components/schemas/ScheduleActionInner"},"order":{"type":"integer","format":"int32"}}},"ExtensionUpdateCheckResult":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["no_update"]}}},{"type":"object","required":["version","latest_version","changes","type"],"properties":{"version":{"type":"string"},"latest_version":{"type":"string"},"changes":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"type":{"type":"string","enum":["update_available"]}}},{"type":"object","required":["error","type"],"properties":{"error":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["error"]}}}]},"FilterOperator":{"type":"string","enum":["eq","ne","lt","lte","gt","gte","contains","starts_with","ends_with","is_null","not_null"]},"FirewallRule":{"type":"object","required":["action"],"properties":{"action":{"$ref":"#/components/schemas/FirewallRuleAction"},"protocols":{"type":"array","items":{"$ref":"#/components/schemas/FirewallRuleProtocol"},"uniqueItems":true},"sources":{"type":"array","items":{"type":"string"}},"ports":{"type":["array","null"],"items":{"type":"integer","format":"int32","minimum":0},"maxItems":1024,"minItems":1},"source_file":{"type":["string","null"],"maxLength":512,"minLength":1}}},"FirewallRuleAction":{"type":"string","enum":["allow","deny"]},"FirewallRuleProtocol":{"type":"string","enum":["tcp","udp"]},"InstanceSelector":{"oneOf":[{"type":"object","required":["uuids","type"],"properties":{"uuids":{"type":"array","items":{"type":"string","format":"uuid"},"uniqueItems":true},"type":{"type":"string","enum":["uuids"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["outdated"]}}}]},"MailMode":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["host","port","tls_mode","from_address","type"],"properties":{"host":{"$ref":"#/components/schemas/CompactString"},"port":{"type":"integer","format":"int32","minimum":0},"username":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"password":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"tls_mode":{"$ref":"#/components/schemas/TlsMode"},"skip_cert_validation":{"type":"boolean"},"helo_domain":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"from_address":{"$ref":"#/components/schemas/CompactString"},"from_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"type":"string","enum":["smtp"]}}},{"type":"object","required":["command","from_address","type"],"properties":{"command":{"$ref":"#/components/schemas/CompactString"},"from_address":{"$ref":"#/components/schemas/CompactString"},"from_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"type":"string","enum":["sendmail"]}}},{"type":"object","required":["path","from_address","type"],"properties":{"path":{"$ref":"#/components/schemas/CompactString"},"from_address":{"$ref":"#/components/schemas/CompactString"},"from_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"type":{"type":"string","enum":["filesystem"]}}}]},"MassTransferAllocationMode":{"type":"string","enum":["none","random_primary","random_all","preserve_ports","egg_config_deployment","egg_config_self_assign_range"]},"MetadataToml":{"type":"object","required":["package_name","name","panel_version"],"properties":{"package_name":{"type":"string"},"name":{"type":"string"},"panel_version":{"type":"string"},"license_text":{"type":["string","null"]}}},"NtpOffset":{"type":"object","required":["offset_micros"],"properties":{"offset_micros":{"type":"integer","format":"int64"}}},"OAuthProviderMappingMatcher":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["matchers","type"],"properties":{"matchers":{"type":"array","items":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"}},"type":{"type":"string","enum":["and"]}}},{"type":"object","required":["matchers","type"],"properties":{"matchers":{"type":"array","items":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"}},"type":{"type":"string","enum":["or"]}}},{"type":"object","required":["matcher","type"],"properties":{"matcher":{"$ref":"#/components/schemas/OAuthProviderMappingMatcher"},"type":{"type":"string","enum":["not"]}}},{"type":"object","required":["scopes","type"],"properties":{"scopes":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"type":{"type":"string","enum":["scopes"]}}},{"type":"object","required":["path","type"],"properties":{"path":{"type":"string","maxLength":255,"minLength":1},"type":{"type":"string","enum":["field_exists"]}}},{"type":"object","required":["path","equals","type"],"properties":{"path":{"type":"string","maxLength":255,"minLength":1},"equals":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["field_equals"]}}},{"type":"object","required":["path","contains","type"],"properties":{"path":{"type":"string","maxLength":255,"minLength":1},"contains":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["field_contains"]}}},{"type":"object","required":["path","starts_with","type"],"properties":{"path":{"type":"string","maxLength":255,"minLength":1},"starts_with":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["field_starts_with"]}}},{"type":"object","required":["path","ends_with","type"],"properties":{"path":{"type":"string","maxLength":255,"minLength":1},"ends_with":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["field_ends_with"]}}}]},"OAuthProviderMappingType":{"oneOf":[{"type":"object","required":["role_uuid","type"],"properties":{"role_uuid":{"type":"string","format":"uuid"},"revoke_unmatched":{"type":"boolean"},"type":{"type":"string","enum":["role"]}}},{"type":"object","required":["server_uuid","permissions","ignored_files","type"],"properties":{"server_uuid":{"type":"string","format":"uuid"},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"revoke_unmatched":{"type":"boolean"},"type":{"type":"string","enum":["server_subuser"]}}}]},"PendingExtension":{"type":"object","required":["metadata_toml","package_name","description","authors","version"],"properties":{"metadata_toml":{"$ref":"#/components/schemas/MetadataToml"},"package_name":{"$ref":"#/components/schemas/CompactString"},"description":{"$ref":"#/components/schemas/CompactString"},"authors":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"version":{"type":"string"}}},"PermissionMap":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PermissionGroup"}},"PowerAction":{"type":"string","enum":["start","stop","restart","kill"]},"ProcessConfiguration":{"type":"object","required":["startup","stop","configs"],"properties":{"startup":{"type":"object","properties":{"done":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"strip_ansi":{"type":"boolean"}}},"stop":{"type":"object","required":["type"],"properties":{"type":{"$ref":"#/components/schemas/CompactString"},"value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]}}},"configs":{"type":"array","items":{"type":"object","required":["file","parser","replace"],"properties":{"file":{"$ref":"#/components/schemas/CompactString"},"create_new":{"type":"boolean"},"parser":{"type":"string","enum":["file","yaml","properties","ini","json","xml","toml"]},"replace":{"type":"array","items":{"type":"object","required":["match","replace_with"],"properties":{"match":{"$ref":"#/components/schemas/CompactString"},"insert_new":{"type":"boolean"},"update_existing":{"type":"boolean"},"if_value":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"replace_with":{}}}}}}}}},"QueryColumn":{"type":"object","required":["name","type_name","binary"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"type_name":{"$ref":"#/components/schemas/CompactString"},"binary":{"type":"boolean"}}},"QueryResultSet":{"type":"object","required":["columns","rows","rows_affected","truncated"],"properties":{"columns":{"type":"array","items":{"$ref":"#/components/schemas/QueryColumn"}},"rows":{"type":"array","items":{"type":"array","items":{"$ref":"#/components/schemas/QueryValue"}}},"rows_affected":{"type":"integer","format":"int64","minimum":0},"truncated":{"type":"boolean"}}},"QueryValue":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["null"]}}},{"type":"object","required":["value","truncated","type"],"properties":{"value":{"type":"string"},"truncated":{"type":"boolean"},"type":{"type":"string","enum":["text"]}}},{"type":"object","required":["value","truncated","type"],"properties":{"value":{"type":"string"},"truncated":{"type":"boolean"},"type":{"type":"string","enum":["binary"]}}}]},"RatelimitConfiguration":{"type":"object","required":["hits","window_seconds"],"properties":{"hits":{"type":"integer","format":"int64","minimum":0},"window_seconds":{"type":"integer","format":"int64","minimum":0}}},"RemoteApiServer":{"type":"object","title":"RemoteServer","required":["settings","process_configuration"],"properties":{"settings":{"$ref":"#/components/schemas/ServerConfiguration"},"process_configuration":{"$ref":"#/components/schemas/ProcessConfiguration"}}},"ResourceUsage":{"type":"object","required":["memory_bytes","memory_limit_bytes","disk_bytes","state","network","cpu_absolute","cpu_limit_absolute","uptime"],"properties":{"memory_bytes":{"type":"integer","format":"int64","minimum":0},"memory_limit_bytes":{"type":"integer","format":"int64","minimum":0},"disk_bytes":{"type":"integer","format":"int64","minimum":0},"state":{"type":"string","enum":["offline","starting","stopping","running"]},"network":{"type":"object","required":["rx_bytes","rx_packets","tx_bytes","tx_packets"],"properties":{"rx_bytes":{"type":"integer","format":"int64","minimum":0},"rx_packets":{"type":"integer","format":"int64","minimum":0},"tx_bytes":{"type":"integer","format":"int64","minimum":0},"tx_packets":{"type":"integer","format":"int64","minimum":0}}},"cpu_absolute":{"type":"number","format":"double"},"cpu_limit_absolute":{"type":"integer","format":"int32","minimum":0},"uptime":{"type":"integer","format":"int64","minimum":0}}},"Response200":{"type":"object","required":["content","eof"],"properties":{"start_line":{"type":["integer","null"],"format":"int64","minimum":0},"end_line":{"type":["integer","null"],"format":"int64","minimum":0},"content":{"type":"string"},"eof":{"type":"boolean"}}},"ResponseDatabaseAgentHost":{"type":"object","required":["version","database_agent_host"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"database_agent_host":{"$ref":"#/components/schemas/AdminApiDatabaseAgentHost"}}},"ResponseNode":{"type":"object","required":["version","node"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"node":{"$ref":"#/components/schemas/AdminApiNode"}}},"ResponseResult":{"type":"object","required":["server"],"properties":{"server":{"type":"string","format":"uuid"},"identifier":{"type":["string","null"],"format":"uuid"},"error":{"type":["string","null"]}}},"ResponseVersionHistory":{"type":"object","required":["panel","extensions"],"properties":{"panel":{"type":"array","items":{"$ref":"#/components/schemas/VersionHistoryEntry"}},"extensions":{"type":"object","additionalProperties":{"type":"array","items":{"$ref":"#/components/schemas/VersionHistoryEntry"}},"propertyNames":{"type":"string"}}}},"Revision":{"type":"object","required":["id","size","is_snapshot","created"],"properties":{"id":{"type":"integer","format":"int64"},"user":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiUser"}]},"size":{"type":"integer","format":"int64","minimum":0},"is_snapshot":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"RouteOrderItem":{"oneOf":[{"type":"object","required":["path","type"],"properties":{"path":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["route"]}}},{"type":"object","required":["name_translations","type"],"properties":{"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"type":{"type":"string","enum":["divider"]}}},{"type":"object","required":["name","name_translations","destination","type"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"name_translations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CompactString"},"propertyNames":{"type":"string"}},"destination":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["redirect"]}}}]},"RowDelete":{"type":"object","required":["keys"],"properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/RowValue"}}}},"RowInsert":{"type":"object","required":["values"],"properties":{"values":{"type":"array","items":{"$ref":"#/components/schemas/RowValue"}}}},"RowUpdate":{"type":"object","required":["keys","values"],"properties":{"keys":{"type":"array","items":{"$ref":"#/components/schemas/RowValue"}},"values":{"type":"array","items":{"$ref":"#/components/schemas/RowValue"}}}},"RowValue":{"type":"object","required":["column"],"properties":{"column":{"$ref":"#/components/schemas/CompactString"},"value":{"type":["string","null"]}}},"ScheduleActionInner":{"oneOf":[{"type":"object","required":["duration","type"],"properties":{"duration":{"type":"integer","format":"int64","maximum":86400000,"minimum":1},"type":{"type":"string","enum":["sleep"]}}},{"type":"object","required":["condition","type"],"properties":{"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"type":{"type":"string","enum":["ensure"]}}},{"type":"object","required":["condition","type"],"properties":{"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"type":{"type":"string","enum":["if"]}}},{"type":"object","required":["condition","type"],"properties":{"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"type":{"type":"string","enum":["else_if"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["else"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["end_if"]}}},{"type":"object","required":["successful","type"],"properties":{"successful":{"type":"boolean"},"type":{"type":"string","enum":["exit"]}}},{"type":"object","required":["ignore_failure","state","timeout","type"],"properties":{"ignore_failure":{"type":"boolean"},"state":{"$ref":"#/components/schemas/ServerState"},"timeout":{"type":"integer","format":"int64","maximum":86400000,"minimum":1},"type":{"type":"string","enum":["wait_for_state"]}}},{"type":"object","required":["format","output_into","type"],"properties":{"format":{"type":"string","maxLength":16384,"minLength":1},"output_into":{"$ref":"#/components/schemas/ScheduleVariable"},"type":{"type":"string","enum":["format"]}}},{"type":"object","required":["input","regex","output_into","type"],"properties":{"input":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"regex":{"type":"string","format":"regex"},"output_into":{"type":"array","items":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]}},"type":{"type":"string","enum":["match_regex"]}}},{"type":"object","required":["ignore_failure","contains","timeout","type"],"properties":{"ignore_failure":{"type":"boolean"},"contains":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"case_insensitive":{"type":"boolean"},"timeout":{"type":"integer","format":"int64","maximum":86400000,"minimum":1},"output_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"type":{"type":"string","enum":["wait_for_console_line"]}}},{"type":"object","required":["ignore_failure","action","type"],"properties":{"ignore_failure":{"type":"boolean"},"action":{"$ref":"#/components/schemas/ServerPowerAction"},"type":{"type":"string","enum":["send_power"]}}},{"type":"object","required":["ignore_failure","command","type"],"properties":{"ignore_failure":{"type":"boolean"},"command":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["send_command"]}}},{"type":"object","required":["ignore_failure","foreground","ignored_files","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleDynamicParameter"}]},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"ignored_files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"output_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"type":{"type":"string","enum":["create_backup"]}}},{"type":"object","required":["ignore_failure","truncate_directory","backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"truncate_directory":{"type":"boolean"},"restore_startup":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"type":{"type":"string","enum":["restore_backup"]}}},{"type":"object","required":["backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"type":{"type":"string","enum":["delete_backup"]}}},{"type":"object","required":["backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"type":{"type":"string","enum":["move_backup"]}}},{"type":"object","required":["ignore_failure","foreground","database_instance_uuid","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleDynamicParameter"}]},"database_instance_uuid":{"type":"string","format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"output_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"type":{"type":"string","enum":["create_database_backup"]}}},{"type":"object","required":["backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"type":{"type":"string","enum":["delete_database_backup"]}}},{"type":"object","required":["backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"type":{"type":"string","enum":["move_database_backup"]}}},{"type":"object","required":["backup","type"],"properties":{"ignore_failure":{"type":"boolean"},"backup":{"$ref":"#/components/schemas/ScheduleBackupSelector"},"source_database_instance_uuid":{"type":["string","null"],"format":"uuid"},"database_instance_uuid":{"type":["string","null"],"format":"uuid"},"type":{"type":"string","enum":["restore_database_backup"]}}},{"type":"object","required":["ignore_failure","root","name","type"],"properties":{"ignore_failure":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"name":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["create_directory"]}}},{"type":"object","required":["ignore_failure","append","file","content","type"],"properties":{"ignore_failure":{"type":"boolean"},"append":{"type":"boolean"},"file":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"content":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["write_file"]}}},{"type":"object","required":["ignore_failure","foreground","file","destination","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"file":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"destination":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["copy_file"]}}},{"type":"object","required":["root","files","type"],"properties":{"ignore_failure":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"type":{"type":"string","enum":["delete_files"]}}},{"type":"object","required":["root","files","type"],"properties":{"ignore_failure":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"files":{"type":"array","items":{"type":"object","required":["from","to"],"properties":{"from":{"type":"string"},"to":{"type":"string"}}}},"type":{"type":"string","enum":["rename_files"]}}},{"type":"object","required":["ignore_failure","foreground","root","files","format","name","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"files":{"type":"array","items":{"$ref":"#/components/schemas/CompactString"}},"format":{"$ref":"#/components/schemas/ArchiveFormat"},"name":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["compress_files"]}}},{"type":"object","required":["ignore_failure","foreground","root","file","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"file":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["decompress_file"]}}},{"type":"object","required":["ignore_failure","foreground","root","url","type"],"properties":{"ignore_failure":{"type":"boolean"},"foreground":{"type":"boolean"},"root":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"url":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"file_name":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleDynamicParameter"}]},"use_header":{"type":"boolean"},"type":{"type":"string","enum":["pull_file"]}}},{"type":"object","required":["ignore_failure","env_variable","value","type"],"properties":{"ignore_failure":{"type":"boolean"},"env_variable":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"value":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["update_startup_variable"]}}},{"type":"object","required":["ignore_failure","command","type"],"properties":{"ignore_failure":{"type":"boolean"},"command":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["update_startup_command"]}}},{"type":"object","required":["ignore_failure","image","type"],"properties":{"ignore_failure":{"type":"boolean"},"image":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["update_startup_docker_image"]}}},{"type":"object","required":["ignore_failure","method","url","timeout","type"],"properties":{"ignore_failure":{"type":"boolean"},"method":{"$ref":"#/components/schemas/ScheduleHttpMethod"},"url":{"type":"string","format":"uri"},"headers":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleHttpHeader"}},"body":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleDynamicParameter"}]},"timeout":{"type":"integer","format":"int64","maximum":60000,"minimum":1},"ignore_error_status":{"type":"boolean"},"output_status_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"output_body_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"type":{"type":"string","enum":["http_request"]}}}]},"ScheduleBackupSelector":{"oneOf":[{"type":"object","required":["mode"],"properties":{"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"mode":{"type":"string","enum":["latest"]}}},{"type":"object","required":["mode"],"properties":{"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"mode":{"type":"string","enum":["oldest"]}}},{"type":"object","required":["uuid","mode"],"properties":{"uuid":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"mode":{"type":"string","enum":["uuid"]}}},{"type":"object","required":["name","mode"],"properties":{"name":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"backup_group_uuid":{"type":["string","null"],"format":"uuid"},"oldest":{"type":"boolean"},"mode":{"type":"string","enum":["name"]}}}]},"ScheduleCondition":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["none"]}}},{"type":"object","required":["conditions","type"],"properties":{"conditions":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleCondition"}},"type":{"type":"string","enum":["and"]}}},{"type":"object","required":["conditions","type"],"properties":{"conditions":{"type":"array","items":{"$ref":"#/components/schemas/ScheduleCondition"}},"type":{"type":"string","enum":["or"]}}},{"type":"object","required":["condition","type"],"properties":{"condition":{"$ref":"#/components/schemas/ScheduleCondition"},"type":{"type":"string","enum":["not"]}}},{"type":"object","required":["state","type"],"properties":{"state":{"$ref":"#/components/schemas/ServerState"},"type":{"type":"string","enum":["server_state"]}}},{"type":"object","required":["comparator","value","type"],"properties":{"comparator":{"$ref":"#/components/schemas/ScheduleConditionComparator"},"value":{"type":"integer","format":"int64","minimum":0},"type":{"type":"string","enum":["uptime"]}}},{"type":"object","required":["metric","comparator","value","type"],"properties":{"metric":{"$ref":"#/components/schemas/ScheduleResourceMetric"},"comparator":{"$ref":"#/components/schemas/ScheduleConditionComparator"},"value":{"type":"number","format":"double"},"type":{"type":"string","enum":["resource_usage"]}}},{"type":"object","required":["file","type"],"properties":{"file":{"type":"string","maxLength":255,"minLength":1},"type":{"type":"string","enum":["file_exists"]}}},{"type":"object","required":["variable","type"],"properties":{"variable":{"$ref":"#/components/schemas/ScheduleVariable"},"type":{"type":"string","enum":["variable_exists"]}}},{"type":"object","required":["variable","equals","type"],"properties":{"variable":{"$ref":"#/components/schemas/ScheduleVariable"},"equals":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["variable_equals"]}}},{"type":"object","required":["variable","contains","type"],"properties":{"variable":{"$ref":"#/components/schemas/ScheduleVariable"},"contains":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["variable_contains"]}}},{"type":"object","required":["variable","starts_with","type"],"properties":{"variable":{"$ref":"#/components/schemas/ScheduleVariable"},"starts_with":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["variable_starts_with"]}}},{"type":"object","required":["variable","ends_with","type"],"properties":{"variable":{"$ref":"#/components/schemas/ScheduleVariable"},"ends_with":{"$ref":"#/components/schemas/ScheduleDynamicParameter"},"type":{"type":"string","enum":["variable_ends_with"]}}}]},"ScheduleConditionComparator":{"type":"string","enum":["smaller_than","smaller_than_or_equals","equal","greater_than","greater_than_or_equals"]},"ScheduleDynamicParameter":{"oneOf":[{"$ref":"#/components/schemas/CompactString"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"ScheduleHttpHeader":{"type":"object","required":["name","value"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"value":{"$ref":"#/components/schemas/ScheduleDynamicParameter"}}},"ScheduleHttpMethod":{"type":"string","enum":["get","post","put","patch","delete","head"]},"ScheduleResourceMetric":{"type":"string","enum":["cpu","memory","disk"]},"ScheduleStatus":{"type":"object","required":["running","errors"],"properties":{"running":{"type":"boolean"},"errors":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string","format":"uuid"}},"step":{"type":["string","null"],"format":"uuid"}}},"ScheduleTrigger":{"oneOf":[{"type":"object","required":["schedule","type"],"properties":{"schedule":{"type":"string","example":"* * * * * *"},"type":{"type":"string","enum":["cron"]}}},{"type":"object","required":["action","type"],"properties":{"action":{"$ref":"#/components/schemas/ServerPowerAction"},"type":{"type":"string","enum":["power_action"]}}},{"type":"object","required":["state","type"],"properties":{"state":{"$ref":"#/components/schemas/ServerState"},"type":{"type":"string","enum":["server_state"]}}},{"type":"object","required":["status","type"],"properties":{"status":{"$ref":"#/components/schemas/ServerBackupStatus"},"type":{"type":"string","enum":["backup_status"]}}},{"type":"object","required":["status","type"],"properties":{"status":{"$ref":"#/components/schemas/ServerBackupStatus"},"type":{"type":"string","enum":["database_backup_status"]}}},{"type":"object","required":["schedule","successful","type"],"properties":{"schedule":{"type":"string","format":"uuid"},"successful":{"type":"boolean"},"type":{"type":"string","enum":["schedule_completion"]}}},{"type":"object","required":["metric","comparator","value","type"],"properties":{"metric":{"$ref":"#/components/schemas/ScheduleResourceMetric"},"comparator":{"$ref":"#/components/schemas/ScheduleConditionComparator"},"value":{"type":"number","format":"double"},"for_seconds":{"type":"integer","format":"int64","maximum":86400,"minimum":0},"type":{"type":"string","enum":["resource_usage"]}}},{"type":"object","required":["contains","type"],"properties":{"contains":{"$ref":"#/components/schemas/CompactString"},"case_insensitive":{"type":"boolean"},"output_into":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ScheduleVariable"}]},"type":{"type":"string","enum":["console_line"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["crash"]}}}]},"ScheduleVariable":{"type":"object","required":["variable"],"properties":{"variable":{"$ref":"#/components/schemas/CompactString"}}},"SchemaColumn":{"type":"object","required":["name","type_name","nullable","primary_key","auto_increment","generated","binary"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"type_name":{"$ref":"#/components/schemas/CompactString"},"nullable":{"type":"boolean"},"default":{"type":["string","null"]},"primary_key":{"type":"boolean"},"auto_increment":{"type":"boolean"},"generated":{"type":"boolean"},"binary":{"type":"boolean"}}},"SchemaTable":{"type":"object","required":["name","view","columns"],"properties":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"name":{"$ref":"#/components/schemas/CompactString"},"view":{"type":"boolean"},"row_estimate":{"type":["integer","null"],"format":"int64"},"columns":{"type":"array","items":{"$ref":"#/components/schemas/SchemaColumn"}}}},"ServerAutoStartBehavior":{"type":"string","enum":["always","unless_stopped","never"]},"ServerBackupDeletionStatus":{"type":"string","enum":["deleting","failed"]},"ServerBackupKind":{"type":"string","enum":["server","database_instance"]},"ServerBackupStatus":{"type":"string","enum":["starting","finished","failed"]},"ServerBackupUsage":{"type":"object","title":"ServerBackupUsage","required":["server","database_instance"],"properties":{"server":{"type":"integer","format":"int64"},"database_instance":{"type":"integer","format":"int64"}}},"ServerConfiguration":{"type":"object","required":["uuid","meta","suspended","invocation","skip_egg_scripts","environment","labels","backups","schedules","allocations","build","mounts","firewall","egg","container","auto_kill","auto_start_behavior","features"],"properties":{"uuid":{"type":"string","format":"uuid"},"start_on_completion":{"type":["boolean","null"]},"meta":{"type":"object","required":["name","description"],"properties":{"name":{"type":"string"},"description":{"type":"string"}}},"suspended":{"type":"boolean"},"invocation":{"type":"string"},"skip_egg_scripts":{"type":"boolean"},"entrypoint":{"type":["array","null"],"items":{"type":"string"}},"environment":{"type":"object","additionalProperties":{},"propertyNames":{"type":"string"}},"labels":{"type":"object","additionalProperties":{"type":"string"},"propertyNames":{"type":"string"}},"backups":{"type":"array","items":{"type":"string","format":"uuid"}},"schedules":{"type":"array","items":{"type":"object","required":["uuid","triggers","condition","actions"],"properties":{"uuid":{"type":"string","format":"uuid"},"triggers":{},"condition":{},"actions":{"type":"array","items":{}}}}},"allocations":{"type":"object","required":["force_outgoing_ip","mappings"],"properties":{"force_outgoing_ip":{"type":"boolean"},"default":{"oneOf":[{"type":"null"},{"type":"object","required":["ip","port"],"properties":{"ip":{"type":"string"},"port":{"type":"integer","format":"int32","minimum":0}}}]},"mappings":{"type":"object","additionalProperties":{"type":"array","items":{"type":"integer","format":"int32","minimum":0}},"propertyNames":{"type":"string"}}}},"build":{"type":"object","required":["memory_limit","overhead_memory","swap","cpu_limit","disk_space","oom_disabled"],"properties":{"memory_limit":{"type":"integer","format":"int64"},"overhead_memory":{"type":"integer","format":"int64"},"swap":{"type":"integer","format":"int64"},"io_weight":{"type":["integer","null"],"format":"int32","minimum":0},"cpu_limit":{"type":"integer","format":"int64"},"disk_space":{"type":"integer","format":"int64","minimum":0},"threads":{"oneOf":[{"type":"null"},{"type":"string"}]},"oom_disabled":{"type":"boolean"}}},"mounts":{"type":"array","items":{"type":"object","required":["target","source","read_only"],"properties":{"target":{"type":"string"},"source":{"type":"string"},"read_only":{"type":"boolean"}}}},"firewall":{"type":"array","items":{"type":"object","required":["action","protocols","sources"],"properties":{"action":{"type":"string","enum":["allow","deny"]},"protocols":{"type":"array","items":{"type":"string","enum":["tcp","udp"]}},"sources":{"type":"array","items":{"type":"string"}},"ports":{"type":["array","null"],"items":{"type":"integer","format":"int32","minimum":0}},"source_file":{"oneOf":[{"type":"null"},{"type":"string"}]}}}},"egg":{"type":"object","required":["id","file_denylist"],"properties":{"id":{"type":"string","format":"uuid"},"file_denylist":{"type":"array","items":{"type":"string"}}}},"container":{"type":"object","required":["image","hugepages_passthrough_enabled","kvm_passthrough_enabled","seccomp"],"properties":{"image":{"type":"string"},"timezone":{"oneOf":[{"type":"null"},{"type":"string"}]},"hugepages_passthrough_enabled":{"type":"boolean"},"kvm_passthrough_enabled":{"type":"boolean"},"seccomp":{"type":"object","required":["remove_allowed"],"properties":{"remove_allowed":{"type":"array","items":{"type":"string"}}}}}},"auto_kill":{"type":"object","required":["enabled","seconds"],"properties":{"enabled":{"type":"boolean"},"seconds":{"type":"integer","format":"int64","minimum":0}}},"auto_start_behavior":{"type":"string","enum":["always","unless_stopped","never"]},"features":{"type":"object","properties":{"startup_cpu_boost":{"oneOf":[{"type":"null"},{"type":"object","required":["enabled","timeout"],"properties":{"enabled":{"type":"boolean"},"timeout":{"type":"integer","format":"int64","minimum":0}}}]},"runtime_cpu_boost":{"oneOf":[{"type":"null"},{"type":"object","required":["enabled","threshold","sustained","multiple","duration","cooldown"],"properties":{"enabled":{"type":"boolean"},"threshold":{"type":"integer","format":"int64","minimum":0},"sustained":{"type":"integer","format":"int64","minimum":0},"multiple":{"type":"number","format":"double"},"duration":{"type":"integer","format":"int64","minimum":0},"cooldown":{"type":"integer","format":"int64","minimum":0}}}]}}}}},"ServerDatabaseInstanceUserDatabaseGrant":{"type":"object","required":["database_uuid","permission"],"properties":{"database_uuid":{"type":"string","format":"uuid"},"permission":{"$ref":"#/components/schemas/DatabasePermission"}}},"ServerPowerAction":{"type":"string","enum":["start","stop","restart","kill"]},"ServerSelector":{"oneOf":[{"type":"object","required":["uuids","type"],"properties":{"uuids":{"type":"array","items":{"type":"string","format":"uuid"},"uniqueItems":true},"type":{"type":"string","enum":["uuids"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["all"]}}}]},"ServerState":{"type":"string","enum":["offline","starting","stopping","running"]},"ServerTunnelPeer":{"type":"object","title":"ServerTunnelPeer","required":["server_uuid","server_name","name","alias","ports","created"],"properties":{"server_uuid":{"type":"string","format":"uuid"},"server_name":{"$ref":"#/components/schemas/CompactString"},"name":{"$ref":"#/components/schemas/CompactString"},"alias":{"$ref":"#/components/schemas/CompactString"},"address":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompactString"}]},"ports":{"type":"array","items":{"$ref":"#/components/schemas/ServerTunnelPort"}},"created":{"type":"string","format":"date-time"}}},"ServerTunnelPort":{"type":"object","required":["port","protocols","created"],"properties":{"port":{"type":"integer","format":"int32","minimum":0},"protocols":{"type":"array","items":{"$ref":"#/components/schemas/TunnelProtocol"},"uniqueItems":true},"created":{"type":"string","format":"date-time"}}},"SshKeyProvider":{"type":"string","enum":["github","gitlab","launchpad"]},"Status":{"type":"object","required":["state","panel_version","cache_key","bin_name","log_len"],"properties":{"state":{"$ref":"#/components/schemas/SupervisorState"},"panel_version":{"type":"string"},"cache_key":{"type":"string"},"bin_name":{"type":"string"},"build_id":{"type":["integer","null"],"format":"int64","minimum":0},"started_at":{"type":["string","null"]},"finished_at":{"type":["string","null"]},"exit_code":{"type":["integer","null"],"format":"int32"},"failure_reason":{"type":["string","null"]},"log_len":{"type":"integer","format":"int64","minimum":0}}},"StorageAsset":{"type":"object","required":["name","url","size","is_directory","created"],"properties":{"name":{"$ref":"#/components/schemas/CompactString"},"url":{"type":"string"},"size":{"type":"integer","format":"int64","minimum":0},"is_directory":{"type":"boolean"},"created":{"type":"string","format":"date-time"}}},"StorageDriver":{"oneOf":[{"type":"object","required":["path","type"],"properties":{"path":{"$ref":"#/components/schemas/CompactString"},"type":{"type":"string","enum":["filesystem"]}}},{"type":"object","required":["public_url","access_key","secret_key","bucket","region","endpoint","path_style","type"],"properties":{"public_url":{"$ref":"#/components/schemas/CompactString"},"access_key":{"$ref":"#/components/schemas/CompactString"},"secret_key":{"$ref":"#/components/schemas/CompactString"},"bucket":{"$ref":"#/components/schemas/CompactString"},"region":{"$ref":"#/components/schemas/CompactString"},"endpoint":{"$ref":"#/components/schemas/CompactString"},"path_style":{"type":"boolean"},"type":{"type":"string","enum":["s3"]}}}]},"StreamableArchiveFormat":{"type":"string","enum":["tar","tar_gz","tar_xz","tar_lzip","tar_bz2","tar_lz4","tar_zstd","itaf","itaf_gz","itaf_xz","itaf_lzip","itaf_bz2","itaf_lz4","itaf_zstd","zip"]},"SupervisorState":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["idle"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["queued"]}}},{"type":"object","required":["phase","type"],"properties":{"phase":{"$ref":"#/components/schemas/BuildPhase"},"type":{"type":"string","enum":["building"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["succeeded"]}}},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["failed"]}}}]},"TlsMode":{"type":"string","enum":["none","start_tls","implicit_tls"]},"TransferArchiveFormat":{"type":"string","enum":["tar","tar_gz","tar_xz","tar_lzip","tar_bz2","tar_lz4","tar_zstd","itaf","itaf_gz","itaf_xz","itaf_lzip","itaf_bz2","itaf_lz4","itaf_zstd"]},"TransferProgress":{"type":"object","required":["archive_bytes_processed","network_bytes_processed","bytes_total","files_processed"],"properties":{"archive_bytes_processed":{"type":"integer","format":"int64","minimum":0},"network_bytes_processed":{"type":"integer","format":"int64","minimum":0},"bytes_total":{"type":"integer","format":"int64","minimum":0},"files_processed":{"type":"integer","format":"int64","minimum":0}}},"TundraNodeMetrics":{"type":"object","required":["uptime_secs","epoch","remote_link","frontends","snapshots_applied","local_flows_open","local_drops","frozen_flows","peers_connected"],"properties":{"uptime_secs":{"type":"integer","format":"int64","minimum":0},"epoch":{"type":"integer","format":"int64","minimum":0},"remote_link":{"$ref":"#/components/schemas/CompactString","description":"\"up\" or \"down\", the state of the daemon's control link back to the panel."},"frontends":{"type":"integer","format":"int64","minimum":0},"snapshots_applied":{"type":"integer","format":"int64","minimum":0},"local_flows_open":{"type":"integer","format":"int64","minimum":0},"local_drops":{"type":"integer","format":"int64","minimum":0},"frozen_flows":{"type":"integer","format":"int64","minimum":0},"peers_connected":{"type":"integer","format":"int64","minimum":0}}},"TundraPeerDropMetrics":{"type":"object","required":["send_buffer_full","unknown_flow","frag_timeout","frag_limit","oversize","malformed"],"properties":{"send_buffer_full":{"type":"integer","format":"int64","minimum":0},"unknown_flow":{"type":"integer","format":"int64","minimum":0},"frag_timeout":{"type":"integer","format":"int64","minimum":0},"frag_limit":{"type":"integer","format":"int64","minimum":0},"oversize":{"type":"integer","format":"int64","minimum":0},"malformed":{"type":"integer","format":"int64","minimum":0}}},"TundraPeerFlowMetrics":{"type":"object","required":["open","opened_total","tcp_open"],"properties":{"open":{"type":"integer","format":"int64","minimum":0},"opened_total":{"type":"integer","format":"int64","minimum":0},"tcp_open":{"type":"integer","format":"int64","minimum":0}}},"TundraPeerMetrics":{"type":"object","required":["uuid","name","role","remote_addr","established_secs","path","relay","flows","drops"],"properties":{"uuid":{"type":"string","format":"uuid"},"name":{"$ref":"#/components/schemas/CompactString"},"role":{"$ref":"#/components/schemas/CompactString","description":"\"initiator\" when this node dialled the peer, \"acceptor\" when the peer dialled it."},"remote_addr":{"$ref":"#/components/schemas/CompactString"},"established_secs":{"type":"integer","format":"int64","minimum":0},"path":{"$ref":"#/components/schemas/TundraPeerPathMetrics"},"relay":{"$ref":"#/components/schemas/TundraPeerRelayMetrics"},"flows":{"$ref":"#/components/schemas/TundraPeerFlowMetrics"},"drops":{"$ref":"#/components/schemas/TundraPeerDropMetrics"}}},"TundraPeerPathMetrics":{"type":"object","required":["rtt_ms","current_mtu","lost_packets","congestion_events"],"properties":{"rtt_ms":{"type":"number","format":"double"},"current_mtu":{"type":"integer","format":"int32","minimum":0},"lost_packets":{"type":"integer","format":"int64","minimum":0},"congestion_events":{"type":"integer","format":"int64","minimum":0}}},"TundraPeerRelayMetrics":{"type":"object","required":["stream_bytes_in","stream_bytes_out","datagram_bytes_in","datagram_bytes_out","streams_open","streams_total"],"properties":{"stream_bytes_in":{"type":"integer","format":"int64","minimum":0},"stream_bytes_out":{"type":"integer","format":"int64","minimum":0},"datagram_bytes_in":{"type":"integer","format":"int64","minimum":0},"datagram_bytes_out":{"type":"integer","format":"int64","minimum":0},"streams_open":{"type":"integer","format":"int64","minimum":0},"streams_total":{"type":"integer","format":"int64","minimum":0}}},"TundraStatus":{"type":"object","description":"What a node reports about the tundra mesh daemon it manages. Hand-written rather than\ngenerated because the panel drives these routes directly, not through the shim.","required":["supported","connected"],"properties":{"supported":{"type":"boolean","description":"False covers both a node that cannot run the mesh and one with it turned off."},"connected":{"type":"boolean"},"epoch":{"type":["integer","null"],"format":"int64","minimum":0}}},"TunnelProtocol":{"type":"string","enum":["tcp","udp"]},"TwitterCard":{"type":"string","enum":["summary","summary_large_image"]},"TwoFactorMethod":{"type":"string","enum":["totp","security_key","email"]},"TwoFactorRequirement":{"type":"string","enum":["admins","all_users","none"]},"UpdateInformation":{"type":"object","required":["panel_version","latest_panel_version","latest_wings_version","latest_db_agent_version","extensions"],"properties":{"panel_version":{"$ref":"#/components/schemas/CompactString"},"latest_panel_version":{"type":"string"},"latest_wings_version":{"type":"string"},"latest_db_agent_version":{"type":"string"},"extensions":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ExtensionUpdateCheckResult"},"propertyNames":{"type":"string"}}}},"VersionHistoryEntry":{"type":"object","required":["version","timestamp"],"properties":{"version":{"$ref":"#/components/schemas/CompactString"},"timestamp":{"type":"string","format":"date-time"}}}},"securitySchemes":{"api_key":{"type":"apiKey","in":"header","name":"Authorization"},"cookie":{"type":"apiKey","in":"cookie","name":"calagopus_session"}}}}