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

Authorizations

Authorization
string
headerrequired

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

Path Parameters

handle
string
required

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
name
string | null
members
string[] | null
ownerID
string | null
description
string | null
code
string | null
codeCamel
string | null
courses
object[] | null
clanId
string | null