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
Lechucico
8 years agoHelpful | Level 6
Metadata instanceof DeletedMetadata and FileMetadata
Hello,
I would like to know if there's any way of check if the Metadata of a certain entry is of type DeletedMetadata and FileMetada but not FolderMetadata.
Like the following:
...
Lechucico
Helpful | Level 6
I've found a problem. By default, folders doesn't seem to have revision, since if I try to list revisions for a folder an exception raises.
But there's a problem:
When I receive a webhook with a DeleteMetadata I check the list revision of that path for see what was there before, and there's a problem:
- I create a file 'hello' without extension.
- I Remove it.
- I create a folder 'hello'
- Now if I remove the folder, the revisions of the old file appears.
When are removed the revisions?
I've cleaned the bin and revisions still appears from that file.
Greg-DB
8 years agoDropbox Staff
That's correct, folders are not considered to have revisions.
File revisions are stored for 30 days by default, or longer depending on the account type/features: https://www.dropbox.com/help/space/older-versions
File revisions are stored for 30 days by default, or longer depending on the account type/features: https://www.dropbox.com/help/space/older-versions
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,919 PostsLatest Activity: 10 hours ago
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!