获取直播观看明细
POST
/cgi-bin/living/get_watch_stat
服务端API第三方应用开发企业内部开发
原文档地址:
https://open.work.weixin.qq.com/api/doc/90001/90143/93716
https://open.work.weixin.qq.com/api/doc/90000/90135/93636
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://qyapi.weixin.qq.com/cgi-bin/living/get_watch_stat?access_token=' \
--header 'Content-Type: application/json' \
--data-raw '{"livingid":"livingid1","next_key":"NEXT_KEY"}'
响应示例响应示例
{
"errcode": 0,
"ending": 0,
"next_key": "string",
"errmsg": "string",
"stat_info": {
"external_users": [
{
"external_userid": "string",
"watch_time": 0,
"name": "string",
"is_comment": 0,
"type": 0,
"is_mic": 0,
"invitor_userid": "string",
"invitor_external_userid": "string"
}
],
"users": [
{
"watch_time": 0,
"is_comment": 0,
"is_mic": 0,
"userid": "string"
}
]
}
}
请求参数
Query 参数
access_token
调用接口凭证
示例值:
{{accesstoken}}
Body 参数application/json
返回响应
修改于 2022-01-14 04:25:49