Get rich parameters by template version
GET
CoderSessionTokenheader
Coder-Session-Token<token>templateversion*stringTemplate version ID
Format
uuidOK
application/json- response
[index: integer]?The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/templateversions/{templateversion}/rich-parameters" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
[ { "default_value": "string", "description": "string", "description_plaintext": "string", "display_name": "string", "ephemeral": true, "form_type": "", "icon": "string", "mutable": true, "name": "string", "options": [ { "description": "string", "icon": "string", "name": "string", "value": "string" } ], "required": true, "type": "string", "validation_error": "string", "validation_max": 0, "validation_min": 0, "validation_monotonic": "increasing", "validation_regex": "string" }]