cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FilesRoutes.DownloadAsync Method (String, String) Revision Format .Net

FilesRoutes.DownloadAsync Method (String, String) Revision Format .Net

Filip J.1
New member | Level 1

DownloadAsync specifies that its second argument is deprecated and you should specify the revision in the path.

How exactly do we specify the revision in the path? 

Do we just append it to the very end of the path?

Is there a specific format we are supposed to use? 

3 Replies 3

Greg-DB
Dropbox Staff

Apologies that isn't better documented! You would specify a rev in the path parameter like this: "rev:a1c10ce0dd78". That is, the string "rev:", followed by the rev value for the file and version you want.

Filip J.1
New member | Level 1

So if I was doing a string concatenation, the format for the first parameter would look like this

First Parameter = (path to file) + rev: + (rev value)

ie: First Parameter = testfolder/file.docxrev:a1c10ce0dd78

Is this correct? 

Greg-DB
Dropbox Staff

No, just the string "rev:a1c10ce0dd78" is sufficient to identify both the file and revision, so that's all you should supply.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Filip J.1 New member | Level 1
What do Dropbox user levels mean?