We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
MarkMichaelis
5 years agoExplorer | Level 3
DeletedMetadata with ListRevisions
I use the Drpopbox API as follows:
The `ListFolder` API returns an item of type `DeletedMetadata`.
The `ListRevisions` API returns 0 revisions for the same item (using the path)
Restore the...
MarkMichaelis
5 years agoExplorer | Level 3
Hi Greg,
Thanks for following up.
The code is available on a fork of dbxcli. Line 175 captures when there are no revisions on DeletedMetadata.
I can't provide the time the file was originally deleted. That only works when revisions are available but there are no revisions.
Thanks,
Mark
Greg-DB
Dropbox Community Moderator
5 years agoI'm not sure exactly what scenario you're running in to here. Can you share the output of these API calls so I can take a closer look?
It may be easier to use the API v2 Explorer so you can see the API responses directly.
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!