Hi All,
Newer to Dropbox development so my apologies for any noobishness. I haven't seen another solution on stackoverflow or this forum.
I'm attempting to list out all files and folders that have been soft-deleted, including shared items. My solution successfully lists out non-shared items and I can list out shared items but not items that are both deleted and shared. Is this something I'm doing or an issue with the API?
Here's a source excerpt...
DbxUserSharingRequests sharing = client.sharing();
ListFoldersResult listSharedFolderResults = sharing.listFolders();
List<SharedFolderMetadata> sharedFolders = listSharedFolderResults.getEntries();
for(SharedFolderMetadata sharedFolder : sharedFolders) {
System.out.println("Found shared folder: " + sharedFolder.toStringMultiline());
}
ListSharedLinksResult listSharedFileResults = sharing.listSharedLinksBuilder().withDirectOnly(false).start();
List<SharedLinkMetadata> sharedFiles = listSharedFileResults.getLinks();
for(SharedLinkMetadata sharedFile : sharedFiles) {
System.out.println("Found shared file: " + sharedFile.toStringMultiline());
}
Any thoughts on this very welcome!
Thanks,
Dan