查询计时器列表信息

更新时间:2023-06-27

接口描述

查询计时器列表信息
说明:直播中使用计数器,结束直播后可以查看计时器

请求地址

https://ccapi.csslcloud.net/openapi/collect/timer/records

请求方式

GET

请求参数

接口统一权限认证请参考THQS认证方式

名称 类型 必填 描述
accountId String 开发者账号ID
roomId String 房间ID
liveId String 直播ID
pageNum Integer 第几页,默认1。取值范围:大于1的整数
pageSize Integer 每页记录条数,默认50。取值范围:1~500整数

请求示例

GET https://ccapi.csslcloud.net/openapi/collect/timer/records?accountId=41E8063FC799ACE&roomId=A01DD608E39FADC59C33DC5901307461&liveId=A01DD608E39FADC59C33DC5901307461&pageNum=1&pageSize=50&time=1670412086&hash={hash}

返回数据

公共返回数据结构请参考 公共返回数据说明

名称 类型 描述
total Integer 总记录条数
list Array 计时器列表

list说明

名称 类型 描述
liveId String 直播ID
userId String 用户ID,课堂内学员ID
userName String 用户名称,课堂内学员名称
duration Integer 计时器设置时长
startTime String 发起时间,格式:yyyy-MM-dd HH:mm:ss

返回示例

{
    "result": "OK",
    "error": null,
    "data": {
        "total": 1,
        "list": [
          {
            "liveId": "",
            "userId": "",
            "userName": "",
            "duration": 0,
            "startTime": "2023-06-24 23:50:31"
          }
        ]
    },
    "errorMsg": ""
}

results matching ""

    No results matching ""