CVMs
Get pre-launch script
Changed onReturns the shell script that runs before containers start. Served from teepod when the CVM is live; falls back to the latest stored revision (marked via X-Compose-Source) for deleted CVMs or when teepod is unreachable.
get/api/v1/cvms/{cvm_id}/pre-launch-script
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
cvm_idstring required
Response
Pre-launch shell script content
string required
Changes
- info
removed the non-success response with the status
- info