api
api copied to clipboard
[Request] Get all tasks for an user, regardless of list.
If I want to programatically trigger any action on the creation of a new task, regardless of which list it was created on, currently the only way around I can think of (not even sure if possible) would be to:
-
GET a.wunderlist.com/api/v1/root
and checkrevision
until it changes - Fetch all lists available with
GET a.wunderlist.com/api/v1/lists
- Loop through each list with
GET a.wunderlist.com/api/v1/tasks
and progressively build up a global tasks list.
I understand that Tasks are childs of Lists, so maybe, okay, it might not be trivial to implement this by making parameter
list_id
inGET a.wunderlist.com/api/v1/tasks
optional, making it accept -1, etc.
But I mean... it looks – for me – as simple as it gets: "fetch all tasks for a user". If the problem is really related to the parent<>child issue this, could maybe be a method of the user object or something like that... :man_shrugging:
Is there any particular reason this is not a feature already?