Unread topics or posts


Unread posts



Forums > Developers

First Sync, if the user have > 1000 tasks


Posted: Aug 14, 2013
Score: 0

Recently a user complained that my app doesn't pull down all his tasks. He claimed to have a lot of tasks, almost 2000 completed ones.

After some checking, I realize that there's a default of 1000 tasks on the Tasks Get API.

So what I should be doing is to check the "total" field in the reply, and if its more than 1000, do another Get request with start=1000? Is that correct? This should be repeated until I have fetched every tasks.

Toodledo Admin
Posted: Aug 15, 2013
Score: 0

Yes, that is correct. If the user has more than 1000 tasks you will need to fetch all of them in pages.
You cannot reply yet

To participate in these forums, you must be signed in.

Toodledo Forums > Developers

Contact Us | Blog | API | Jobs | Press | Documentation | Forums Privacy | Terms | Copyright © 2004-2014