The Viewers object displays viewer minutes and unique session counts summarized by day, hour, or minute. Data can further be summarized by application, instance, stream, server, or destination.
Application Name
The application name must begin with "username-"
Default:
Sample value:username-origin
Stream Name
May only contain alpha numerical characters, dashes (-), and underscores (_)
Default:
Sample value:mystreamname
Granularity of viewer data (live, minute, hour, or day).
Enum:live, min, minute, hour, day
Default:live
Sample value:day
Limits starting date and time to logs on or after this date.
Default:+1 hour ago
Sample value:2019-12-23 00:00:00
Limits ending date and time to logs on or after this date.
Default:
Sample value:2019-12-23 00:00:00
Only for:
Get the Viewers object with id .
https://api.scaleengine.net/v2/viewers/
curl --user 158:8fc8c48da81e6a2a06a9556379bf798af508dc0792497c678b4c3532ba8b637f https://api.scaleengine.net/v2/viewers/
None
{ "app": "username-origin", "stream": "mystreamname", "date": "2019-12-23 19:25", "unique_sessions": 50, "viewer_minutes": 50 }
This object is read-only and cannot be created.
This object is read-only and cannot be updated.
This object is read-only and cannot be deleted.