获取频道观众列表V2

优质
小牛编辑
138浏览
2023-12-01

请求header

POST /v2/activities/{频道id}/visitorList
Authorization:Bearer {ACCESS TOKEN}
Content-Type:application/json

注:

请将上方的{ACCESS TOKEN}替换为您的ACCESS TOKEN

请将"{频道id}"替换您需要获取的频道id

 {
     "filter" : 1,
      "perPage" : 10,
      "p" : 1,
      "direction" : "desc"
  }

payload参数说明

参数参数说明参数类型是否必填备注
filter过滤未观看观众string可用参数如下:
1(过滤观看时长小于1分钟的观众)
0(显示全部观众)
perPage每页结果数integer默认20,最大100
p页码integer默认1
direction排序stringdesc:倒序;asc:正序;默认desc

返回

{
    "total_num":1,
    "total_page":1,
    "page_num":1,
    "page_size":20,
    "results":[
        {
            "id":9299,
            "uin":1,
            "name":"测试频道",
            "addr":"浙江杭州",
            "user_id":"123",
            "assign_id":"第三方id",
            "outer_id":"",
            "nick":"上海市网友",
            "watch_time":"00:00:00",
            "live_time":"00:00:00",
            "vod_time":"00:00:00",
            "phone":"13000000000",
            "refer":"mudu.tv",
            "visit_times":10,
            "first_login_time":"2017-04-26 13:07:25",
            "last_online_time":"2017-04-26 13:25:00",
            "device":"电脑端",
            "browser":"IE9",
            "last_ip":"127.0.0.1",
            "share_times":5,
            "comment_count":22
        }
    ]
}

返回参数说明

参数描述类型
total_num总数integer
total_page总页数integer
page_num当前页integer
page_size每页数量integer
id频道IDinteger
uin管理员idinteger
name频道名string
addr地址string
user_id观众IDstring
assign_id第三方IDstring
outer_id外部账号idstring
nick观众昵称string
watch_time总观看时长string
live_time直播观看时长string
vod_time点播观看时长string
phone手机号string
refer访问来源string
visit_times访问次数integer
first_login_time首次进入时间datetime
last_online_time最后在线时间datetime
device最后观看设备string
browser最后观看方式string
last_ip最后登录IPstring
share_times分享次数integer
comment_count聊天数integer
wx_openid微信openidstring