Render a tree of the structure of the workflow.
Headers
-
Content-Type string
-
Accept string
GET
/api/v1/workflow/{workflow_uuid}/tree
curl \
--request GET https://api.plannrcrm.com/api/v1/workflow/workflow_uuid/tree \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
Response examples (200)
{
"name": "Task With Children",
"uuid": "6b354a43-3d70-4d31-a1a4-3fd543ded03c",
"sub_tasks": [
{
"name": "Task With Children",
"uuid": "08a21a3c-6915-46a5-a51b-c3d2332497e7",
"sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}