Publish an event website (organizers only)
site_publishPuts the DRAFT of one event website the person organizes live at its address. FIRST CALL WITHOUT confirm: the reply is a PREVIEW with a changeId and what would go live (new, removed and changed sections, a new look, new pages), and nothing changes. Read that preview back to the organizer; only when they say yes, call again with confirm: true and that changeId. The version live before it is kept, and site_undo_publish puts it back. site_edit does not publish. Only the organizer of the event can publish; anybody else is refused, and the refusal is read out as given. It requires a personal connector token. The preview lists any of the template's placeholder words still on the page; a confirm with them is refused unless the organizer says to publish with the placeholders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The site's id as site_list gives it. | |
| confirm | No | True applies a previewed change; absent, the change is only previewed and nothing changes. | |
| changeId | No | The id of a previewed change; required when confirm is true. | |
| eventIdOrName | Yes | The event id or the event name as the organizer spells it. | |
| allowPlaceholders | No | True publishes even though the draft still has the template's placeholder words; send it only when the organizer says to publish with the placeholders. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| error | No | ||
| applied | No | ||
| changes | No | ||
| message | No | ||
| preview | No | ||
| changeId | No | ||
| liveLink | No | ||
| servedBy | No | ||
| versionsKept | No | ||
| draftPreviewLink | No |