deploy_finalize
Finalize a deploy by submitting the versionId and ETag completions for each multipart upload part. Returns the live site URL.
Instructions
Commit a deploy started with deploy_create_upload. Pass the versionId from the start response and a completions array containing the agent-collected ETags for each multi-part file (single-part uploads - those whose start response had an empty uploadId - do not need a completion entry). Returns the live site URL on success. The site must belong to the authenticated user; bearer-token auth is re-validated server-side, so holding presigned URLs alone does not let an unrelated caller finalize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site ID being deployed to (must match the start call). | |
| versionId | Yes | The `versionId` returned by `deploy_create_upload`. | |
| completions | No | Completions for multi-part uploads. Omit or pass an empty array if every file was single-part. | |
| partition | No | Data partition the site lives in. Omit to use the user's home partition. |