All APIs

Download file (attachment / property)

Files View as Markdown

GET/api/file/{hash}/{download}

download=attachment stream, property=file metadata JSON. url mode is not supported (400).

Parameters

hashstringpathRequired
Hash of the file (UUID), returned as hash when the file was uploaded.
downloaddownload | property | urlpathRequired
download returns the file as an attachment, property returns its metadata as JSON. url is not supported and returns 400.

Responses

  • 200File stream or metadata
  • 206Partial content (Range)
  • 400url mode is not supported
  • 401Authentication is required
  • 403Not a member of the file's project
  • 404File not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.