Skip to main content

Endpoint

Overview

Public file endpoint used by returned media URLs. No authentication is required.
  • /media/file/{id}: main file for user_media; audio file for social_audio
  • /media/file/{id}/preview: preview image when available
  • /media/file/{id}/audio: explicit audio path for social_audio

Path Parameters

string
required
Media ID.
'preview' | 'audio'
Optional file variant.

Response

Binary stream with appropriate Content-Type. The endpoint forwards HTTP range requests and returns 206 Partial Content when a Range header is provided. Common headers:
  • Accept-Ranges: bytes
  • Cache-Control: public, max-age=31536000, immutable

Example