Hello,
In my application I've implemented this logic in order to reduce significatly the traffic, but get_last_cursor() doesn't seem to work properly.
- I store the cursor from my last list_folder/continue recursive call to a specific path.
- Webhook get triggered by Dropbox, so I call get_last_cursor() at the same path.
- I compare the retrieved cursor with the stored one, if not matching, I proceed to update the information with list_folder/continue with the OLDER stored cursor set at the same path.
- After information update, repeat from point 1.
Issue: In the next call get_last_cursor() result always changes so It's also never matching my stored cursor, even if no edit nor API calls has been done at the specified path, making the optimization worthless.
I also tried to store the cursor from an extra get_last_cursor() call just after the recursive call from last list_folder/continue, but with same result.
From api docs "A way to quickly get a cursor for the folder's state.", but looks like the folder's state is constantly changes, even if it's not.
How can I solve?
Thanks in advance.