Tasks
Publish Template
Publishes a template by copying changes from one branch to another, typically from draft to live.
See branches for more information on publishing templates.
Basic usage
The below task publishes changes from the draft branch to the live branch.
Parameters
required string
note A descriptive note about the changes being published.
required string
from_templateuuid UUID of the source template to publish from.
required string
to_templateuuid UUID of the destination template to publish to. Typically the same as from_templateuuid
when publishing between branches of the same template.
required string
from_branch The source branch to publish from (e.g., "draft").
required string
to_branch The destination branch to publish to (e.g., "live").
required string
context The template context to publish.
Result
The result contains the details of the publish operation.