Search Version
Developing
GET
/courses/{courseId}/versions/search
profileId
.1.
2.
3.
profileId
: The term used to search and filter the versions using the profileId.parentId
: The term used to search and filter the versions using the parentId.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aladia.io/v2/courses//versions/search?profileId&parentId&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
Response Response Example
200 - Success
{
"data": [
{
"id": "933b0dceda934f92aeba9aa4",
"profile": {
"id": "7d4ff72dbb6cdde8e75fb7e0",
"picture": "https://loremflickr.com/640/480",
"firstName": "Jeanette",
"lastName": "Roberts",
"name": "Dr. Gerardo Morar"
},
"title": "Version_2024_09_19_12:32:06",
"version": "1997-08-23T14:10:31.842Z",
"description": "analyzing",
"status": "draft",
"course": {
"id": "d6a1c2c6b1cbcc632e007f8e",
"revision": false
},
"chapters": [
{
"id": "df84edacce8edbb65f99a9ed",
"revision": true,
"lectures": [
{
"id": "9ed2e8f9334cedb941dd95f1",
"revision": false
},
{
"id": "ac63aca3cff25ce0aafeaf4f",
"revision": true
},
{
"id": "6ec8f5a62f9fa04ac8f8ab8a",
"revision": false
}
]
}
],
"parentId": "933b0dceda934f92aeba9aa4",
"activity": {
"entity": {
"type": "lecture",
"name": "Introduction to NestJs"
},
"parent": {
"type": "chapter",
"name": "Introduction"
},
"fileds": [],
"action": "create"
},
"restored": false,
"createdAt": "2069-11-22T12:35:28.188Z",
"updatedAt": "2027-10-31T12:21:09.116Z"
}
],
"cursor": {
"next": null,
"prev": null,
"totalItems": 1
}
}
Request
Path Params
courseId
stringÂ
required
Query Params
profileId
stringÂ
optional
parentId
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
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Responses
Modified at 2025-04-08 14:59:37