cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Tell us what you want to see on the Community here!
Close

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: 

Get specific preview urls for each document revisions.

Highlighted

Get specific preview urls for each document revisions.

Explorer | Level 4

Can You help me please? Can I get the previewUrl for the specific document revision from the API. I use the https://api.dropboxapi.com/2/files/list_revisions API for getting document revisions list, but id properties for each getted item are equal.
Screenshot_12.png

The https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_file_metadata API requires the body file parameter that allows to set only Id or Path (Not revision. For Example: "rev:0159bc907e930bd0000000198913c40").

2 Replies 2
Highlighted

Re: Get specific preview urls for each document revisions.

Super Collaborator | Level 20

Hi @VictorNemiro,

I don't think support for such link is available currently. Probably you have to ask using feature request. Other workarounds are possible, which partially cover what you ask for. That might or might not work for you. As you mentioned "id" is expected. So give the id . Instead updating current file, you can replace it, so a new file gets up, even with same name and of course new id. You can query, every time such "update" gets done, for new link. In such a case only file id is need (would be different for every "revision"), nothing more! Significant drawback is limited validity of such link (till the moment file gets removed completely from Dropbox' storage, according your subscription).

The choice is yours.

Highlighted

Re: Get specific preview urls for each document revisions.

Dropboxer

@VictorNemiro As Здравко mentioned, this isn't available. It's not possible to get a preview URL for a specific previous revision of a file, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

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?