/v1/blogs/{subdomain}/mediaUploads a file (`multipart/form-data`) to the blog's media library and returns its public CDN URL. Use that URL as a post `coverImageUrl` or inside the Markdown content. The blog's storage quota applies: a request that would exceed the plan's media storage limit returns 403.
| Name | In | Type | Description |
|---|---|---|---|
subdomain* | path | string | Subdomain of the blog |
altText | query | string | Alternative text describing the media, for accessibility |
multipart/form-data
The file to upload
Public CDN URL of the uploaded file — use it as a `coverImageUrl` or inside post content
Original filename of the uploaded file
Size of the uploaded file, in bytes
/v1/blogs/{subdomain}/mediacurl -X POST \
-H "Accept: application/json" \
"http://localhost:8080/v1/blogs/<subdomain>/media"/v1/blogs/{subdomain}/mediacurl -X POST \
-H "Accept: application/json" \
"http://localhost:8080/v1/blogs/<subdomain>/media"