Returns current and pending docker compose file and pre-launch script for diffing before applying an update.
cURL
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>" }
Hex app identifier
VM UUID
Compose hash of the pending update
Preview data
Was this page helpful?