Site Media
List a site's uploaded images and get direct-upload targets for new ones.Updated 14d ago
Required scope: content:read 200 OKGET /api/v1/sites/{siteId}/media?cursor=0&limit=24 Authorization: Bearer av_live_…
Required scope: content:write 201 Created Then PUT the raw bytes with exactly the returned headers:POST /api/v1/sites/{siteId}/media/upload Authorization: Bearer av_live_… Content-Type: application/json { "contentType": "image/png", "size": 482133 }
Once the PUT succeeds, embed publicUrl in page MDX or metadata:curl -X PUT -H 'Content-Type: image/png' \ --data-binary @cover.png '…upload.url…'
<Media src="https://…/site-media/SITE_ID/1754900000000-ab12cd.png" alt="Launch cover" />