v1

latestOpenAPI 3.1.02026-07-26102158206.8 KB
Apps

Redeploy app from a specific revision

Redeploy 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. This schedules async CVM update task(s).

post/api/v1/apps/{app_id}/revisions/{revision_id}/redeploy

Path parameters

app_idstring required

Hex app identifier

Hex app identifier

revision_idstring required

Query parameters

transaction_hashstring nullable

Optional transaction hash proving on-chain compose hash registration

Optional transaction hash proving on-chain compose hash registration

Request body

vm_uuidsstring[] nullable

Response

Activation initiated

{"stackTrail":"paths:/api/v1/apps/{app_id}/revisions/{revision_id}/redeploy:post:responses:202:content:application/json:schema","oasType":"schema","type":"unknown"}