Перейти до основного вмісту

Download or preview a media file

GET 

/media/:filename

Serves the original bytes for a relative path beneath the media root using the detected content type. Browsers may display supported media inline; automation can use the same route to download the file. Missing paths return 404 and traversal outside the library is not permitted.

Request​

Responses​

Raw file content using the detected media type.