Classrooms

玩过关卡

GET
返回这个教室中用户所玩得所有关卡.

Path parameters

classroomHandlestringRequired

教室 _id.

memberHandlestringRequired

教室成员 _id.

Response

This endpoint returns a list of objects
state
objectOptional
level
objectOptional
levelID
stringOptional
关卡名,如 wakka-maul
creator
stringOptional
playtime
integerOptional
以秒为单位游戏所玩时间
changed
stringOptional
created
stringOptional
dateFirstCompleted
stringOptional
submitted
booleanOptional
对于竞技场来说,这一关是否已经加入进阶关卡。
published
booleanOptional
分享的项目。这些项目是否已经分享给了同学。
GET
1curl https://koudashijie.com/api/classrooms/:classroomHandle/members/:memberHandle/sessions \
2 -u "<username>:<password>"
200
Retrieved
1[
2 {
3 "state": {
4 "complete": true
5 },
6 "level": {
7 "original": "string"
8 },
9 "levelID": "string",
10 "creator": "string",
11 "playtime": 0,
12 "changed": "string",
13 "created": "string",
14 "dateFirstCompleted": "string",
15 "submitted": true,
16 "published": true
17 }
18]