Returns viewer count trend data points for the specified live room, grouped by online, entering, and leaving viewers.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The ID of the live streaming room whose viewer trend data is requested. The live room must be associated with the authorized creator.
Responses
Section titled “Responses”Success
object
Status code; 0 means success.
Success or failure message.
Request log ID.
object
Viewer count trends of the live streaming room
object
The viewer trend category. TREND_ONLINE_VIEWER: Viewers who are watching the live streaming room. TREND_ENTER_VIEWER: Viewers who enter the live streaming room. TREND_LEFT_VIEWER: Viewers who left the live streaming room.
Viewer count data points for the corresponding trend category.
object
The value of the metric identified by stats_type at this data point.
The time of the data points
Example
{ "code": 0, "data": { "view_trend_performances": [ { "stats_type": "TREND_ONLINE_VIEWER", "data_points": [ { "value": "123", "timestamp": 1623812664 } ] } ] }, "message": "Success", "request_id": "202203070749000101890810281E8C70B7"}