Render a tree of the structure of the workflow.
Headers
-
Content-Type string
-
Accept string
GET
/api/v1/workflow/{workflow_uuid}/tree
curl \
-X GET https://api.plannrcrm.com/api/v1/workflow/workflow_uuid/tree \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response examples (200)
{
"name": "Task With Children",
"uuid": "226efc70-dacd-4737-8f78-2788e52b885c",
"sub_tasks": [
{
"name": "Task With Children",
"uuid": "3e32b80c-a981-4d73-b623-2b4087d751d6",
"sub_tasks": "App\\Http\\Resources\\Board\\WorkflowTreeResource",
"trigger_tasks_count": 5
}
],
"trigger_tasks_count": 5
}