ForumsDevelopersFirst Sync, if the user have > 1000 tasks
First Sync, if the user have > 1000 tasks
Author |
Message |
ykphuah
|
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.
|
Jake
Toodledo Founder
|
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
U Back to topic home
R Post a reply
To participate in these forums, you must be signed in.