Viz Channel Branding User Guide
Version 5.1 | Published October 26, 2023 ©
GET Primary Event (Version 2.0)
Following the downlink while retrieving the collection of Primary Events under a Playlist one can also do a GET directly on a single Primary Event.
Take note that the collection of entries under meta_data sub-section is not set in size or content, and depends on the actual meta data attributes on the primary event in the playlist.
Syntax
GET /api/channels/[channel]/playlists/[playlist]/primaryevents/[primary_event]
Request
GET /api/channels/test/playlists/continuous/primaryevents/primary_element_1_0_0 HTTP/1.1
Response
HTTP/1.1 200 OK
Content-Type: application/vizrt.integrationshubv2+xml; type=primaryevent
<
inthub
:primaryEvent
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:inthub
=
"http://www.vizrt.com/integrationshub"
>
<
inthub
:name>primary_element_1_0_0</
inthub
:name>
<
inthub
:refLink
rel
=
"self"
type
=
"application/vizrt.integrationshubv2+xml; type=primaryevent"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/primary_element_1_0_0"
/>
<
inthub
:refLink
rel
=
"secondaryevents"
type
=
"application/vizrt.integrationshubv2+xml; type=list"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/primary_element_1_0_0/secondaryevents"
/>
<
inthub
:refLink
rel
=
"edit"
type
=
"application/vizrt.integrationshubv2+xml; type=primaryevent"
href
=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/primary_element_1_0_0"
/>
<
inthub
:description>Le radeau LE CRASH DU VOL 29</
inthub
:description>
<
inthub
:startTime>2008-04-23T03:48:17.280Z</
inthub
:startTime>
<
inthub
:duration>08:58:13.000</
inthub
:duration>
<
inthub
:ignore>false</
inthub
:ignore>
<
inthub
:triggerId />
<
inthub
:houseId />
<
inthub
:markIn />
<
inthub
:markOut />
<
inthub
:isLocked>false</
inthub
:isLocked>
<
inthub
:isLive>false</
inthub
:isLive>
<
inthub
:isManuallyEdited>false</
inthub
:isManuallyEdited>
<
inthub
:available>1.00</
inthub
:available>
<
inthub
:loaded>1.00</
inthub
:loaded>
<
inthub
:infoIntegrationsHub>[A:11:47:44]</
inthub
:infoIntegrationsHub>
<
inthub
:createdBy>schedule</
inthub
:createdBy>
<
inthub
:error />
<
inthub
:metadata>
<
inthub
:attribute
name
=
"date"
>2008-04-23</
inthub
:attribute>
<
inthub
:attribute
name
=
"time"
>05:48:17:07</
inthub
:attribute>
<
inthub
:attribute
name
=
"event_type"
>MAIN</
inthub
:attribute>
</
inthub
:metadata>
</
inthub
:primaryEvent>
Disallowed Actions
This end-point does not allow POST, and will return a 'HTTP/1.1 405 Method Not Allowed'.