We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

NemiroViktor's avatar
NemiroViktor
Explorer | Level 3
5 years ago

Downloading, Getting metadata and Revisions of shared to me file

Hello.
How I can get a list of revisions (and other data) of the shared to me file (Only a file is shared, not folder).

I uses the method client.Sharing.ListReceivedFilesAsync() for  getting the list of shared to me files. 
But all the methods (client.Files.DownloadAsync(entry.Id), client.Files.ListRevisionsAsync(entry.Id), client.Files.GetMetadataAsync(entry.Id)) returns the error 'path not found'.

  • You can use /2/sharing/get_shared_link_metadata and /2/sharing/get_shared_link_file to get the metadata and file content for a shared file, respectively, by passing "preview_url" as the "url" parameter.

    The Dropbox API doesn't offer a way to list the revisions for a shared file like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    You can use /2/sharing/get_shared_link_metadata and /2/sharing/get_shared_link_file to get the metadata and file content for a shared file, respectively, by passing "preview_url" as the "url" parameter.

    The Dropbox API doesn't offer a way to list the revisions for a shared file like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,875 PostsLatest Activity: 2 hours ago
325 Following

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!