CVMs

Get app-compose.json

Changed on

Returns the full AppComposeV2 model (including port_policy and all other fields). Served from teepod when the CVM is live; falls back to the latest stored revision (marked via X-Compose-Source) when teepod is unreachable. Returns 404 if only the legacy raw docker-compose YAML is available.

get/api/v1/cvms/{cvm_id}/app-compose.json

Request

Path parameters

cvm_idstring required

Response

AppComposeV2 JSON model

allowed_envsstring[]
bash_scriptstring nullable
default_gateway_domainstring nullable
docker_compose_filestring nullable
init_scriptstring[]
key_provider'none' | 'kms' | 'local' | 'tpm' nullable
key_provider_idstring nullable
kms_enabledboolean
local_key_provider_enabledboolean
namestring required
no_instance_idboolean
pre_launch_scriptstring nullable
public_logsboolean
public_sysinfoboolean
public_tcbinfoboolean
runnerstring
requirementsobject nullable
storage_discardboolean nullable
event_log_version1 | 2 nullable
snapshotter'overlayfs' | 'stargz' nullable
gateway_enabledboolean
featuresstring[]
saltstring nullable
secure_timeboolean
swap_sizestring nullable
tproxy_enabledboolean

Changes