v1

latestSwagger 2.02026-07-134026156.7 KB
Templates

Publish a template version

Publishes the current draft version of a template and creates a new immutable version with semantic versioning (major.minor.patch).

post/templates/{template_id}/publish_version

Path parameters

template_idstring required

Request body

descriptionstring
version_typestring required

Example request

{
  "version_type": "minor",
  "description": "Added new fields"
}

Response

version published successfully

status'success' | 'error' required
errorsstring[]