API referencePlayback
Variant HLS playlist
Variant HLS playlist
GET
/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8Returns one rendition's playlist with signed CDN segment URLs and, for
encrypted videos, a signed key URL. Auth: the t/e/s signed-URL
query trio. Served with Cache-Control: no-store.
Error codes: signature_invalid (403), signature_expired (403),
session_invalid (403), referrer_not_allowed (403),
manifest_not_found (404).
Authentication
- This operation needs no authentication.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
videoId | path | string (Ulid) | Yes | — |
rung | path | string | Yes | Rendition name, for example 360p or 720p. |
t | query | string | Yes | base64url HMAC-SHA256 over <path>|<expiry>|<sessionId>. Minted by the server into manifestUrl; clients never construct it. |
e | query | integer | Yes | Token expiry as a Unix timestamp in seconds. |
s | query | string (Ulid) | Yes | Playback session id the token is bound to. |
Request body
This operation takes no request body.
Responses
| Status | Meaning |
|---|---|
200 | The variant playlist. |
403 | The credential is valid but does not permit this action. The per-operation description lists the exact error.code values. |
404 | The resource does not exist or is not visible to this caller. |
Try it
GET
/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8No authentication
API playground
Send a live request to the Videohati API; this operation needs no authentication.
Rendition name, for example `360p` or `720p`.
base64url HMAC-SHA256 over `<path>|<expiry>|<sessionId>`. Minted by the server into `manifestUrl`; clients never construct it.
Token expiry as a Unix timestamp in seconds.
Playback session id the token is bound to.
https://api.staging.videohati.com/v1/playback/manifest/{videoId}/{rung}/playlist.m3u8