LiquidFiles Documentation
LiquidFiles Documentation

Download File Shares API

Request Info
Info Value
Request URL /shares/_share_id_/folders/_folder_id_/files/_file_id_/download
Request VERB GET
Request Parameters
Parameter Type Description
revision integer (Optional) If you don't want to download the current revision.
HTTP Status Descrption
200 The file download was successful. The response body will contain the raw file data.
404 The file was not found.

In addtion to the HTTP response, the following HTTP headers will be set for the downloaded file:

HTTP headers for the download response
HTTP header Descrption
Content-Type The files original (or detected if not provided) Content-Type.
Content-Length The file size in bytes.
Content-Disposition The Content Disposition will contain the filename.

Example Request in JSON

curl -X GET -H "Accept: application/json" -H "Content-Type: application/json" --user nkpIxMK9ucUUE7FvfNpdAf:x