serve_media
Retrieve uploaded media by UUID, including thumbnails or forced downloads, while enforcing public, authenticated, or signed-URL access rules.
Instructions
Serve Media Public media is served without authentication. Private media requires authentication with access to the linked record, or a valid signed URL. Private media not yet attached to a record is served only to the user who uploaded it. GET /uploads/{uuid} Tags: Media
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exp | No | Expiry unix timestamp of a signed media URL. (query parameter) | |
| sig | No | Signature of a signed media URL. Used together with `exp`. (query parameter) | |
| uuid | Yes | Media UUID. Prefix with `thumb_` to get an image thumbnail. (path parameter) | |
| download | No | Pass `1` to force a download instead of inline display. (query parameter) |