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.
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
David, I usedgetProjects and getProject?project_idBoth returned a zero cache count.
John,I will pass this to the developers and let you know as soon as I hear back from them.Best regards,David
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
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?
John,I was only referring to the "cache_count" project attribute.Best regards,David
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?
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