Task Comment
A task_comment is a comment that belongs to a task.
Get the Comments for a Task or a List
GET a.wunderlist.com/api/v1/task_comments
name |
type |
notes |
task_id |
integer |
required |
or
name |
type |
notes |
list_id |
integer |
required |
Status: 200
json
[
{
"id": 1234,
"task_id": 1234,
"revision": 12,
"text": "Hey there",
"type": "task_comment",
"created_at": "2013-08-30T08:36:13.273Z",
"author": {
"id": 11111111,
"name": "EXAMPLE",
"avatar": "https:\/\/a.wunderlist.com\/api\/v1\/avatar?user_id=11111111"
}
}
]
Get a specific Comment
GET a.wunderlist.com/api/v1/task_comments/:id
Status: 200
json
{
"id": 1234,
"task_id": 1234,
"revision": 12,
"text": "Hey there",
"type": "task_comment",
"created_at": "2013-08-30T08:36:13.273Z"
}
Create a Comment
POST a.wunderlist.com/api/v1/task_comments
name |
type |
notes |
task_id |
integer |
required |
text |
string |
required |
json
{
"task_id": 1234,
"text": "Hey there"
}
Status: 201
json
{
"id": 1234,
"task_id": 1234,
"revision": 12,
"text": "Hey there",
"type": "task_comment",
"created_at": "2013-08-30T08:36:13.273Z",
"author": {
"id": 11111111,
"name": "EXAMPLE",
"avatar": "https:\/\/a.wunderlist.com\/api\/v1\/avatar?user_id=11111111"
}
}