Coder Templates API
The Templates API from Coder — 33 operation(s) for templates.
Operations 38
GET
/api/v2/organizations/{organization}/templates/{templatename}
Get templates by organization and template name
#
GET
/api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname}
Get template version by organization, template, and name
#
GET
/api/v2/organizations/{organization}/templates/{templatename}/versions/{templateversionname}/previous
Get previous template version by organization, template, and name
#
POST
/api/v2/organizations/{organization}/templateversions
Create template version by organization
#
POST
/api/v2/templates/{template}/versions/archive
Archive template unused versions by template id
#
GET
/api/v2/templates/{template}/versions/{templateversionname}
Get template version by template ID and name
#
GET
/api/v2/templateversions/{templateversion}/dry-run/{jobID}
Get template version dry-run by job ID
#
PATCH
/api/v2/templateversions/{templateversion}/dry-run/{jobID}/cancel
Cancel template version dry-run by job ID
#
GET
/api/v2/templateversions/{templateversion}/dry-run/{jobID}/logs
Get template version dry-run logs by job ID
#
GET
/api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners
Get template version dry-run matched provisioners
#
GET
/api/v2/templateversions/{templateversion}/dry-run/{jobID}/resources
Get template version dry-run resources by job ID
#
GET
/api/v2/templateversions/{templateversion}/dynamic-parameters
Open dynamic parameters WebSocket by template version
#
POST
/api/v2/templateversions/{templateversion}/dynamic-parameters/evaluate
Evaluate dynamic parameters for template version
#
GET
/api/v2/templateversions/{templateversion}/external-auth
Get external auth by template version
#
GET
/api/v2/templateversions/{templateversion}/parameters
Removed: Get parameters by template version
#
GET
/api/v2/templateversions/{templateversion}/rich-parameters
Get rich parameters by template version
#
GET
/api/v2/templateversions/{templateversion}/variables
Get template variables by template version
#