Lists all children of the channel's root folder
v1
get
/1/vod/channel/{channel}/browse
Lists all children of the channel's root folder.
Path parameters
channel
requiredstring
Examples:example
Response Body
application/json
resultstring
Examples:success
dataarrayofobject
BrowsableVirtualFile
Example request
<?php
use GuzzleHttp\Client;
$client = new Client();
$headers = [
'Authorization' => 'Bearer YOUR-TOKEN-HERE',
'Content-Type' => 'application/json'
];
$request = new Request('GET', 'https://api.infomaniak.com/1/vod/channel/{channel}/browse', $headers, $body);
$res = $client->sendAsync($request)->wait();
echo $res->getBody();
Example response
application/json
{"result":"success","data":[{"name":{"type":"video or folder name"},"description":"maria","validated":true,"published":true,"streams":"[audio, video]","duration":"276.62","size":2300000,"created_at":"2021-09-15T14:23:41+00:00","updated_at":"2021-09-15T14:23:41+00:00","deleted_at":"2021-09-15T14:23:41+00:00","discarded_at":"2021-09-15T14:23:41+00:00","folders_count":42,"files_count":42,"path":"/foldera/folderb/file","preview":{"audio":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"},"audio_raw":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"},"video":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"}},"sample":{"audio":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"},"video":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"}},"thumbnail":{"url":"https://infomaniak.com","mimetype":"maria","size":42,"size_human_readable":"maria"},"state":42,"progress":50,"playlists_attached_count":2,"tags":[],"type":"maria","id":"1jhvl2uqa5v8a"}]}