Download a single-file share via 302 redirect
GET/api/v1/shares/:shareId/download
Convenience endpoint for shares of type files containing exactly one live file: responds 302 Found pointing at the presigned storage URL. Only available when app.allow_redirect_download is enabled. Requires a valid safebucket_share_token cookie if the share is password-protected.
Request
Responses
- 302
- 403
- 409
Redirect to the presigned download URL
Redirect downloads disabled on this deployment (REDIRECT_DOWNLOAD_DISABLED)
Share is not of type files or does not contain exactly one downloadable file (SHARE_NOT_SINGLE_FILE)