List All Subjects
Testing
GET
/courses/{courseId}/subjects
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aladia.io/v2/courses/6655adf6efc95eeb791f8e65/subjects?version&limit=50&next=&prev=&sortBy=&sortDirection=asc'
Response Response Example
200 - Success
{
"data": [
{
"id": "673c8d0b509c9de428fc7745",
"title": "2024-11-19T13:05:15.431Z",
"color": "#FFC0CB",
"lecturesWithChapter": [],
"teachers": [
"673c13275b422429d48fb55a",
"673c13665b422429d48fb5a9"
],
"courseId": "673c8cf5509c9de428fc76f3",
"createdAt": "Tue Nov 19 2024 16:05:15 GMT+0300 (Arabian Standard Time)",
"updatedAt": "Tue Nov 19 2024 16:05:15 GMT+0300 (Arabian Standard Time)",
"description": "Subject 1 description"
},
{
"id": "673c8db1509c9de428fc77af",
"title": "Subject 2",
"color": "#C70039",
"lecturesWithChapter": [],
"teachers": [
"673c13275b422429d48fb55a",
"673c13665b422429d48fb5a9"
],
"courseId": "673c8cf5509c9de428fc76f3",
"createdAt": "Tue Nov 19 2024 16:08:01 GMT+0300 (Arabian Standard Time)",
"updatedAt": "Tue Nov 19 2024 16:24:56 GMT+0300 (Arabian Standard Time)",
"description": "Subject 2 description"
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 2
}
}
Request
Path Params
courseId
stringÂ
required
Example:
6655adf6efc95eeb791f8e65
Query Params
version
stringÂ
optional
limit
integerÂ
optional
Default:
50
next
stringÂ
optional
prev
stringÂ
optional
sortBy
stringÂ
optional
sortDirection
enum<string>Â
optional
Allowed values:
ascdesc
Default:
asc
Responses
Modified at 2025-04-12 09:46:57