We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
dbjkr
8 years agoExplorer | Level 3
Best Practices: Files Batch Deletion (delete_batch & delete_batch/check)
Hi there! Just wondering what is the best practice to wait until batch operation (e.g. files batch deletion) is completed? Specifically, how often should I call /delete_batch/check endpoint (to know...
- 8 years ago
We don't have any official documentation on how long you should wait between checking on jobs like this. A few seconds, say 5s, seems reasonable. Whether to use a constant or variable period is also up to you.
We don't provide firm guidance on this because how long any particular job takes depends on a few factors, which can vary over time, and per job and account. You may want to try a few, see what is typical for your use case, and customize accordingly.
There is a rate limiting system, as well as some amount of locking involved, so we do recommend using the batch calls whenever possible.
Greg-DB
Dropbox Community Moderator
8 years agoWe don't have any official documentation on how long you should wait between checking on jobs like this. A few seconds, say 5s, seems reasonable. Whether to use a constant or variable period is also up to you.
We don't provide firm guidance on this because how long any particular job takes depends on a few factors, which can vary over time, and per job and account. You may want to try a few, see what is typical for your use case, and customize accordingly.
There is a rate limiting system, as well as some amount of locking involved, so we do recommend using the batch calls whenever possible.
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!