Learn how to make the most out of the Dropbox Community here 💙.
Learn how to make the most out of the Dropbox Community here 💙.
Hi Greg_K.
This is making it very complex and, I think, requiring lots of unnecessary API calls.
When a new folder is uploaded, I need to make a playlist from the mp3 files and share it.
So I detect when the folder is likely to be "settled" by seeing if the most recent file is older than 5 minutes. At which point I run
To have content_hash on folders would be amazing and save all those calls!
(To have public-style folders back would be even more amazing!)
Unless I am missing a trick here?
To monitor changes on a folder like this, I recommend using the cursor functionality offered by /2/files/list_folder[/continue]. You can store the latest returned 'cursor' from any /2/files/list_folder[/continue] result, and then later call back to /2/files/list_folder/continue to get information about only what's changed since you last called. That way you don't have to process everything over again.
To monitor changes on a folder like this, I recommend using the cursor functionality offered by /2/files/list_folder[/continue]. You can store the latest returned 'cursor' from any /2/files/list_folder[/continue] result, and then later call back to /2/files/list_folder/continue to get information about only what's changed since you last called. That way you don't have to process everything over again.
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 or Facebook.
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!