Get the HLS master playlist
GET
/api/v1/video/{item_id}/hls/master.m3u8
const url = 'https://example.com/api/v1/video/example/hls/master.m3u8';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/video/example/hls/master.m3u8 \ --header 'Authorization: Bearer <token>'Return a playlist for the available renditions of a video. The server queues missing renditions and returns 202 with a retry hint until at least one is ready. Route: /api/v1/video/{item_id}/hls/master.m3u8. Inputs: item_id. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”item_id
required
string
Responses
Section titled “Responses”HLS master playlist
Media typeapplication/vnd.apple.mpegurl
Renditions are queued
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}