List All Lectures
Developing
GET
/courses/{courseId}/chapters/{chapterId}/lectures
version
: a latest_published, latest or a valid mongo id.cycleId
: a mongoid used to fetch a specific cycle for the lecture, mandatory for live lecture inorder to aggregate videos.Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aladia.io/v2/courses/6655adf6efc95eeb791f8e65/chapters/663e2ab2f1a51e5f45f516d4/lectures?version=latest&cycleId=&limit=50&next=&prev=&sortBy=&sortDirection=asc' \
--header 'apikey: '
Response Response Example
200 - Success
{
"data": [
{
"id": "6ea2a978be1832d9363bc4a2",
"title": "Central Assurance Representative",
"description": "Carbonite web goalkeeper gloves are ergonomically designed to give easy fit",
"lectureType": "on-demand",
"chapterId": "aab3fe6f2b27b8b6f4fcebff",
"thumbnail": {
"fileId": "c381f0217aba4dce6972a777",
"url": "http://silent-artist.org",
"metadata": {
"size": 1000,
"mimetype": "application/x-mscardfile",
"name": "test.png"
}
},
"videos": [
{
"fileId": "b1e4eafadab4ef0e4efdfcb5",
"url": "http://smug-moustache.biz",
"metadata": {
"size": 1000,
"mimetype": "application/route-usd+xml",
"name": "test.png"
}
},
{
"fileId": "8ebd49fcab8dd5abf5b6eefb",
"url": "https://medium-bootie.net",
"metadata": {
"size": 1000,
"mimetype": "application/vnd.kahootz",
"name": "test.png"
}
}
],
"attachments": [
{
"fileId": "8bcf4caa9b3cfb0c0d2cb82f",
"url": "http://rough-bunch.biz",
"metadata": {
"size": 1000,
"mimetype": "application/vnd.sealed.tiff",
"name": "test.png"
}
},
{
"fileId": "ea1df5376dc7acf67633e6a9",
"url": "https://scarce-skylight.biz",
"metadata": {
"size": 1000,
"mimetype": "application/vnd.multiad.creator.cif",
"name": "test.png"
}
},
{
"fileId": "7bc50adc897d91bba1edeb7f",
"url": "https://glistening-community.info",
"metadata": {
"size": 1000,
"mimetype": "application/vnd.lotus-freelance",
"name": "test.png"
}
}
],
"status": "draft",
"endDateReference": {
"reference": "chapter",
"referenceId": "in anim"
},
"event": {
"id": "aute consequat id",
"calendarId": "veniam esse sit aute non",
"name": "harum culpa architecto",
"description": "Sunt facilis quis voluptas omnis sunt. Saepe nostrum illo magnam corrupti enim numquam sint. Perspiciatis sunt corporis corporis eveniet itaque dolorum quis reprehenderit. Perspiciatis maiores labore accusantium cumque rem possimus velit labore. Recusandae in qui ipsam aliquam iste excepturi. Cumque non adipisci consequuntur at mollitia nisi iste modi.",
"attachments": [
"magna esse et exercitation"
],
"dates": {
"startDate": "2024-10-21T05:29:33.685Z",
"endDate": "2024-10-20T23:39:19.040Z"
},
"frequency": {
"type": "weekly",
"periodicity": "day",
"counter": 88368004.96596152,
"days": [
9515271.846779376,
-3589767.2201416194,
-63952234.99927076
],
"endDate": "2024-10-21T01:33:26.840Z"
},
"onPremise": {
"address": null
},
"live": null,
"parentId": "qui anim ex commodo ullamco",
"entityId": "enim",
"entityType": "do",
"sharedCalendars": null,
"createdAt": "2024-10-21T10:30:08.682Z",
"updateEventTarget": "laborum incididunt eiusmod in eu",
"calendarsUpdateStrategy": null,
"resetFields": "veniam aliqua dolore esse",
"updatedAt": "2024-10-21T14:07:15.431Z",
"updatedBy": "dolore dolor elit cillum quis",
"createdBy": "aliquip magna ut Lorem cillum",
"owner": {
"id": "nulla aute veniam dolor magna",
"type": "aute dolor"
},
"roomStatus": "aliqua dolore",
"parentCalendarEventId": "id aliqua reprehenderit",
"lectureId": null,
"endDateReference": {
"reference": "cupidatat sunt commodo ullamco",
"referenceId": "voluptate dolore"
},
"members": null,
"chapterSummary": {
"title": "deleniti id quisquam",
"id": "velit cupidatat id esse",
"Dates": "1974-07-07"
}
},
"observers": [
"0984044fbb7f6e1beabdc93a",
"2a4aa204e8e8cdd73d16a2c0"
],
"teachers": [
"f8a815a44df5acb4f9fc286f",
"d6c3e5537f658ee0987a6028",
"8dc0aa0c6eb8a4ec7c21f62d"
],
"attendants": [
"f894b548a47595edda5af9f4"
],
"duration": 67,
"dates": {
"startDate": "2029-01-25T11:03:00.237Z",
"endDate": "2084-03-15T02:27:22.524Z"
},
"mandatory": true,
"hasClone": true,
"accessLevel": "paid",
"roleException": [
{
"profileId": "341cb0bc2695c53000f03af6",
"role": "course-observer",
"originalRole": "course-teacher"
}
],
"suspension": "temporary",
"latestVersion": "480d9a2d-7fa4-4103-ba48-e66dcf631310",
"selectedVersion": "a344f3bb-4238-4f29-9e22-750b7ecef0a5",
"original": "b5cf0d0935377804b40aceff",
"previous": "bc73e046c1ea9caa122fab08",
"createdAt": "2024-10-20T21:55:03.311Z",
"updatedAt": "2024-10-20T18:39:59.698Z"
}
],
"next": null,
"prev": null,
"totalItems": 8
}
Request
Path Params
courseId
stringÂ
required
Example:
6655adf6efc95eeb791f8e65
chapterId
stringÂ
required
Example:
663e2ab2f1a51e5f45f516d4
Query Params
version
stringÂ
optional
Example:
latest
cycleId
string  | nullÂ
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-12 09:46:44