media

Stream Branded Video

Stream branded video file through authenticated endpoint.

This endpoint serves branded video files with proper authentication via API key middleware. Supports both local filesystem and Hetzner media server fallback. Each video request counts as an API call, maintaining proper metering and content protection.

Args: filename: Video filename (e.g., 'male-Barbell-barbell-curl-front.mp4'). settings: Application settings injected via dependency.

Returns: FileResponse or StreamingResponse with the video file.

Raises: HTTPException: 403 if path attempts to escape media directory. HTTPException: 404 if video file not found anywhere.

Example: GET /stream/videos/branded/male-Barbell-barbell-curl-front.mp4

get/stream/videos/branded/{filename}

Request

  • Base URL
    https://api.musclewiki.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

filenamestring required

Response

Successful Response

unknown required

Changes

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