获取观看直播统计V2
POST
https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat_v2
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat_v2' \
--header 'Content-Type: application/json' \
--data-raw '{
"livingid": "livingid1",
"next_cursor": "NEXT_CURSOR"
}'
响应示例响应示例
{
"errcode": 0,
"errmsg": "ok",
"has_more": 1,
"next_cursor": "NEXT_CURSOR",
"stat_info": {
"students": [
{
"student_userid": "zhansan_child",
"partyids": [
10,
11
],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"student_userid": "lisi_child",
"partyids": [
10,
11
],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
],
"parents": [
{
"parent_userid": "zhangsan",
"student_userid": "zhansan_child",
"partyids": [
10,
11
],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"parent_userid": "lisi",
"student_userid": "lisi_child",
"partyids": [
10,
11
],
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
],
"visitors": [
{
"nickname": "wx_nickname1",
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 1
},
{
"nickname": "wx_nickname2",
"watch_time": 30,
"enter_time": 1586433904,
"leave_time": 1586434000,
"is_comment": 0
}
]
}
}
请求参数
Query 参数
access_token
string
调用接口凭证
示例值:
ACCESS_TOKEN
Body 参数application/json
返回响应
修改于 2022-12-02 03:22:15