Assets
Get HLS segment or init file
Changed onStreams an HLS init segment (init.mp4) or media segment (seg_N.m4s).
get/assets/{id}/video/stream/{sessionId}/{variantIndex}/{filename}
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/assets/{id}/video/stream/{sessionId}/{variantIndex}/{filename}
- Auth: one of:
- HTTP bearer
- API key in cookie immich_access_token
- API key in header x-api-key
Path parameters
filenamestring required
idstring uuid required
sessionIdstring uuid required
variantIndexinteger required
Query parameters
keystring
slugstring
Headers
x-immich-hls-msninteger
Changes
- info
added the new optional
headerrequest parameterx-immich-hls-msn
- info
- info
endpoint added
- info