Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
blueli
2 years agoExplorer | Level 4
How to correctly use the /files/list_folder/continue endpoint to retrieve the latest added files?
Hello So basically I am working on automation. However, I cannot figure out how to use the "cursor" correctly. My flow is simple. 1. A webhook is triggered by new files added to Dropbox. 2. Use ...
- 2 years ago
blueli wrote:...
But I can only get the latest added items from the cursor from step 0 for the step 3
According your explanation, that's what you try to do. Right? Correct me if I misunderstood something.
Once you keep the CURRENT last cursor, received from the last call to /2/files/list_folder/continue, the next time of execution with this cursor /2/files/list_folder/continue will give you the next changed things (files and/or folders). You have to save again the new latest cursor that will become the new current till the next change etc.
Greg-DB
Dropbox Community Moderator
2 years agoblueli As Здравко said, you can save the latest received cursor (whether from /2/files/list_folder or /2/files/list_folder/continue) and call /2/files/list_folder/continue again later to get the new changes since then; at that point you can then save the new cursor returned by /2/files/list_folder/continue. You don't need to call /2/files/list_folder every time you get a webhook notification.
blueli
2 years agoExplorer | Level 4
Thank you both of you. I understand it now
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!