files
Get Named File
Stream a token-referenced R2 object, named by the path segment.
download_name is the trailing URL path segment. It is only a cosmetic hint so the browser names the download/inline-view correctly (Chrome's PDF viewer reads the filename from the path); the signed t token is the sole authority for which object is served.
get/api/v1/files/{download_name}
Path parameters
download_namestring required
Query parameters
tstring required
HMAC-signed file-download token.
HMAC-signed file-download token.
dispositionstring
'inline' (default) or 'attachment' to force a download.
'inline' (default) or 'attachment' to force a download.
Response
Successful Response
{"stackTrail":"paths:/api/v1/files/{download_name}:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.