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}

Request

Path parameters

download_namestring required

Query parameters

tstring required

HMAC-signed file-download token.

dispositionstring

'inline' (default) or 'attachment' to force a download.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.