Query parameters
-
search string
-
academicYearId string(uuid) | string
-
limit integer(int32)
Specify the pagination limit, defaults to 100
Minimum value is
1
, maximum value is100
. Default value is100
. -
offset integer(int32)
Specify the pagination offset, defaults to 0.
Cannot be used with
cursor
Default value is
0
. -
cursor string(byte) | null
Provide the next or previous page cursor
GET
/classes
curl \
-X GET https://connect.century.tech/api/v1/classes
Response examples (200)
{
"data": [
{
"name": "Algebra 101",
"classId": "c81fd38c-03f6-4b68-8720-84a7233e89de",
"description": "An introductory course to Algebra",
"academicYearId": "dccd109a-08ca-4a18-a277-4653ba726316"
}
],
"pagination": {
"limit": 30,
"total": 300,
"offset": 100,
"nextCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0=",
"previousCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0="
}
}