Reputation: 3157
The documentation for the Dropbox API download request, which I found here states the following:
rev deprecated String(min_length=9, pattern="[0-9a-f]+")? Field is deprecated. Please specify revision in path instead. This field is optional.
However, I've been unable to find any documentation of what the path
with a revision looks like.
Even the Dropbox API Explorer for download shows rev
as a parameter for the API request.
Does anyone know how you actually construct a path for the download request, of the Dropbox API that contains the revision?
Upvotes: 0
Views: 124
Reputation: 16930
The 'rev' parameter is deprecated in favor of supplying the rev value in the 'path' parameter instead, as you pointed out. The 'path' parameter supports:
path
String(pattern="(/(.|[\r\n])*|id:.*)|(rev:[0-9a-f]{9,})|(ns:[0-9]+(/.*)?)")
Specifically, you would supply a value like rev:abcd1234
where 'abcd1234' is the rev you want to download.
That would look like this in the API v2 Explorer, for example:
Upvotes: 1