Tasks
Save Template Version
Saves a new version of a template at a point in time, useful for tracking changes and reverting to previous versions.
Basic usage
The below task saves a snapshot version of the current template.
Parameters
templateuuid required string
UUID of the template to save a version for.
branch required string
The branch from which to save the version.
context required string
The template context to save.
note required string
A descriptive note about the changes in this version.
type required string
The type of version to save:
snapshot- A snapshot of the template at a point in time. If no changes are detected since the last snapshot, a new version will not be created.
Result
The result contains the details of the version that was just saved.
If type is snapshot and no changes have been made since the last snapshot, the task will return the latest existing snapshot.