Is it possible to get metadata of a deleted folder using v2 API?
We would like to get ID of folder which has been deleted.
Do you know the path of the folder which has been deleted? If so, this is possible using /files/get_metadata, which will return a DeletedMetadata subtype if the file/folder at the requested path has been deleted. (However, the DeletedMetadata object does not include the folder's ID, only its path and name.) If you don't know the path of the folder that was deleted, you can use /list_folder, passing the parameter "include_deleted" as "true," to include metadata entries for deleted files and folders.
Hi, I have same problem - i decided to switch to API v2 (SwiftyDropbox) after using Core API v1 in my project.
In v1, when i deleted files i was still getting deleted metadata, but when trying to get meta of deleted files and folders in v2, i'm getting path not found error.
Is there any update on this issue?
I can note a similar issue with the SwiftyDropbox SDK using the V2 API. While listFolder(), when used with includeDeleted set to true does include the names of deleted files, a getMetadata() call fails, returning a .tag of "not_found", rather than a Files.DeletedMetadata conformant object. I guess this is a bug/omission, since V2 is so new.
Gregory, is there an ETA on this defect, or somewhere I should file it? I did add an issue on the SwiftyDropbox github site.
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!