Viz Channel Branding User Guide

Version 5.0 | Published July 10, 2023 ©

PUT on Playlist in Channel (Version 2.0)

Update a playlist definition.

Name and broadcast date can't be adjusted from it's original value.

Description is automatically set, if left empty.

If any values are set for loaded, available and update, the payload will be accepted but the values will be ignored as they can't be set.


Syntax
PUT /api/channels/[channel]/playlists/[playlist]
Request
PUT /api/channels/test/playlists/continuous HTTP/1.1
Content-Type: application/vizrt.integrationshubv2+xml; type=playlist
<inthub:playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:inthub="http://www.vizrt.com/integrationshub">
<inthub:name>continuous</inthub:name>
<inthub:description>Continuous Playlist1</inthub:description>
<inthub:broadcastDate>continuous</inthub:broadcastDate>
</inthub:playlist>
Response
HTTP/1.1 200 OK
Content-Type: application/vizrt.integrationshubv2+xml; type=playlist
<inthub:playlist xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:inthub="http://www.vizrt.com/integrationshub">
<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 Playlist1</inthub:description>
<inthub:broadcastDate>continuous</inthub:broadcastDate>
<inthub:loaded />
<inthub:available />
<inthub:updated>2023-01-25T15:13:10Z</inthub:updated>
</inthub:playlist>