Skip to main content

Get a version with its files

GET 

/templates/:id/versions/:which

which is published, latest (the newest version, whatever its status; usually the draft the editor works on, and draft means the same), a version number or the name of a release channel (its main version). The CLI pulls latest with --draft and published otherwise. A which that is none of these answers 400, a channel the template does not have 404 channel_not_found. Needs template:read.

Request​

Responses​

Version with html, css, head, settings, sample data, schema and translations.