ForumsDevelopersSome small API updates


Some small API updates
Author Message
Jake

Toodledo Founder
Posted: Aug 11, 2008
Score: 0 Reference
A few new things have been added to the API to allow developers to more efficiently use it.

The getAccountInfo API call contains the following timestamps:

lastaddedit : A timestamp that indicates the last time that any task was added or edited on this account. You can quickly check this field to determine if you need to download updates.
lastdelete : A timestamp that indicates the last time that any task was deleted from this account. You can quickly check this field to determine if you need to identify and remove tasks from your application.
lastfolderedit : A timestamp that indicates the last time that a folder was added, edited or deleted. You can quickly check this field to determine if you need to call getFolders to refresh your cached folder list.
lastcontextedit : A timestamp that indicates the last time that a context was added, edited or deleted. You can quickly check this field to determine if you need to call getContexts to refresh your cached context list.
lastgoaledit : A timestamp that indicates the last time that a goal was added, edited or deleted. You can quickly check this field to determine if you need to call getGoals to refresh your cached goal list.

The last three were added today. This should help developers avoid excessive API calls and optimize network traffic.

Thanks


This message was edited Aug 11, 2008.
You cannot reply yet

U Back to topic home

R Post a reply

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