Get Class

GET /classes/{classId}

Get a Class

Path parameters

  • classId string(uuid) Required

    The ID of the class.

Responses

  • 200 application/json

    OK

    Hide response attribute Show response attribute object
    • class object Required
      Hide class attributes Show class attributes object
  • Invalid request.

  • Invalid authentication credentials

  • Not authorised to access this resource

  • Class not found.

GET /classes/{classId}
curl \
 -X GET https://connect.century.tech/api/v1/classes/c81fd38c-03f6-4b68-8720-84a7233e89de
Response examples (200)
{
  "class": {
    "name": "Algebra 101",
    "classId": "c81fd38c-03f6-4b68-8720-84a7233e89de",
    "description": "An introductory course to Algebra",
    "academicYearId": "dccd109a-08ca-4a18-a277-4653ba726316"
  }
}