Site preview
show-previewUse this when the user wants to see or look at one of their WebTwizz sites ("show me my bakery site"), or a page of one, for example after a change. Shows the latest draft in a card where they can also click things to change them; pass live to show the published site instead. site_id can be the site's name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Show the published site instead of the latest draft. Only when the user asks for the live version. | |
| path | No | Page to open, like /menu. Defaults to the home page. | |
| site_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| view | Yes | ||
| site_id | Yes | ||
| live_url | No | ||
| open_url | Yes | ||
| frame_url | Yes | ||
| show_live | Yes | ||
| preview_url | Yes | ||
| preview_ready | Yes | ||
| live_frame_url | No |