A list may or may not belong to a folder.
GET a.wunderlist.com/api/v1/folders
Status: 200
json
[
{
"id": 83526310,
"title": "Personal Stuff",
"list_ids": [1, 2, 3, 4],
"created_at": "2013-08-30T08:29:46.203Z",
"created_by_request_id": "5541b1d86e925e2dd7e5",
"updated_at": "2013-08-30T08:29:46.203Z",
"type": "folder",
"revision": 10
},
...
]
GET a.wunderlist.com/api/v1/folders/:id
Status: 200
json
{
"id": 83526310,
"title": "Personal Stuff",
"list_ids": [1, 2, 3, 4],
"created_at": "2013-08-30T08:29:46.203Z",
"created_by_request_id": "5541b1d86e925e2dd7e5",
"updated_at": "2013-08-30T08:29:46.203Z",
"type": "folder",
"revision": 10
}
POST a.wunderlist.com/api/v1/folders
name | type | notes |
---|---|---|
title | string | required (maximum length is 255 characters) |
list_ids | array of integers | required (list of ids) |
{
"title": "My first Folder",
"list_ids": [1, 2, 3, 4]
}
Attention: The list_ids
attribute keeps track of the Lists that are part of that Folder. The list_ids
attribute doesn't reflect the order. If you add Lists to your folder you still need to sort the Lists via the list_positions
feature to support clients without the Folder feature.
Info: The created Folder is automatically owned by the User who creates it. Only the owner of a Folder can actually see/request it.
Status: 200
json
{
"id": 83526310,
"title": "My first Folder",
"list_ids": [1, 2, 3, 4],
"created_at": "2013-08-30T08:29:46.203Z",
"created_by_request_id": "5541b1d86e925e2dd7e5",
"updated_at": "2013-08-30T08:29:46.203Z",
"type": "folder",
"revision": 1
}
PATCH a.wunderlist.com/api/v1/folders/:id
name | type | notes |
---|---|---|
revision | integer | required |
title | string | optional (maximum length is 255 characters) |
list_ids | array of integers | optional (list of ids) |
{
"revision": 1000,
"title": "My renamed Folder"
}
Status 200
{
"id": 83526310,
"title": "My renamed Folder",
"list_ids": [1, 2, 3, 4],
"created_at": "2013-08-30T08:29:46.203Z",
"created_by_request_id": "5541b1d86e925e2dd7e5",
"updated_at": "2013-08-30T08:29:46.203Z",
"type": "folder",
"revision": 2
}
DELETE a.wunderlist.com/api/v1/folders/:id
name | type | notes |
---|---|---|
revision | integer | required |
Status 204
GET a.wunderlist.com/api/v1/folder_revisions
Status: 200
[
{
"id": 83526310,
"type": "folder_revision",
"revision": 10
},
...
]