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
/smart-ia/cohorts
curl \
-X GET https://connect.century.tech/api/v1/smart-ia/cohorts
Response examples (200)
{
"data": [
{
"name": "Cohort 2023",
"tests": [
{
"testId": "c5a77fda-7174-446f-a4f5-0f47ccbf15ce",
"activationStatus": "active"
}
],
"cohortId": "784baee5-08ab-459a-ab44-b24a0efd3a57",
"description": "This cohort is for students graduating in 2023",
"academicYearId": "dccd109a-08ca-4a18-a277-4653ba726316"
}
],
"pagination": {
"limit": 30,
"total": 300,
"offset": 100,
"nextCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0=",
"previousCursor": "eyJsaW1pdCI6MSxiZWZvcmU6IiIsc29ydDpbWyJlbmREYXRlIiwiZGVzYyJdXX0="
}
}