Download resource content
Resources
Download resource content
Streams an uploaded resource’s content from R2. Authorized by the signed capability URL (HMAC in the query string), not bearer auth.
GET
Download resource content
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Resource ID.
Required range:
x >= 1Query Parameters
Capability scope: r (read) or w (write).
Available options:
r, w Expiry as a Unix timestamp (seconds).
HMAC signature for the capability.
Response
The resource's binary content.
Binary file content.