The Checkvist API returns the 'tasks' field as an array of child task IDs (integers), not as full Task objects. This was causing JSON unmarshal errors. BREAKING CHANGE: Task.Children []*Task renamed to Task.ChildIDs []int
17 lines
360 B
JSON
17 lines
360 B
JSON
{
|
|
"id": 101,
|
|
"checklist_id": 1,
|
|
"parent_id": 0,
|
|
"content": "First task",
|
|
"status": 0,
|
|
"position": 1,
|
|
"priority": 0,
|
|
"tags_as_text": "",
|
|
"due": "2026-01-20",
|
|
"assignee_ids": [],
|
|
"comments_count": 0,
|
|
"update_line": "",
|
|
"updated_at": "2026/01/14 10:00:00 +0000",
|
|
"created_at": "2026/01/10 09:00:00 +0000",
|
|
"tasks": [201, 202, 203]
|
|
}
|