更新实时课堂(班)
POST
/liveclass/editByGroup修改时间: 10 个月前
请求参数
Body 参数application/json
classId
number
要修改的课堂ID
mediaType
number
课堂类型
1:⾳频实时课堂,3:视频实时课堂
classStart
number
课堂开始时间
单位:秒
classEnd
number
课堂结束时间
单位:秒
speaker
string
课堂中老师用户ID
title
string
课堂标题
格式为 Unix Epoch 时间戳,单位秒
description
string
课堂描述
groupIds
string
班级id
不传递情况表示不变,传递则按照新传递值来
recordAvator
string
录制模式
0: 不录制 默认不录制 1: 录制主讲老师 2:录制老师屏幕
示例
{
"classId": 14041,
"mediaType": 1,
"title": "高考数学第三讲",
"description": "张老师开课的高考数学第三讲",
"classStart": 1572573600,
"classEnd": 1572576300,
"speaker": "0_12345",
"assistant": "0_23456",
"listener": "1_34567|1_34568|1_34569"
}
示例代码
返回响应
请求成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
msg
string
必需
code
integer
必需
reqId
string
必需
reqTime
integer
必需
execTime
integer
必需
示例
{
"msg": "remote call success",
"code": 0,
"reqId": "1700484994276_0.6632804839488871",
"reqTime": 1700484994276,
"execTime": 92
}
修改于 10 个月前