互动房间列表
API 地址
api.yun.vhall.com/api/v1/inav/lists
描述
按当前公共参数传入app_id对应的应用,获取互动房间列表
入参
关于公共请求参数详细内容,请参考 公共请求参数。
参数 | 类型 | 是否必选 | 含义 |
---|---|---|---|
pos | int | 否 | 获取条目节点,默认为 0。eg : 10, 从第10条开始查询 |
limit | int | 否 | 获取条目数量, 默认为 10 条, 最大为1000条 |
出参
参数 | 类型 | 是否必选 | 含义 |
---|---|---|---|
inav_id | string | 是 | 互动房间ID |
app_id | string | 是 | app_id |
is_disable | int | 是 | 是否禁停房间,0 非禁停,1 禁停 |
created_at | string | 是 | 创建时间 |
错误码
错误码 | 类型 | 含义 |
---|---|---|
40008 | int | 分页起始提条目不正确 |
40009 | int | 分页条目不正确 |
20002 | int | 房间查询为空 |
响应格式
{
"code": 200,
"msg": "",
"data": [
{
"inav_id": "inav_b42cd4bd",
"app_id": "app_id_1",
"is_disable": 0,
"created_at": "2017-12-04 11:01:16"
},
{
"inav_id": "inav_b88e1673",
"app_id": "app_id_1",
"is_disable": 0,
"created_at": "2017-12-04 11:18:54"
}
]
}