Datei über Hash abrufen
Serves the file identified by hash. Access is granted when:
- the caller is authenticated (session cookie or bearer token) and the file belongs to a space they are a member of, or
- a valid
keyquery parameter is supplied (public/shared-link access), or - the file has been shared to the public space.
The response is the raw file bytes with the original Content-Type and Content-Disposition headers.
Pass ?redirect=1 to receive a 302 redirect to the underlying signed S3 URL instead.
| Path Parameters |
|---|
hash string — REQUIREDSHA-256 hash of the file, base64url-encoded (returned by the upload endpoint as the Example:
|
| Query Parameters |
|---|
download stringWhen present (any value), sets |
redirect stringWhen present, returns a |
key stringPublic share key. Allows unauthenticated access when the file has been shared with a key. |
chunk uuidChunk/card ID to verify the file belongs to a specific card. |
| Responses | ||
|---|---|---|
200File content with original MIME type.
| ||
302Redirect to signed S3 URL (only when | ||
404File not found or access denied.
|