课堂管理
获取课堂分页列表
- URL地址
http[s]://vclass.wangsu.com/classroom/classroomManage/queryClassroomList.do - 请求方式
GET/POST - 入参
pageSize: 10
pageNum: 1
field: lastTime
direction: DESC
strParams: {"status":"0","lastTimeBegin":"1536549696","lastTimeEnd":"1536549996","name":"计算机教室"} - 出参
{"code":0,"message":"操作成功","data":{"totalCount":153,"rows":[{"id":"65e77c4e016510007872695e00000000","name":"艺术课堂","desc":"某堂体验课","maxMicNum":6,"style":1,"maxStudent":8,"planDuration":3600,"planStartTime":1535012994,"whiteBoardId":"65e77c4e016510007872695e00000000","chatRoomId":"65e77c4e016510007872695e00000000","status":0,"lastTime":1535012994,"isDelete":0,"customerId":160612,"createUser":"ovptest","createTime":1535012994,"updateUser":"ovptest","updateTime":1535012994}]}}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
code参数说明:0成功,-1参数错误(部分错误会返回具体参数错误),500服务器异常。以下同。
课堂管理-获取文档分页列表
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/queryValidDocumentList.do - 请求方式
GET/POST - 入参
pageSize: 10
pageNum: 1
field:
direction: DESC - 出参
同下面文档管理-获取文档分页列表
获取已关联文档列表
- URL地址
http[s]://vclass.wangsu.com/classroom/classroomManage/getRelaDocumentList.do - 请求方式
GET/POST - 入参
classroomId: - 出参
{"code":0,"message":"操作成功","data":{}}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
data内容同白板API2.4、获取指定白板详情示例。
{"code":0,"message":"操作成功","data":[
{
"boardName": "修改为关联两个文档",
"createTime": 1517831902,
"customerId": 123456,
"documentList": [
{
"convertStatus": 5,
"coverFileList": [
{
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"pageNum": 1,
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg"
}
],
"createTime": 1514186486,
"customerId": 123456,
"documentType": 9,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"id": "8c86c3e801601000a0f469d000000000",
"name": "fileName2",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"updateTime": 1514186486,
"userName": "testUser"
},
{
"convertStatus": 3,
"coverFileList": [
{
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000_1.pdf",
"pageNum": 1,
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000_1_cover.jpg"
},
{
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000_2.pdf",
"pageNum": 2,
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000_2_cover.jpg"
}
],
"createTime": 1514185505,
"customerId": 123456,
"documentType": 1,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000.pdf",
"id": "8c736ddd01601000fa15599100000000",
"name": "Installingextensions",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c736ddd01601000fa15599100000000/8c736ddd01601000fa15599100000000_1_cover.jpg",
"updateTime": 1514185565,
"userName": "testUser"
}
],
"id": "28d86d230a6c11e894e290e2ba012d14",
"updateTime": 1517832122,
"updateUser": "testUser",
“userName”: “testUser”
}
]
}
保存文档关联
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/saveDocumentRela.do - 请求方式
GET/POST - 入参
classroomId:
documentIds: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
获取单个课堂详情
- URL地址
http[s]://vclass.wangsu.com/classroom/classroomManage/getClassroomDetail.do - 请求方式
GET/POST - 入参
documentId: - 出参
{"code":0,"message":"操作成功","data":{"id":"65e77c4e016510007872695e00000000","name":"艺术课堂","desc":"某堂体验课","maxMicNum":6,"style":1,"maxStudent":8,"planDuration":3600,"planStartTime":1535012994,"whiteBoardId":"65e77c4e016510007872695e00000000","chatRoomId":"65e77c4e016510007872695e00000000","status":0,"lastTime":1535012994,"isDelete":0,"customerId":160612,"createUser":"ovptest","createTime":1535012994,"updateUser":"ovptest","updateTime":1535012994}}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
删除课堂
- URL地址
http[s]://vclass.wangsu.com/classroom/classroomManage/deleteClassroom.do - 请求方式
GET/POST - 入参
classroomId: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
文档管理
获取创建人列表接口
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/getCreateUserList.do - 请求方式
GET/POST - 入参
无 - 出参
{"code":0,"message":"操作成功","data":[{"createUser":"ovptest",createUserId:1234}]}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
获取文档分页列表
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/queryDocumentList.do - 请求方式
GET/POST - 入参
pageSize: 10
pageNum: 1
field:
direction: DESC
strParams: {"status":3} - 出参
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
如成功,内容参考白板API2.7、获取文档分页列表基本信息示例。
{"code":0,"message":"操作成功","data":{
"list": [
{
"convertStatus": 5,
"createTime": 1514186486,
"customerId": 123456,
"documentType": 9,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"id": "8c86c3e801601000a0f469d000000000",
"name": "fileName2",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"updateTime": 1514186486,
"userName": "testUser"
},
{
"convertStatus": 3,
"createTime": 1514169358,
"customerId": 123456,
"documentType": 1,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8b6f2985016010000f749d9900000000/8b6f2985016010000f749d9900000000.pdf",
"id": "8b6f2985016010000f749d9900000000",
"name": "fileName1",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8b6f2985016010000f749d9900000000/8b6f2985016010000f749d9900000000_1_cover.jpg",
"updateTime": 1514169494,
"userName": "testUser"
},
{
"convertStatus": 3,
"createTime": 1513947247,
"customerId": 123456,
"documentType": 1,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/7e26588701601000ff20915e00000000/7e26588701601000ff20915e00000000.pdf",
"id": "7e26588701601000ff20915e00000000",
"name": "fileName1",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/7e26588701601000ff20915e00000000/7e26588701601000ff20915e00000000_1_cover.jpg",
"updateTime": 1513947354,
"userName": "testUser"
}
],
"pageNum": 1,
"pageSize": 3,
"pages": 1,
"size": 3,
"total": 3
}
}
编辑文档名称接口
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/saveDocumentName.do - 请求方式
GET/POST - 入参
documentId:
documentName: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
批量删除文档接口
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/deleteDocuments.do - 请求方式
GET/POST - 入参
documentIds: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
定时查询文档列表
同获取文档分页列表。
预览文档接口
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/getCoverFileList.do - 请求方式
GET/POST - 入参
documentId: - 出参
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
成功的内容白板API2.8接口
{"code":0,"message":"操作成功","data":[
{
"convertStatus": 5,
"coverFileList": [
{
"documentId": "1907317f0165100085111fb200000000",
"fileFullUrl": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_1.png?op=imageMogr2&format=jpg",
"id": "2b34021215094a0b918b59c3e7c8ddf4",
"pageNum": 1,
"thumbnail": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_1_cover.jpg"
},
{
"documentId": "1907317f0165100085111fb200000000",
"fileFullUrl": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_2.png?op=imageMogr2&format=jpg",
"id": "b8d632d4ec6f4481bc842f32c72636f5",
"pageNum": 2,
"thumbnail": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_2_cover.jpg"
},
{
"documentId": "1907317f0165100085111fb200000000",
"fileFullUrl": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_3.png?op=imageMogr2&format=jpg",
"id": "1f0c414716404d62a28be40f1b399d2c",
"pageNum": 3,
"thumbnail": "http://doc.cloudv.haplat.net/160612/ovptest/201808/1907317f0165100085111fb200000000/1907317f0165100085111fb200000000_3_cover.jpg"
}
],
"createTime": 1514186486,
"customerId": 123456,
"documentType": 9,
"fileFullUrl": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"id": "8c86c3e801601000a0f469d000000000",
"name": "fileName2",
"thumbnail": "http://doc.cloudv.haplat.net/123456/testUser/201712/8c86c3e801601000a0f469d000000000/8c86c3e801601000a0f469d000000000.jpg",
"updateTime": 1514186486,
"userName": "testUser"
}
]
}
回放管理
获取回放管理分页列表
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/queryDocumentList.do - 请求方式
GET/POST - 入参
pageSize: 10
pageNum: 1
field:
direction: DESC
strParams: {"status":"0","lastTimeBegin":"1536549696","lastTimeEnd":"1536549996","name":"计算机教室"} - 出参
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
{"code":0,"message":"操作成功","data":{"totalCount":96,"rows":[{"classroomName":"lalalalalalalla11111","lessonId":"957fcde57f384fbebc7604ccd638be5d","classRoomId":"957fcde57f384fbebc7604ccd638be5d","videoId":"957fcde57f384fbebc7604ccd638be5d","recordTaskId":"957fcde57f384fbebc7604ccd638be5d","wbRecordId":"957fcde57f384fbebc7604ccd638be5d","imRecordId":"957fcde57f384fbebc7604ccd638be5d","videoName":"957fcde57f384fbebc7604ccd638be5d","lessonId":"957fcde57f384fbebc7604ccd638be5d","duration":10080,"status":1,"fileSize":12345,"isPublish":1,"lessonbeginTime":22222,"lessonEndTime":3333}]}}
发布接口
- URL地址
http[s]://vclass.wangsu.com/lesson/lessonManage/publish.do - 请求方式
GET/POST - 入参
lessonId:
videoId: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
取消发布接口
- URL地址
http[s]://vclass.wangsu.com/lesson/lessonManage/cancelPublish.do - 请求方式
GET/POST - 入参
lessonId:
videoId: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
编辑视频名
- URL地址
http[s]://vclass.wangsu.com/lesson/lessonManage/saveVideoName.do - 请求方式
GET/POST - 入参
lessonId:
videoId:
videoName: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
删除接口
- URL地址
http[s]://vclass.wangsu.com/lesson/lessonManage/deleteLesson.do - 请求方式
GET/POST - 入参
lessonId:
videoId: - 出参
{"code":0,"message":"操作成功"}
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
回看管理的文档下拉模糊查询接口
- URL地址
http[s]://vclass.wangsu.com/document/documentManage/queryDocumentList.do - 请求方式
GET/POST - 入参
classroomName:
pageIndex: 4 点击加载更多更多的时候没有 - 出参
{"code":-1,"message":"参数错误"}
{"code":500,"message":"服务器异常"}
{"code":0,"message":"操作成功","data":{"totalCount":96,"rows":
[{"name":"lalalalalalalla11111","id":"957fcde57f384fbebc7604ccd638be5d"}]}}
登录
获取公钥
获取验证码接口
- URL地址
http[s]://vclass.wangsu.com/logon/login!getCaptcha.do - 请求方式
GET/POST - 入参
无 - 出参
{
"code":0,"message":"操作成功","data":{"data": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAoCAYAAACiu5n/AAAIzklEQVR42u1ZCXeU5Rnlb1SQAgoI\norVUj22VRUCQyCKyryIoAa0IIqFIA1hFClQKaAUNB0RFe7IvkIXsCUkg+07Ivu/rZLJOwu1zn2Sm\nASaQwZaiznfOnORk3u/93vss997nyzD8wq5hdsB2wHbAdsB2wLdcN27cQEtrl35+EYB7e28g7EoV\n9p5IxtceeQiOqUBmXiNMpt6fH+Ca+nb4hZdi96dJ+O0rvpgw1wtz3wzG+j9HwyOo6L6DHhLgtg4T\nqmrb0dDcia7uHptKOTGzHq/tisajsz3xxHwfLN8WgTf2xGDamkCMf8kTK7ZHwie0FN33CfiQADe1\ndOKMey6On8tGYFT5kMEaJVABsn7cHE88MssDq3ZEoqzKiOz8JgFZgv2fpcp3XvjjCn/dl6X/QABm\nVj89k4lfPe+KMbPcUV7dNujanp5eBVXb0K6fOW8E631PSnZTsxs0EAODEpdSg4kO3pj8qh8KywwP\nBmAeLK+4GaNmuOvh//F11qDrmg1d2PG3eBw9m4lFfwrHiGluGCvlvOSdcNQ3dqCrqwfFFUapmi5d\nbzL14LxvAR57yQvT1wahxdD1YADOKWzGpHneCnjsbA/klbRYXecTUoqHZA3XEeyK7RFwEJJauzMK\nf1h+Ec9J+a7ffRknvslGWaVR7+noNGHfiRS9b8a6QFTVtf9/AZukTCPjKzFrfZAC4ef5VQE47JKB\n+PQ61VdmrrWtG4slq/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MzJvrxfF302h4jufklj9mhR+TMivtryEoJEx5cM48SUEOzj/aW8\n9aOrFhv5s/hXS2G5Ad945au35rBBo0J2n7zIVwGTyXvuUIk/yf8tkZxoOChHA4mS0nm3edn+zzQ7\nYDtgO2A74Af5+jchMjn9YbpUWgAAAABJRU5ErkJggg==",
"isEncrypted": 1,
"publicKeyModulus": "94a5186ee462f8b7678ab3d874d19a1662464696becb2e9aa72a8cd55a62afcc50f2cc354169a69dc6631a241fef28227cf50b06807bb3d970585ce3e6d96f00007a634e4b18f181eddeab646c6ff8cf8b3af4527fe9e7f70d2345dc4876660cfbf7473599e2473869b6ea5f6d960aa666bc3497bcdfadba90a3ff7c3f79781b",
"hideCaptcha": true,
"publicKeyExponent": "10001"}
}
hideCaptcha表示是否隐藏验证码
登录接口
- URL地址
http[s]://vclass.wangsu.com/logon/login!getCaptcha.do - 请求方式
GET/POST - 入参
userName: ovptest
password: 28fca74effdf0efa34a25b74ea8dfd587971bdac6584c9b881342ba8d744f4ccac318f91853390756fb472e131372073f437048982c2307a4c4276a741a715c416810b66ae6a89288b8d7a0b283c03700652bd6f37a86b7a311319e60aaf7ec557226205cbe04ba31b9988d941787476619a60c8fcff1e164466c453bc3becbc
userCaptcha: in1b - 出参
登出接口
- URL地址
http[s]://vclass.wangsu.com/logon/login!logout.do - 请求方式
POST - 入参
userName: ovptest
password: 28fca74effdf0efa34a25b74ea8dfd587971bdac6584c9b881342ba8d744f4ccac318f91853390756fb472e131372073f437048982c2307a4c4276a741a715c416810b66ae6a89288b8d7a0b283c03700652bd6f37a86b7a311319e60aaf7ec557226205cbe04ba31b9988d941787476619a60c8fcff1e164466c453bc3becbc
userCaptcha: in1b - 出参
{"code":401,"message":"验证码错误"}
{"code":401,"message":"用户名或密码错误"}
{"code":0,"message":"操作成功"}