media
Transform Image
Return a resized/re-encoded image variant, cached on disk.
Responses are immutable (1-year cache). Unknown/escaped paths or unsupported extensions return 404; render failures return 500.
get/api/v1/media/transform
Request
- Base URL: https://mcp.fless.io (the document declares no server; this is the origin it was published from)
- URL: https://mcp.fless.io/api/v1/media/transform
- Auth: none declared
Query parameters
pathstring required
Source path relative to the data dir, e.g. uploads/blog/images/abc.png
winteger
Target width in CSS pixels (height auto-scaled).
formatstring
Output format: webp | jpeg | png.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.