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
- Base URLhttps://api.prototyping.io (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.