获取观看直播统计
POST
/cgi-bin/school/living/get_watch_stat
服务端API企业内部开发第三方应用开发
原文档地址:
https://open.work.weixin.qq.com/api/doc/90000/90135/93741
https://open.work.weixin.qq.com/api/doc/90001/90143/93858
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/school/living/get_watch_stat?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"livingid":"livingid1","next_key":"NEXT_KEY"}'
响应示例响应示例
{
"errcode": 0,
"ending": 0,
"stat_infoes": {
"visitors": [
{
"leave_time": 0,
"watch_time": 0,
"nickname": "string",
"is_comment": 0,
"enter_time": 0
}
],
"students": [
{
"student_userid": "string",
"partyids": [
0
],
"leave_time": 0,
"parent_userid": "string",
"watch_time": 0,
"is_comment": 0,
"enter_time": 0
}
]
},
"next_key": "string",
"errmsg": "string"
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json