Provision compose file update
Changed onValidates new compose file and returns compose_hash for on-chain registration. Cache expires after 14 days.
Request
- Base URLhttps://cloud-api.phala.com
- Authnone declared
- TypeScripthttps://skmtc.dev/phala/apis/phala-cloud-api/docs/api/v1/cvms/:cvm_id/compose_file/provision/post.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
Request body
Response
Provision response with compose_hash and KMS info
Example response
{
"kms_info": {
"id": "kms_0123abcd"
}
}Changes
- breaking
request property
list-of-types was narrowed by removing typesnullfrom media typeapplication/json - warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
request property
list-of-types was widened by adding typesstringto media typeapplication/json - info
added the optional property
to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- breaking