Viz Multichannel
Version 4.1 | Published May 27, 2019 ©
GET Primary Events in Playlist (Version 2.0)
By following the downlink from the description of a single playlist we can retrieve a collection of primary events.
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 events in the playlist.
Syntax
GET /api/channels/test/playlists/continuous/primaryevents
Request
GET /api/channels/test/playlists/continuous/primaryevents HTTP/
1.1
Response
HTTP/
1.1
200
OK
Content-Type: application/atomsvc+xml
<atom:feed 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"
>
<atom:entry>
<inthub:name>1051111_1_VM_16_01_1</inthub:name>
<atom:id>1051111_1_VM_16_01_1</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/1051111_1_VM_16_01_1"
/>
<atom:link rel=
"edit"
type=
"application/atom+xml; type=entry"
href=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/1051111_1_VM_16_01_1"
/>
<atom:link rel=
"secondaryevents"
type=
"application/atom+xml; type=feed"
href=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/1051111_1_VM_16_01_1/secondaryevents"
/>
<atom:meta_data>
<atom:attribute name=
"continue_count"
>
0
</atom:attribute>
<atom:attribute name=
"created"
>
6
/
11
/
2018
17
:
33
:
51
</atom:attribute>
<atom:attribute name=
"date"
>
2010
-
09
-
23
</atom:attribute>
<atom:attribute name=
"fixed_duration"
>yes</atom:attribute>
<atom:attribute name=
"seqment"
>
1
</atom:attribute>
<atom:attribute name=
"time"
>
08
:
50
:
15
:
24
</atom:attribute>
</atom:meta_data>
<inthub:description>In-channel trailer</inthub:description>
<inthub:begin_at>
2018
-
11
-06T07:
13
:
40
.000Z</inthub:begin_at>
<inthub:duration>
00
:
00
:
35
:
00
</inthub:duration>
<inthub:ignore>False</inthub:ignore>
<inthub:event_id>1051111_1_VM_16_01_1</inthub:event_id>
<inthub:trigger_id>1051111_1_VM_16_01_1</inthub:trigger_id>
<inthub:instance>composite_test</inthub:instance>
<inthub:adjust_begin_at_after_resume>yes</inthub:adjust_begin_at_after_resume>
<inthub:isManuallyEdited>
true
</inthub:isManuallyEdited>
<inthub:available>
1.00
</inthub:available>
<inthub:loaded>
1.00
</inthub:loaded>
<inthub:take_count>
0
</inthub:take_count>
<inthub:infoIntegrationsHub>[A:
13
:
27
:
24
]</inthub:infoIntegrationsHub>
</atom:entry>
<atom:entry>
<inthub:name>1053845_2_VM_16_01_1</inthub:name>
<atom:id>1053845_2_VM_16_01_1</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/1053845_2_VM_16_01_1"
/>
<atom:link rel=
"edit"
type=
"application/atom+xml; type=entry"
href=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/1053845_2_VM_16_01_1"
/>
<atom:link rel=
"secondaryevents"
type=
"application/atom+xml; type=feed"
href=
"http://127.0.0.1:9991/api/channels/test/playlists/continuous/primaryevents/1053845_2_VM_16_01_1/secondaryevents"
/>
<atom:meta_data>
<atom:attribute name=
"continue_count"
>
0
</atom:attribute>
<atom:attribute name=
"created"
>
6
/
11
/
2018
17
:
33
:
51
</atom:attribute>
<atom:attribute name=
"date"
>
2010
-
09
-
23
</atom:attribute>
<atom:attribute name=
"fixed_duration"
>yes</atom:attribute>
<atom:attribute name=
"seqment"
>
1
</atom:attribute>
<atom:attribute name=
"time"
>
09
:
30
:
04
:
24
</atom:attribute>
</atom:meta_data>
<inthub:description>News Today</inthub:description>
<inthub:begin_at>
2018
-
11
-06T11:
30
:
00
.000Z</inthub:begin_at>
<inthub:duration>
00
:
25
:
00
:
00
</inthub:duration>
<inthub:ignore>False</inthub:ignore>
<inthub:event_id>1053845_2_VM_16_01_1</inthub:event_id>
<inthub:trigger_id>1053845_2_VM_16_01_1</inthub:trigger_id>
<inthub:instance>composite_test</inthub:instance>
<inthub:adjust_begin_at_after_resume>no</inthub:adjust_begin_at_after_resume>
<inthub:pause_after_scheduling>yes</inthub:pause_after_scheduling>
<inthub:isManuallyEdited>
true
</inthub:isManuallyEdited>
<inthub:available>
1.00
</inthub:available>
<inthub:loaded>
1.00
</inthub:loaded>
<inthub:take_count>
0
</inthub:take_count>
<inthub:infoIntegrationsHub>[U:
13
:
49
:
12
]</inthub:infoIntegrationsHub>
</atom:entry>
</atom:feed>