# Dash Manifest Endpoint

API call format:

GET /broker/vod/list/dash/<source_guid>

Description

This call returnd XML file with information for all available DASH video formats.

Precondition:

  • No authorization token is needed.
  • Mandatory elements (should be specified):
    • <source_guid> - valid source_guid. Take a specific source guid using Vod list API call .

Postcondition

  • On success response code should be 200
  • On success a list of all thumb's url's are returned.
  • On failure an error will be returned with the right error code and description.

Example:

[Request] GET https://<base_api_url>/broker/vod/list/dash/<source_guid>
[Request Headers] {"Content-Type":"application/json","Accept":"application/json","Authorization":"<IdToken>"}
[Response] 200
[Response Headers] {"Content-Type":"application/dash+xml","cache-control": "max-age=15"...}
[Response] 
<?xml version="1.0" encoding="UTF-8"?>
  <MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xmlns:cenc="urn:mpeg:cenc:2013" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" type="static" minBufferTime="PT30S" profiles="urn:mpeg:dash:profile:isoff-main:2011" mediaPresentationDuration="PT21M21.280S">
    <Period start="PT0S" duration="PT21M21.280S" id="1">
      <AdaptationSet mimeType="video/mp4" frameRate="30000/1001" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitching="false">
        <SegmentTemplate timescale="90000" duration="2702700" startNumber="1"/>
        <Representation id="1" width="1280" height="720" bandwidth="2500000" codecs="avc1.640028">
          <SegmentTemplate media="<dash_name>_720p_$Number%09d$.mp4" initialization="<dash_name>_720pinit.mp4" duration="2702700" startNumber="1"/>
        </Representation>
        <Representation id="2" width="940" height="540" bandwidth="1900000" codecs="avc1.4d401f">
          <SegmentTemplate media="<dash_name>_540p_$Number%09d$.mp4" initialization="<dash_name>_540pinit.mp4" duration="2702700" startNumber="1"/>
        </Representation>
        <Representation id="3" width="640" height="360" bandwidth="1200000" codecs="avc1.4d401f">
          <SegmentTemplate media="<dash_name>_360p_$Number%09d$.mp4" initialization="<dash_name>_360pinit.mp4" duration="2702700" startNumber="1"/>
        </Representation>
        <Representation id="4" width="480" height="270" bandwidth="400000" codecs="avc1.4d401f">
          <SegmentTemplate media="<dash_name>_270p_$Number%09d$.mp4" initialization="<dash_name>_270pinit.mp4" duration="2702700" startNumber="1"/>
        </Representation>
      </AdaptationSet>
      <AdaptationSet mimeType="audio/mp4" lang="und" segmentAlignment="0">
        <SegmentTemplate timescale="48000" media="<dash_name>_audio_$Number%09d$.mp4" initialization="<dash_name>_audioinit.mp4" duration="1441440" startNumber="1"/>
        <Representation id="5" bandwidth="128000" audioSamplingRate="48000" codecs="mp4a.40.2"/>
      </AdaptationSet>
    </Period>
  </MPD>