List All Courses
Developing
GET
/courses
profileId
: The ID related to the profile of an Individual which owns the coursescategoryId
: The term used to search and filter the course using the categoryId as a querysubCategoryId
: The term used to search and filter the course using the sub-category id as a querytitle
: The term used to search and filter the course using the course title as a queryhistogram
: The boolean query param used to return the histogram value for the course.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aladia.io/v2/courses?profileId=6659bcbc1de26f00f4b6aa77&categoryId&subCategoryId&title&histogram=false&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
Response Response Example
200 - Success
{
"data": [
{
"id": "6655e194ab227ee398cbc122",
"owner": {
"id": "66542ff93a712c2dfba90931",
"type": "profile"
},
"title": "Svelte",
"description": "Svelte course description",
"categories": [],
"subCategories": [],
"spaceId": "2541860fe27847fa57ffb16f",
"chapters": [],
"certificateTemplate": {
"name": "Certificate of Completion",
"logo": "https://storage.googleapis.com/93f06186-0d7c-4bf0-9ed3-596a7d4aa7af/6759b5897374586ad113053d",
"brandColor": "#0000ff",
"accentColor": "#ff0000",
"signatureName": "John Doe",
"signatoryRole": "CEO",
"signatureFont": "Helvetica"
},
"requirements": [],
"objectives": [],
"skills": [],
"numberOf": {},
"type": "on-demand",
"status": "draft",
"role": "course-teacher",
"suspend": true,
"review": {
"totalReviews": 0,
"globalRating": 0,
"ratings": [
{
"star": 1,
"count": 0,
"percentage": 0
},
{
"star": 2,
"count": 0,
"percentage": 0
},
{
"star": 3,
"count": 0,
"percentage": 0
},
{
"star": 4,
"count": 0,
"percentage": 0
},
{
"star": 5,
"count": 0,
"percentage": 0
}
]
},
"createdBy": "66542ff93a712c2dfba90931",
"updatedBy": "66542ff93a712c2dfba90931",
"createdAt": "2024-05-28T13:52:20.335Z",
"updatedAt": "2024-05-28T13:52:20.335Z"
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
},
"histogram": {
"priceHistogram": [
0
],
"maximum": 1000,
"columns": 50,
"step": 20,
"total": 0
}
}
Request
Query Params
profileId
stringย
optional
Example:
6659bcbc1de26f00f4b6aa77
categoryId
stringย
optional
subCategoryId
stringย
optional
title
stringย
optional
histogram
booleanย
optional
Example:
false
limit
integerย
optional
Default:
50
next
stringย
optional
prev
stringย
optional
sortBy
stringย
optional
sortDirection
enum<string>ย
optional
Allowed values:
ascdesc
Default:
asc
Header Params
apikey
stringย
optional
Example:
{{apikey}}
Responses
Modified atย 2025-04-21 13:11:10