Jump to content

Community

REST API Documentation

/downloads/files/{id}/download


Download a file, increments download counter

This endpoint is only available for requests made using an OAuth Access Token for a particular member, not using an API Key or the Client Credentials Grant Type.


Parameters

Name Type Description
version int If specified, will show a previous version of a file (see GET /downloads/files/{id}/versions)

Exceptions

Code Message Description
2S303/M INVALID_ID The file ID does not exist or the authorized user does not have permission to view it
2S303/N NO_PERMISSION The file cannot be downloaded by the authorized member
2S303/O INVALID_VERSION The version ID does not exist

Response

Name Type Description
files array of file objects The files

file object

Name Type Description
name string The filename
url string URL to where file is stored
size int Filesize in bytes
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy