获取课程学习记录
最近更新时间: 2024年05月14日 01时31分12秒
能力接口
描述
根据课程获取学生学习进度相关信息。
支持的模式
客户端模式
请求方法
GET
请求地址
https://api.tongji.edu.cn/v1/infra/media/course_study_record
数据来源
请求参数
参数名 | 是否必填 | 备注 |
---|---|---|
courseCode | 否 | 课程代码 |
返回参数
参数名 | 类型 | 备注 | 码表 |
---|---|---|---|
userId | string | 学工号 | |
name | string | 姓名 | |
createAt | string | 第一次学习时间 | |
updateAt | string | 学习结束时间 | |
learnRate | string | 视频学习进度 | |
learnVideoDuration | string | 学习总时长 | |
videoDuration | string | 视频时长 | |
playTime | string | 视频播放进度 | |
learnVideoTimes | string | 学习次数 |
请求示例
curl -X GET \
'https://api.tongji.edu.cn/v1/infra/media/course_study_record?courseCode='
返回示例
{
"code": "A00000",
"msg": "操作成功",
"data": [
{
"createAt": "1709131834",
"updateAt": "1709134130",
"learnVideoDuration": "4778",
"videoDuration": "5991",
"playTime": "5738",
"learnVideoTimes": "1",
"learnRate": "0.80",
"userId": "******",
"name": "张**"
},
{
"createAt": "1712503027",
"updateAt": "1712505612",
"learnVideoDuration": "12",
"videoDuration": "5990",
"playTime": "2011",
"learnVideoTimes": "1",
"learnRate": "0.00",
"userId": "******",
"name": "金**"
}
]
}