GET

/api/users/{handle}/classrooms

Authorization*
curl --request GET \
  --url https://codecombat.com/api/users/{handle}/classrooms \
  --header 'Authorization: <authorization>'
[
  {
    "_id": "string",
    "clanId": "string",
    "code": "string",
    "codeCamel": "string",
    "courses": [
      {
        "_id": "string",
        "enrolled": [
          "string"
        ],
        "instance_id": "string",
        "levels": [
          "object"
        ]
      }
    ],
    "description": "string",
    "members": [
      "string"
    ],
    "name": "string",
    "ownerID": "string"
  }
]

Authorizations

Authenticationheaderrequired
string

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

handlerequired
string

The document's _id or slug.

Query Parameters

retMemberLimit
number | null

limit the return number of members for each classroom

Response

200 - application/json
_id
string | null
clanId
string | null
code
string | null
codeCamel
string | null
courses
object[] | null
description
string | null
members
string[] | null
name
string | null
ownerID
string | null