None of the v2 get_meta endpoints return any metadata regarding deleted files even though the documentation says they do is include_deleted = true.
How does one go about getting the modified time of a file or folder after it's been flagged for deletion?
Thanks for reaching out. Supplying `include_deleted` to a metadata endpoint should return the correct deleted metadata. However, if you just recently deleted the Dropbox object, there can be a small delay (should never be more than a minute) where the deleted metadata is populated.
Have you tried waiting for a small period of time before requerying to check for deleted metadata?
Thanks for following up, and apologies for any confusion. It sounds like you are getting DeletedMetadata returned, and those are expected fields for a DeletedMetadata object. You can find the documentation for it if you click to expand "DeletedMetadata" in the HTTP documentation, e.g., under /2/files/get_metadata.
Dropbox API v2 doesn't return the modified datetime for deleted entries, but we'll consider it a feature request.
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.Sound good? Let's get started.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!