描述

以列表的形式获取某个课程ID下的所有回放内容;包括回放名称、创建时间、回放时长、回放ID等内容。

接口地址

公共参数

http://api-class.e.vhall.com/api/class/webinar-record-list

请求参数

公共参数需要每次请求都附带上,详细内容请参考公共参数

参数名 类型 必选 说明
curr_page int 当前页数(默认第1页)
pagesize int 每页显示条数(默认5条)
class_id string 课程ID
child_id int 子账户ID

响应参数

返回数据如下:

参数名 类型 说明
total int 总条数
total_page int 总页数
curr_page int 当前页数
created_at string 创建时间
duration string 回放时长
name string 回放名称
record_id int 回放视频ID
is_default int 是否是默认回放 1是 0 否

响应示例

	{
    	"code": 200,
		"msg": "success",
		"data": {
        	"total": 1,
        	"total_page": 1,
        	"curr_page": "1",
        	"pagesize": 5,
        	"data": [
            	{
                "created_at": "2018-05-30 17:31",
                "duration": "00:05:07",
                "name": "8872",
                "storage": 20270,
                "record_id": 3102,
				"is_default":1
            	}
        	]
    	}
	}

错误码

code 含义
400 pagesize大于50条
1005 课程不存在