Embark on a journey to unravel the intricacies of template management with the GET /templates/{template-uuid}/
endpoint. This API call offers users an in-depth view of specific templates, providing a comprehensive JSON object that encapsulates critical information.
Understanding the Endpoint:
-
Path:
/templates/{template-uuid}/
- Method: GET
Query Parameters:
- None
Response Example:
{
"name": "Daily Check-in",
"questions": {
"logic": [
{
"next_key": 1,
"prev_key": false,
"question_key": 0
},
{
"next_key": false,
"prev_key": 0,
"question_key": 1
}
],
"fields": [
{
"uuid": "7bc84a34-29a3-488b-a89f-5205bcaa4b0a",
"question": "What did you complete in your previous workday?",
"is_blocker": false,
"is_optional": false,
"extra_params": {
"special_vars": []
},
"question_type": "text",
"question_short": "Previous work day progress"
},
{
"uuid": "a928c8ee-86a2-4dcb-b6d8-e94a45a18511",
"question": "What are you planning to work on today?",
"is_blocker": false,
"is_optional": false,
"extra_params": {
"special_vars": []
},
"question_type": "text",
"question_short": "Plans for today"
}
],
"version": 1
},
"intro": "",
"outro": ""
}
Comments
0 comments
Article is closed for comments.