Download a shared file via 302 redirect
GET/api/v1/shares/:shareId/files/:fileId/download
Redirect variant of the presigned-URL endpoint: responds 302 Found pointing at the presigned storage URL. Only available when app.allow_redirect_download is enabled. Note: unlike the other share endpoints, this path is currently not on the authentication bypass list, so it requires a regular authenticated session in addition to the share cookie.
Request
Responses
- 302
- 403
- 404
Redirect to the presigned download URL
Redirect downloads disabled on this deployment (REDIRECT_DOWNLOAD_DISABLED)
File not found or not part of this share (FILE_NOT_FOUND)