Viz Channel Branding User Guide
Version 5.2 | Published June 05, 2024 ©
GET Playlists in Channel (Version 2.0)
Get the full collection of playlists associated with this channel.
Syntax
GET /api/channels/[channel]/playlists
Request
GET /api/channels/test/playlists HTTP/1.1
Response
HTTP/1.1 200 OK
Content-Type: application/vizrt.integrationshubv2+xml; type=list
<
inthub
:list
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:type
=
"inthub:playlistElements"
xmlns:inthub
=
"http://www.vizrt.com/integrationshub"
>
<
inthub
:playlist>
<
inthub
:name>continuous</
inthub
:name>
<
inthub
:refLink
rel
=
"self"
type
=
"application/vizrt.integrationshubv2+xml; type=playlist"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous"
/>
<
inthub
:refLink
rel
=
"edit"
type
=
"application/vizrt.integrationshubv2+xml; type=playlist"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous"
/>
<
inthub
:refLink
rel
=
"primaryevents"
type
=
"application/vizrt.integrationshubv2+xml; type=list"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents"
/>
<
inthub
:refLink
rel
=
"state"
type
=
"application/vizrt.integrationshubv2+xml; type=playliststate"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/state"
/>
<
inthub
:refLink
rel
=
"refresh"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/refresh"
/>
<
inthub
:description>Continuous Playlist</
inthub
:description>
<
inthub
:broadcastDate>continuous</
inthub
:broadcastDate>
<
inthub
:loaded />
<
inthub
:available />
<
inthub
:updated>2023-01-25T16:24:39Z</
inthub
:updated>
</
inthub
:playlist>
</
inthub
:list>
Disallowed Actions
This end-point does not allow PUT or DELETE, and will return a 'HTTP/1.1 405 Method Not Allowed'.