api icon indicating copy to clipboard operation
api copied to clipboard

[Request] Get all tasks for an user, regardless of list.

Open esauvisky opened this issue 5 years ago • 0 comments

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:

  1. GET a.wunderlist.com/api/v1/root and check revision until it changes
  2. Fetch all lists available with GET a.wunderlist.com/api/v1/lists
  3. 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 in GET 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?

esauvisky avatar Apr 27 '19 04:04 esauvisky