Get Live watching duration via CDN
Calculates a time series of live streams watching duration in minutes. Views of only those streams that meet the specified filters are summed up. The statistics are taken from the data of CDN and work regardless of which player the views were made with. Please note that the result for each time interval is in minutes, it is rounded to the nearest upper integer. You cannot use the sum of all intervals as the total watch time value; instead, use the /total method.
Authorizations
API key for authentication.
Query Parameters
Start of the time period for counting minutes of watching. Format is date time in ISO 8601.
End of time frame. Datetime in ISO 8601 format. If omitted, then the current time is taken
Filter by stream_id
Filter by field "client_user_id
"
Data is grouped by the specified time interval
1m
, 5m
, 15m
, 1h
, 1d
, 1mo
Response
OK
The response is of type object[]
.