GET storage/v1/hls/

Obtain the HTTP Live Streaming (HLS) playlist, or a single segment in a HLS video.

Resource URL

https://{STORAGESERVICE_HOST}[:PORT]/storage/v1/hls/

Resource Information

Response formats HLS playlist, HLS video segment
Requires authentication? No
Required scope Not applicable

Parameters

UMID

required

The Unique Media Identifier (UMID) of the file to retrieve.

Alternate Parameters

UMID with Index

required

The Unique Media Identifier (UMID) of the file to retrieve, in addition to an index of the segment requested.

In the format: {UMID}-{Index} for the{Index}-th segment.

Response

If successful, either the HLS playlist or the video segment is returned depending on the input used with HTTP header 200. Returns standard error response on failure.

Example Request

For the playlist:

curl -i -X GET \
   https://{STORAGESERVICE_HOST}[:PORT]/storage/v1/hls/0x060a2b340101010201010f1213006b8aaea0390261530580030b000C2939AFE4

For a segment:

curl -i -X GET \
   https://{STORAGESERVICE_HOST}[:PORT]/storage/v1/hls/0x060a2b340101010201010f1213006b8aaea0390261530580030b000C2939AFE4-1