Publish authoring draft
publish_template_draftValidate a finalized authoring draft and publish it to the public or workspace template catalog, promoting it to an immutable template ready for slideshow runs.
Instructions
Validate and publish an authoring draft into the public or workspace template catalog. Call when draft design and slot contracts are finalized and ready for instantiation in slideshow runs. If still editing or fixing layout rules, use update_template_draft. To inspect validation before publishing, use get_template_draft. Promotes draft to an immutable published template. Validates AST against layout rules; fails if required slots or constraints are violated. Returns published Template entity with public templateId, slots table, and catalog status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The unique draft identifier to validate and publish. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Published template ID. | |
| slots | No | Public slots table. | |
| status | No | Catalog status (published). |