获取指定时间段内活动历史并发人数
接口
GET /api/v3/activity/:id/stats/timeline授权
Authorization: Bearer <accessToken>
Content-Type: application/json参数
请求样例
响应参数
响应示例
最后更新于
这有帮助吗?
GET /api/v3/activity/:id/stats/timelineAuthorization: Bearer <accessToken>
Content-Type: application/json最后更新于
这有帮助吗?
这有帮助吗?
curl -H 'authorization: bearer <accessToken>' \
https://shangzhibo.tv/api/v3/activity/:id/stats/timeline\?startedAt=2020-07-13T10:27:00Z\&endedAt=2020-07-20T10:27:00Z[
{
"count": 1,
"time": "2020-07-14T02:17:00.000Z"
},
{
"count": 1,
"time": "2020-07-14T10:08:00.000Z"
},
{
"count": 10,
"time": "2020-07-20T09:25:00.000Z"
},
{
"count": 120,
"time": "2020-07-20T09:26:00.000Z"
}
]