Get Live Event(s)

/api2/liveevents2/get

Retrieves one or more specific live event(s) from your account.

Request ParameterTypeDescription
idstringIdentifies a live event by its system-defined ID.
external_idstringthe live event's external ID
idslista list of live event IDs to be returned as a list of live events
external_idslista list of live event external IDs to be returned as a list of live events
fieldsstringComma-separated list of fields to return in the event object in the events array.

You must specify either id, external_id, ids, or external_ids.

Sample request/response:

The Call() function, which is imported from uplynk_api2_auth module, prepares the message body and digital signature.

from uplynk_api2_auth import Call

print(Call('/api2/liveevents2/get', external_id = 'id1234'))

{
    'events': [{
            'test_players': [{
                    'url': 'https://content.uplynk.com/player/1agvrHaL5Yw7a41fp8crte4g.html',
                    'whitelist': False,
                    'expire': None,
                    'params': '',
                    'url_html5': 'https://content.uplynk.com/player5/1agvrHaL5Yw7a41fp8crte4g.html',
                    'id': 'bg4vrHaL5Yw7aX1f38crt5',
                    'desc': 'bg4vrHaL5Yw7aX1f38crt5'
                }
            ],
            'low_latency': False,
            'pre_slate': None,
            'ad_slate': None,
            'meta': {
                'key2': 'value2',
                'key1': 'value1'
            },
            'autoexpire_hours': None,
            'vod_duration': 0,
            'meta_schema': None,
            'testing_complete': 1572283984502,
            'id': '2h6f7eb5fe4b431294se73ccc1c57e3h',
            'actual_start': 1572283984503,
            'expected_start': None,
            'log': [{
                    'username': '[email protected]',
                    'timestamp': 1571096764240,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Created'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283090070,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Updated'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283166682,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Added Slicer'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283167952,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Updated'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283172537,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Changed slicer to macle02'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283981165,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Started Test'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283984503,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Started'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283990753,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Marker Set: segment:Random'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572283996878,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Marker Set: segment:Random'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572284008236,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Ended'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572284089754,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'VOD Available'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572284101588,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'VOD Available'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572293007973,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Added Metadata'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572293009211,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Updated'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572293064203,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Added Metadata'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572293065429,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'Event Updated'
                }, {
                    'username': '[email protected]',
                    'timestamp': 1572300868917,
                    'user_id': 'abcdefghijklmnopqrstuvwxyz123456',
                    'event': 'VOD Asset Deleted'
                }
            ],
            'markers': [{
                    'tag': 'Singer',
                    'type': 'segment',
                    'ts': 1572283990753
                }, {
                    'tag': 'Dancer',
                    'type': 'segment',
                    'ts': 1572283996878
                }
            ],
            'mid_slate_library': None,
            'state': 'complete',
            'embed_domains': '',
            'testing_start': 1572283981165,
            'vod_autoexpire_hours': None,
            'vod_replayable': False,
            'post_slate': None,
            'require_drm': True,
            'deleted': 0,
            'missing_content_slate': None,
            'operator': '',
            'test_player_url': 'https://content.uplynk.com/player5/1agvrHaL5Yw7a41fp8crte4g.html',
            'expected_stop': None,
            'ad_pods': [],
            'conflicts': [],
            'embed_player_url': 'https://content.uplynk.com/player/58aAu4blGJegRrTceH9AZ3d5.html',
            'desc': 'myliveevent',
            'expected_start_lastmod': 1571096764236,
            'auto_start_stop': False,
            'assets': ['2k9d14c65h2h478e8008a8193d6e4h35'],
            'created': 1571096764236,
            'require_studio_drm': False,
            'slicers': [{
                    'owner': 'abcdefghijklmnopqrstuvwxyz123456',
                    'id': 'slicer10'
                }
            ],
            'is_managed': False,
            'external_id': 'id1234',
            'actual_stop': 1572284008236
        }
    ],
    'error': 0
}