public
CVMs
Current official pre-launch script
Changed onPublic endpoint. Provisioning applies the official script when the pre_launch_script field is omitted or null. Send an empty string to deploy without a pre-launch script. Use this endpoint to preview the official script and its sha256; per-CVM scripts are available from GET /cvms/{cvm_id}/pre-launch-script.
get/api/v1/pre-launch-script
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
Changes
- info
endpoint added
- info