Uploads
Cloudflare R2 presigned uploads
| Method | Path | What it does |
|---|---|---|
| POST | /api/uploads/presign | Get a presigned R2 PUT URL for a room cover image |
Get a presigned R2 PUT URL for a room cover image#
POST
/api/uploads/presignSessionStaff-only. Requires the caller to hold at least the admin role on the room's venue. Embed API keys are not accepted here.
Example request body
json
{
"roomId": "room-01",
"contentType": "image/jpeg"
}Responses
| Status | Meaning |
|---|---|
200 | { url, key, publicUrl } |