Skip to main content
GET
/
api
/
v1
/
apps
/
{app_id}
/
pending-updates
/
{vm_uuid}
/
{compose_hash}
/
preview
Preview a pending compose update
curl --request GET \
  --url https://cloud-api.phala.com/api/v1/apps/{app_id}/pending-updates/{vm_uuid}/{compose_hash}/preview
{
  "current_docker_compose": "<string>",
  "pending_docker_compose": "<string>",
  "current_pre_launch_script": "<string>",
  "pending_pre_launch_script": "<string>"
}

Path Parameters

app_id
string
required

Hex app identifier

vm_uuid
string
required

VM UUID

compose_hash
string
required

Compose hash of the pending update

Response

Preview data

current_docker_compose
string | null
pending_docker_compose
string | null
current_pre_launch_script
string | null
pending_pre_launch_script
string | null