Templates

List template versions by template ID

Changed on
get/api/v2/templates/{template}/versions

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/templates/{template}/versions
  • Auth
    API key in header Coder-Session-Token

Path parameters

templatestring uuid required

Template ID

Query parameters

after_idstring uuid

After ID

include_archivedboolean

Include archived versions in the list

limitinteger

Page limit

offsetinteger

Page offset

Response

OK

archivedboolean
created_atstring date-time
has_external_agentboolean
idstring uuid
messagestring
namestring
organization_idstring uuid
readmestring
template_idstring uuid
updated_atstring date-time
warningsCodersdkTemplateVersionWarning[]

Changes