Download a file
GET/api/v1/files/:fileId/download
Download a file by its ID. Only the user who uploaded the file can download it.
Request
Responses
- 200
- 401
- 403
- 404
- 410
- 500
File downloaded successfully
Response Headers
Content-Disposition
Attachment with original filename
Content-Type
The MIME type of the file
Content-Length
The size of the file in bytes
Unauthorized
Access denied - not the file owner
Not Found
File has been deleted and is no longer available
Internal server error