cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Downloading, Getting metadata and Revisions of shared to me file

Explorer | Level 3

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'.

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Downloading, Getting metadata and Revisions of shared to me file

Dropboxer
Dropboxer

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. 

View solution in original post

1 Reply 1
Highlighted

Re: Downloading, Getting metadata and Revisions of shared to me file

Dropboxer
Dropboxer

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. 

View solution in original post

Work Smarter with Dropbox

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.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?