Create Many Chapters
Developing
POST
/courses/{courseId}/chapters/many
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.aladia.io/v2/courses//chapters/many' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name": "Handcrafted Steel Cheese",
"description": "24 hour"
}
]'
Response Response Example
201 - Success
{
"data": [
{
"id": "4facb6c6dadc71d8fcb4bee6",
"courseId": "cf59dd15e1a8fe09ccf618ee",
"name": "Electronic Granite Gloves",
"description": "transitional",
"dates": {
"startDate": "2086-06-09T21:11:34.269Z",
"endDate": "2090-07-06T13:56:39.556Z"
},
"lectures": [
"367fef47d8d8b1a979f41cb3"
],
"lecturesDuration": 92830,
"status": "draft",
"createdAt": "1999-10-10T00:19:32.802Z",
"updatedAt": "2053-11-17T02:56:09.036Z"
},
{
"id": "bef21282dd7d3c6e1e5d008a",
"courseId": "db5bbf10d9e5917fd740ef1d",
"name": "Handcrafted Concrete Keyboard",
"description": "dedicated",
"dates": {
"startDate": "1997-03-10T02:47:19.597Z",
"endDate": "2031-01-26T00:52:38.931Z"
},
"lectures": [
"3bd0b05a4bf2fdbaa335a5c4",
"a12efe92645f5c4e647bcd7c"
],
"lecturesDuration": 48950,
"status": "draft",
"createdAt": "2079-12-20T09:50:25.845Z",
"updatedAt": "2071-11-03T20:39:53.534Z"
},
{
"id": "dbb6ae1bed84df79cdb8400d",
"courseId": "cbb8bcfaaf603cd7a1ec66ae",
"name": "Licensed Soft Car",
"description": "non-volatile",
"dates": {
"startDate": "2086-04-29T08:39:35.960Z",
"endDate": "2003-05-11T19:44:10.508Z"
},
"lectures": [
"9b4abac84b1b2c6eef3e1c5a",
"c4373b1af23fb879cfaf4794"
],
"lecturesDuration": 49260,
"status": "draft",
"createdAt": "2084-09-10T18:43:53.927Z",
"updatedAt": "2022-08-16T23:44:16.122Z"
}
]
}
Request
Path Params
courseId
stringÂ
required
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
Responses
Modified at 2025-04-09 09:55:05