playlistActiveGet method
playlistActiveGet
-> /v1/playlist/active
Requests the details of the active playlist. The active playlist and playlist item are returned for both the presentation and announcements layers. Active means the most recently triggered presentation or media cue belonging to a library playlist.
RESPONSE 200:
The response was processed successfully.
content-type: application/json
schema:
{
"type": "object",
"required": [
"presentation",
"announcements"
]
}
Implementation
Future<Map<String, dynamic>> playlistActiveGet() async {
String url = '/v1/playlist/active';
return await call('get', url, httpAccept: 'application/json');
}