-
Notifications
You must be signed in to change notification settings - Fork 0
Read File
David Haller edited this page Jul 9, 2018
·
6 revisions
URL : /files/:id?thumbnail=true|false
Method : GET
Auth required : NO
Set thumbnail=true to get a thumbnail of the file.
Warning: This method works without client authentication. An attacker could download files by just guessing file ids. This must be changed for production use, unfortunately using HTTP Basic Auth for file download does not work yet in the web/mobile clients, so auth has been disabled for demo purposes.
The Location
-header in the response indicates where the file can be found.
Thumbnail was requested, but file does not support thumbnails.
Authorization fails.
The permissions are not sufficient.
File does not exist.
The backend has no file storage configured.