Templates
Read published templates, versions and data schemas; create, publish and roll back.
10 endpoints of the API reference, version 1.0.0.
Each endpoint links into the interactive reference, where parameters, request bodies and responses are shown. The Markdown version has the same details as text.
- GET /v1/templates — List templates
- POST /v1/templates — Create a template
- GET /v1/templates/{template_id} — Retrieve a template
- DELETE /v1/templates/{template_id} — Delete a template
- PUT /v1/templates/{template_id}/draft — Replace the draft sources
- POST /v1/templates/{template_id}/publish — Publish the draft
- POST /v1/templates/{template_id}/rollback — Roll back to a version
- GET /v1/templates/{template_id}/schema — Data schema of a template
- GET /v1/templates/{template_id}/versions — List template versions
- GET /v1/templates/{template_id}/versions/{number} — Retrieve a template version