media

Download a media file

Stream the media asset's file bytes. Supports HTTP Range requests for partial downloads.

Notes.

  • HTML, SVG and script files are served as application/octet-stream attachments, never inline.
get/v1/media/{id}/file

Request

  • Base URL: https://api.brixsignage.com
  • URL: https://api.brixsignage.com/v1/media/{id}/file
  • Auth: HTTP bearer

Path parameters

idstring required

Media asset id.

Query parameters

wstring

Images: resize to this width (a thumbnail).

hstring

Images: resize to this height.

fit'cover' | 'contain' | 'scale-down' | 'crop' | 'pad'

How a resized copy fits w × h (default cover).

Response

Success. The body is the file itself.

Changes

No recorded changes to this operation across all 2 revisions of this API.