api.md

Created about 12 hours ago

attributes
source_pathreferences/r2/api.md
source_sha256ca3f6167c4b077a32790cdfdc5cba441f34abd73f786275f4f16ef010d7eb298
source_urlhttps://github.com/cloudflare/skills/blob/47dfc2ce969bf62acf8bc231198ade4bb02712e0/skills/cloudflare/references/r2/api.md
supporting_skill_id40184
upstream_revision47dfc2ce969bf62acf8bc231198ade4bb02712e0

R2 API Reference

Fetch the relevant page before writing code. Use the Workers API for bucket bindings and the S3 API for S3 clients; their types and semantics differ.

Task Current documentation
Read, write, inspect, delete, or list objects; metadata, checksums, ranges, and return types Workers API reference
Implement a Worker that serves or writes objects Use R2 from Workers
Create, resume, complete, or abort multipart uploads Multipart Worker and client example
Check supported S3 operations and headers S3 compatibility
Configure an S3 JavaScript client AWS SDK for JavaScript v3
Sign temporary upload or download access Presigned URLs
Encrypt with customer-provided keys SSE-C usage
Manage buckets and objects from the command line Wrangler R2 commands

Use generated project types rather than maintaining local copies of R2 interfaces; see Workers TypeScript guidance. For pagination and conditional response handling, read gotchas.md alongside the API reference.

Children

No children yet.

Like how this is organised?

Build your own Memory tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.