Skip to content

获取课程任务目录列表

GET /courses/{defaultCourseId}/items

权限

  • 不需要认证

参数

字段是否必填描述
onlyPublished int stringonlyPublished=1,过滤掉未发布的任务

响应

成功响应CourseItem结构体

字段描述
type enum{task,chapter,unit}类型
number int string显示的数字
seq int string任务的顺序
title string标题
task CourseTask任务

错误

失败响应Error结构体,错误码有

Code错误说明HTTP状态码
10教学计划不存在404