+ Add Question

API: New Inbox

Is there any way to query the new inbox? I used to use my own inbox project and was able to pull the cache count, but when I pull my projects now the new inbox shows up as empty.

All responses

David Trey staff
Replied on Aug 20, 2013 - 19:45 UTC

Hello John,

Please clarify - are you using the unique ID of the inbox? It has an ID just as any other project on Todoist.


Best regards,
David

john.manuel.mendez premium
Replied on Aug 20, 2013 - 19:51 UTC

David,

I used

getProjects and getProject?project_id

Both returned a zero cache count.

David Trey staff
Replied on Aug 20, 2013 - 20:03 UTC

John,

I will pass this to the developers and let you know as soon as I hear back from them.


Best regards,
David

David Trey staff
Replied on Aug 21, 2013 - 19:27 UTC

John,

Unfortunately, the "cache_count" project attribute isn't updated anymore (for all projects, not for Inbox only). It's deprecated and we'll add this information to the API documentation.


Best regards,
David

john.manuel.mendez premium
Replied on Aug 22, 2013 - 17:54 UTC

Sorry but that makes no sense to me. If it's no longer used, how am I supposed to know what information is available using the api? Am I only going to know what my projects are but not what's in them?

David Trey staff
Replied on Aug 22, 2013 - 18:32 UTC

John,

I was only referring to the "cache_count" project attribute.


Best regards,
David

john.manuel.mendez premium
Replied on Aug 22, 2013 - 18:53 UTC

Sorry, I don't think I made myself clear. Here's a scenario. I want to pull down how many items are in my inbox so that my mobile personal assistant can tell me when I wake up how many items still need review. If I use getUncompletedItems, I get all items which is way more data than I need. If I call getProject, I get no information regarding the items in the project. So is it safe to assume that data is not available?

David Trey staff
Replied on Aug 23, 2013 - 18:26 UTC

John,

According to the developers there are different ways to figure this out: login the user, look at User.inbox_project, fetch items from the inbox project etc.


Best regards,
David