Skip to main content
POST
Create CVM replica

Headers

X-Prepare-Only
string | null

Path Parameters

app_id
string
required

Hex app identifier

vm_uuid
string
required

Source CVM UUID

Body

application/json

Request model for CVM replication.

teepod_id
integer | null

Target node ID (deprecated, use node_id)

node_id
integer | null

Target node ID for the replica

encrypted_env
string | null

New encrypted env blob (hex)

compose_hash
string | null

Explicit compose hash to replicate. Required when the source app has multiple live instances.

Response

Replica CVM created

id
integer
required
name
string
required
status
string
required
teepod_id
integer
required
app_id
string
required
vcpu
integer
required
memory
integer
required
disk_size
integer
required
created_at
string<date-time>
required
teepod
TeepodMeta · object | null
user_id
integer | null
vm_uuid
string | null
instance_id
string | null
app_url
string | null
base_image
string | null
manifest_version
integer | null
version
string | null
runner
string | null
docker_compose_file
string | null
features
string[] | null
encrypted_env_pubkey
string | null