Viz Multichannel

Version 4.2 | Published July 31, 2020 ©

PUT on Secondary Event under a Primary Event (Version 2.0)

Update definition of a Secondary Events in a Playlist.

Syntax

PUT /api/channels/test/playlists/continuous/primaryevents/[primary_event_id]/secondaryevents/[secondary_event_id]

Request

PUT /api/channels/test/playlists/continuous/primaryevents/9491af52-bc71-4531-b73b-4ad020ddc9cc/secondaryevents/page1 HTTP/1.1
Content-Type: application/atom+xml; type=entry
<atom:entry xmlns:vaext="http://www.vizrt.com/atom-ext" xmlns:vizid="http://www.vizrt.com/opensearch/vizid" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:inthub="http://www.vizrt.com/integrationshub" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
<inthub:name>page1</inthub:name>
<atom:id>page1</atom:id>
<atom:meta_data>
<atom:attribute name="showautodescription">true</atom:attribute>
<atom:attribute name="somemetadata">some other value</atom:attribute>
<atom:attribute name="templatedescription">Lower third</atom:attribute>
</atom:meta_data>
<inthub:description>The Very Famous Band/Bullet With Butterfly Wings</inthub:description>
<inthub:timecode>00:00:10:00</inthub:timecode>
<inthub:duration>00:00:30:00</inthub:duration>
<inthub:page>6000</inthub:page>
</atom:entry>

Response

HTTP/1.1 200 OK
Content-Type: application/atom+xml; type=entry
<atom:entry xmlns:vaext="http://www.vizrt.com/atom-ext" xmlns:vizid="http://www.vizrt.com/opensearch/vizid" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:inthub="http://www.vizrt.com/integrationshub" xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom">
<inthub:name>page1</inthub:name>
<atom:id>page1</atom:id>
<atom:link rel="self" type="application/atom+xml; type=entry" href="http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/9491af52-bc71-4531-b73b-4ad020ddc9cc/secondaryevents/page1" />
<atom:link rel="edit" type="application/atom+xml; type=entry" href="http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/9491af52-bc71-4531-b73b-4ad020ddc9cc/secondaryevents/page1" />
<atom:meta_data>
<atom:attribute name="showautodescription">true</atom:attribute>
<atom:attribute name="somemetadata">some other value</atom:attribute>
<atom:attribute name="templatedescription">Lower third</atom:attribute>
</atom:meta_data>
<inthub:description>The Very Famous Band/Bullet With Butterfly Wings</inthub:description>
<inthub:timecode>00:00:10:00</inthub:timecode>
<inthub:take_count>0</inthub:take_count>
<inthub:duration>00:00:30:00</inthub:duration>
<inthub:created_by>inthub</inthub:created_by>
<inthub:page>6000</inthub:page>
<inthub:infoIntegrationsHub>[U:22:48:38]</inthub:infoIntegrationsHub>
</atom:entry>