Stop Build
stop-buildUse this when the user wants to stop a WebTwizz build or edit that is running. Work done so far is kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| plan | No | ||
| error | No | ||
| stage | No | ||
| steps | Yes | ||
| checks | No | ||
| job_id | Yes | ||
| latest | No | ||
| status | Yes | queued, starting, building, done, needs_input, failed or stopped | |
| choices | No | When the summary ends by offering numbered options: those options, for the user to pick one | |
| site_id | Yes | ||
| summary | No | ||
| live_url | No | ||
| open_url | Yes | ||
| question | No | ||
| compiling | No | The preview is still updating with the finished change | |
| follow_ups | Yes | Things the user still has to do in WebTwizz, like connecting a database or adding a key | |
| undo_guard | No | Pass as only_if_latest when undoing, so newer work is never lost | |
| preview_url | Yes | ||
| confirmation | No | Set while the build waits for the user to approve something; answer with confirm-action | |
| files_changed | Yes | ||
| preview_ready | Yes | Whether the draft preview is running right now | |
| undo_point_id | No | Pass to restore-version to undo this change; only set while nothing has changed since | |
| live_frame_url | No | ||
| elapsed_seconds | Yes |