Get raw workspace image content
GET/api/workspace/raw
Returns original image bytes for an ordinary image file in the workspace filesystem. MPK archive-member paths are not supported by this endpoint. This route is intended for browser <img> sources and binary consumers; use the JSON file-preview endpoint for text and metadata. Non-image or inaccessible paths return an error rather than arbitrary file bytes.
Request
Responses
- 200
- 400
- 403
- 404
- 500
Raw image bytes using the detected media type.
Missing or invalid request data.
The requested path escapes the allowed root.
The requested resource was not found.
A local operation failed.