Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: - Pretty table

...

'action' => 'list',

'options' => array(

'limit'=>100,

)

);

$data = array(

'object' => 'mediamanifest',

'action' => 'list',

'options' => array(

'media_id'=>1144

)

);

Response

{

   "statusCode": 0,

   "statusMessage": "",

   "data": [

       {

           "id": 1,

           "mg_id": 1,

           "name": "Default manifest",

           "smil_filename": "6rs_boom.smil",

           "def": 1,

           "start_at": 0,

           "end_at": 0,

           "manifest_type": "transcode",

           "files": [

               1954,

               1955

           ],

           "urls": {

               "hls": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/1\/6rs_boom.smil\/playlist.m3u8",

               "dash": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/1\/6rs_boom.smil\/manifest.mpd",

               "hds": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/1\/6rs_boom.smil\/manifest.f4m"

           }

       },

.....,

       {

           "id": 135,

           "mg_id": 632,

           "name": "Default manifest",

           "smil_filename": "w19_sample.smil",

           "def": 1,

           "start_at": 0,

           "end_at": 0,

           "manifest_type": "source",

           "files": [],

           "urls": {

               "hls": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/632\/w19_sample.smil\/playlist.m3u8",

               "dash": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/632\/w19_sample.smil\/manifest.mpd",

               "hds": "https:\/\/streamdev.cloudycdn.services\/vod\/_definst_\/23\/00\/00\/632\/w19_sample.smil\/manifest.f4m"

           }

       }

   ],

   "offset": 0,

   "limit": 10,

   "total": 47

}

Response FieldsTypeSample ValueComment
statusCode


Integer00 - success
statusMessage


String""Error or confirmation message
data


Array
Array of {Media Manifest}s


0

Array



id
Integer154ID of the namifest


mg_id
Integer253Media group ID of the manifest


name
String"second manifest"Name of the manifest


smil_filename
String"second_manifest.smil"Filename of the manifests .smil file


def
Integer0If this is the default manifest (0 | 1)


start_at
Integer0Manifest start time in miliseconds


end_at
Integer10000Manifest end time in miliseconds


manifest_type
String"transcode"Type of manifest (source | transcode)


files
Array
Array of manifests {File}s

{File}
0Integer450Id of files assigned to manifest


urls
Array
Array of manifest urls



hlsString"https://test.cloudycdn.services/vod/_definst_... ...2.smil/playlist.m3u8"HLS url of the manifest



dashString"https://test.cloudycdn.services/vod/_definst_... ...2.smil/playlist.mpd" Dash url of the manifest



hdsString"https://test.cloudycdn.services/vod/_definst_... ...2.smil/playlist.f4m" HDS url of the manifest
offset


Integer1First response record position
limit


Integer10Max. number of records in the respons
total


Integer1Number of records in response