- Social
- Comments
- Posts
- Reactions
- Story Groups
- Stories
- Social Views
- Social Collections
- Saved Posts
- Hidden Socials
- Calendar
- Calendars
- Events
- Event Rooms
- Authentication
- Global
- Profile
- Organizations
- Search Brand Fetch Brands
- Verify Organization
- Remove a Site
- Create a Site
- Invite Organization Branch
- List All Branches
- Accept Branch Invitation
- Decline Branch Invitation
- List All Organization Collaborators
- List All Organizations
- Search Organizations
- Retrieve an Organization
- Update an Organization
- Delete an Organization
- Create an Organization
- Search Brands
- List All Social Links
- Members
- List All Members
- Search Members
- Invite Organization Members
- Delete Invitation
- Update a Member
- Retrieve a Member
- Delete a Member
- Delete Multiple Members
- Accept Organization Invitation
- Decline Organization Invitation
- Check Member Existence
- Retrieve Invitation Link
- Retrieve Invitation Object
- Retrieve Non-Paginated Organization Members
- List All Resources of an Organization
- Update Member Resource Roles-V1
- Update Member Resource Roles-V2
- Followers
- Groups
- Profiles
- Experiences
- Group Members
- Profile Search History
- Alumni
- Favorites
- Retrieve an Invitation link
- Organizations
- Notification
- Storage
- Space
- Folders
- Space Members
- Check Member Existence
- List All Members
- Search Members
- Search Potential Members
- Add a Member
- Invite Members
- Retrieve an Invitation Link
- Accept an Invitation
- Decline an Invitation
- Update a Member
- Assign License
- Assign License to an Organization Group
- Remove a License
- Search License-Assigned Members and Groups
- Remove a Member
- Delete an Invitation
- Leave a Space
- Spaces
- Health
- Course
- Course Versions
- Completions
- Certificates
- Courses
- List All Courses
- Publish a Course
- Delete a Course
- Retrieve a Course
- Create a Course
- Update a Course
- Search a Course
- Delete All Course
- Review a Course
- Start a Course
- Create a Cycle
- Delete a Cycle
- Clone a Course
- Update Cycles
- List All Courses With Published Verifying Status
- Search Courses With Published Verifying Status
- List All Languages Course Count
- List All Skills Course Count
- Update a Course Certificate
- Create a Coupon
- Update a Coupon
- Delete a Coupon
- Update Version
- Compare Latest Course
- Categories
- Course Members
- Chapters
- Lectures
- Subjects
- Webhook
- Analytics
Update a Chapter
Testing
PATCH
/courses/{courseId}/chapters/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://api.aladia.io/v2/courses//chapters/' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Chapter 5",
"description": "chapter 5 description",
"dates": {
"startDate": "2012-01-06T09:10:27.670Z",
"endDate": "2066-05-08T05:11:13.318Z"
},
"lecturesDuration": 55
}'
Response Response Example
200 - Success
{
"id": "3c43226ab86fe8932d4d2b44",
"courseId": "fd7eef13f2a00d02ddd9a01c",
"name": "Chapter 5",
"description": "Chapter 5 description",
"dates": {
"startDate": "2085-02-06T20:23:02.790Z",
"endDate": "2088-07-05T06:31:05.851Z"
},
"lectures": [
"c7feebc8fd53a1cdba8accf4"
],
"completion": {
"chapterId": "6662c783d003f900eb646083",
"completions": [],
"average": 0
},
"lecturesDuration": 56676,
"createdAt": "2038-01-20T22:14:45.247Z",
"updatedAt": "2010-08-01T22:30:09.261Z"
}
Request
Path Params
courseId
stringÂ
required
id
stringÂ
required
Header Params
apikey
stringÂ
optional
Example:
{{apikey}}
Body Params application/json
name
stringÂ
optional
description
stringÂ
optional
cycles
object (cycles.model)Â
optional
dates
object (dates.model)Â
required
id
stringÂ
optional
lecturesDuration
integerÂ
optional
mandatory
booleanÂ
optional
suspension
stringÂ
optional
Examples
Responses
🟢200Success
application/json
Body
id
stringÂ
required
courseId
stringÂ
optional
name
stringÂ
required
description
stringÂ
optional
dates
object (dates.model)Â
optional
startDate
stringÂ
optional
endDate
stringÂ
optional
lectures
array[string]
optional
lecturesDuration
integerÂ
optional
status
stringÂ
optional
mandatory
booleanÂ
optional
createdAt
stringÂ
optional
updatedAt
stringÂ
optional
🟠401Unauthorized
🟠403Forbidden
🟠422Parameter Error
🟠404Record Not Found
Modified at 2025-04-08 10:59:51