Redeploy app from a specific revision
Changed onRedeploy a CVM to a specific revision. If the app has exactly one CVM, it will be redeployed by default. If the app has multiple CVMs, you must specify target vm_uuids in request body. Does not change encrypted env unless encrypted_env is supplied. A mismatch between allowed_envs and the last env write is rejected unless encrypted_env is supplied or allow_env_mismatch is true. This schedules async CVM update task(s).
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Hex app identifier
External AppRevisionId (prefix 'rev_'). Fully prefixed string required; bare payloads and raw integers are rejected.
Query parameters
Optional transaction hash proving on-chain compose hash registration
Request body
Response
Activation initiated
Changes
- info
added the new optional request property
/ - info
added the new optional request property
/ - info
added the non-success response with the status
- info