Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last action timestamp #58

Open
seqizz opened this issue Jul 26, 2022 · 0 comments
Open

Last action timestamp #58

seqizz opened this issue Jul 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@seqizz
Copy link

seqizz commented Jul 26, 2022

Enhancement description

Hi there 馃憢

First of all, thanks for this 馃槵 API looks very promising!

One thing which would be nice to have, an endpoint which returns the timestamp of last modify action.

The problem it solves

I'm trying to write a cli app, which turned out to be extra slow, since I didn't cache yet (and you know how "easy" cache invalidation is 馃槵). Since I'll try to use todoist from multiple sources, I have no idea if there is a new change which is introduced by the other app (e.g. phone) before each run. Having a simple timestamp, accessible via cheap api call (way cheaper from pulling everything) would make cache invalidation easier.

Alternatives

I am currently pulling all tasks (or a whole project) depending on the requirement, before each action. I can maybe add it, but there is no way to know when to update, as long as other client can add/remove stuff. An optimistic timeout for the local cache might be helpful too.

@seqizz seqizz added the enhancement New feature or request label Jul 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant