box-community / box-javascript-sdk

A promise-based client-side SDK for making requests to the Box API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get the download_url of a version of a file

EmmanuelCarrara opened this issue · comments

Hi,

I'm using the getDownloadUrl function, and I need to know if it works with versions of files. So far I tried setting the options.version parameter, but it always retrieve the url of the latest file.
I also tried to call the 'files/file_id/version/version_id' endpoint with the "download_url" field parameter, but it does not return any value.

Is there any other way to get the "download_url" of a version of a file?