Classrooms

Get Level Session

GET
Returns a list of all levels played by the user for the classroom.

Path parameters

classroomHandlestringRequired

The classroom’s _id.

memberHandlestringRequired

The classroom member’s _id.

Response

This endpoint returns a list of objects
state
objectOptional
level
objectOptional
levelID
stringOptional

Level slug like wakka-maul

creator
stringOptional
playtime
integerOptional
Time played in seconds.
changed
stringOptional
created
stringOptional
dateFirstCompleted
stringOptional
submitted
booleanOptional
For arenas. Whether or not the level has been added to the ladder.
published
booleanOptional
For shareable projects. Whether or not the project has been shared with classmates.
GET
1curl https://codecombat.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]