You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
zishanmohsin
9 years agoExplorer | Level 3
Restore Folder
How can we restore a dropbox folder using java api?
Hchauhan
New member | Level 2
Thanks, Greg. Is there any workaround using api?
Greg-DB
2 years agoDropbox Staff
Hchauhan You'd need to use the /2/files/restore endpoint (or corresponding method in an SDK) to restore each file as needed.
- Hchauhan2 years agoNew member | Level 2
Thanks. I understand. Calling ListFolderAsync on a deleted folder returns path not found error. How do I get the names\ids of the files which are in the deleted folder so I can restore them?
- Greg-DB2 years agoDropbox Staff
Hchauhan The Dropbox API does not currently support directly listing the contents of a deleted folder, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. To work around that, you would need to either use the metadata you had previously retrieved from the API before the deletion, or list the items using a non-deleted parent folder, or recreate the deleted folder and then list the deleted contents.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 2 days agoIf 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!