Closed flyingrub closed 8 years ago
Provide a file url with a token allowing us to attach or download the file.
cozysdk.getFileURL(id, 'file', (err, resp) => { console.log(resp); })
return (in the dev environement) for exemple "http://Cozic-v2:test@localhost:9104/ds-api/data/5a0613ca19f0162112b79a7b0a00564f/binaries/file"
"http://Cozic-v2:test@localhost:9104/ds-api/data/5a0613ca19f0162112b79a7b0a00564f/binaries/file"
Provide a file url with a token allowing us to attach or download the file.
return (in the dev environement) for exemple
"http://Cozic-v2:test@localhost:9104/ds-api/data/5a0613ca19f0162112b79a7b0a00564f/binaries/file"