Chapters
All Chapters
GET
https://yoursite.mavenseed.com/api/v1/chapters
Retrieve all chapters.
Path Parameters
page
integer
Results are paginated
Headers
Authorization
string
Auth token
Show Chapter
GET
https://yoursite.mavenseed.com/api/v1/chapters/:id
Retrieve a single chapter.
Path Parameters
string
Headers
Authorization
string
Auth token
Create Chapter
POST
https://yoursite.mavenseed.com/api/v1/chapters
Create a chapter.
Path Parameters
string
Headers
Authorization
string
Auth token
Request Body
course_id
string
title
string
Title of the chapter. Displayed in lesson listing.
content
string
Chapter description. Displayed in lesson listing.
ordinal
integer
The position of the chapter in the course.
Update Chapter
PATCH
https://yoursite.mavenseed.com/api/v1/chapters/:id
Update a single chapter. All of the above properties in create chapter are valid.
Headers
Authorization
string
Auth token
Delete a Chapter
DELETE
https://yoursite.mavenseed.com/api/v1/chapters/:id
Delete a chapter
Path Parameters
string
Headers
Authorization
string
Auth token
Last updated