获取房间人员列表

获取互动房间人员列表

API 地址

api.vhallyun.com/api/v2/inav/inav-user-list

描述

按当前传入的互动房间id ( inav_id ),获取正在直播中的互动房间内的用户列表

入参

关于公共请求参数详细内容,请参考 公共请求参数。

参数 类型 是否必选 含义
inav_id string 是 互动房间ID

出参

参数 类型 含义
third_party_user_id string 第三方用户ID
status int 用户状态 1 推流中 2 观看中 3 受邀中 4 申请中 5 被踢出

错误码

错误码 类型 含义
10029 int 互动房间不能为空
20012 int 互动房间查询为空
30014 int 不是当前互动房间拥有者
20013 int 互动房间用户查询为空
40031 int 当前互动房间没有推流
40071 int 参数类型错误

响应格式


{
    "code":200,
    "msg":"",
    "data":[
        {
            "third_party_user_id":"6",
            "status":1
        },
        {
            "third_party_user_id":"8",
            "status":1
        },
        {
            "third_party_user_id":"23",
            "status":1
        }
    ]
}