Fetch a stored file (public, unauthenticated)
Generic public file-serving route shared by every feature that stores user-uploaded files through this service's media layer — bio-page avatar/background images today. Published bio pages are public, so the images they embed must be fetchable without a token; this proxies the stored object rather than exposing a raw bucket URL, matching the canvas asset-serving pattern.
View as MarkdownPath Parameters
Opaque storage key returned (as the path segment after /media/) by any upload endpoint that stores files through this shared media layer — currently uploadBioMedia's theme.avatarUrl/bgImageUrl.
Response Body
image/*
application/json
curl -X GET "https://example.com/media/string""string"Remove the page's avatar or background image
Deletes the stored object (if any) and clears the corresponding theme field. Idempotent — deleting an already-empty kind still returns 204.
Preview a bio page (owner-only, works while unpublished)
Renders the same HTML as the public esrx.ly/@handle page, scoped to the caller's own page and independent of its published state — so a draft's theme/layout can be checked before it ever goes live. Unlike the public route, this never increments the page's view counter.