历史记录

简要描述
  • 获取历史记录接口
请求URL
  • http://zhibo.cookiegeeks.com/history/list
请求方式
  • POST
参数
参数名 必选 类型 说明
token string token
page_size int 默认一页10条数据
page int 页码,默认第一页
返回示例
{
    "code": 200,
    "msg": "操作成功",
    "data": [
        {
            "id": "12",
            "room_id": "16340283247447",
            "calling_id": "10",
            "called_id": "11",
            "status": "2",
            "spend_time": "1120",
            "end_time": "1634029455",
            "calling_live_coins": "0",
            "called_live_coins": "0",
            "by_people": "10",
            "create_time": "1634029455",
            "update_time": "1634029455",
            "is_match": "1",
            "comment": "1",
            "target_user": {
                "id": "10",
                "udid": "123456",
                "code_name": "1",
                "gender": "1",
                "like_gender": "1",
                "age": "18",
                "nickname": "揽新晨",
                "invite_code": null,
                "avatar": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic21.nipic.com%2F20120606%2F5137861_093119370162_2.jpg&refer=http%3A%2F%2Fpic21.nipic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1636269563&t=f2ae4c8003808a6d66f1447b844c1204",
                "is_vip": "0",
                "vip_expire_time": null,
                "coins": "97960",
                "status": "1",
                "is_authentication": "0",
                "online_status": "1",
                "agora_user_id": "4",
                "create_time": "1632998636",
                "update_time": "1633761776",
                "country": "China",
                "city": "chengDu",
                "introduction": "这是我的自我介绍,about me",
                "agora": {
                    "id": "4",
                    "user_id": "10",
                    "uuid": "5045d130-21db-11ec-9b6f-09d8e93950ef",
                    "type": "user",
                    "created": "1632998637001",
                    "modified": "1632998637001",
                    "username": "traynor_10",
                    "activated": "1",
                    "nickname": "揽新晨",
                    "password": "123456",
                    "create_time": "1632998637"
                }
            }
        }
    ]
}
返回参数说明
参数名 类型 说明
spend_time int 直播时长,单位:秒
status int 通话状态:1:未接通;2:挂断;3:拒绝
target_user array 目标用户的信息
备注
  • 更多返回错误代码请看首页的错误代码描述