Courses
All Courses
GET
https://yoursite.mavenseed.com/api/v1/courses
Retrieve all courses
Path Parameters
page
integer
Results are paginated.
Headers
Authorization
string
Auth token
Show Course
GET
https://yoursite.mavenseed.com/api/v1/courses/:id
Retrieve a single course
Headers
Authorization
string
Auth token
Create Course
POST
https://yoursite.mavenseed.com/api/v1/courses
Create a course.
Headers
Authorization
string
Auth Token
Request Body
title
string
Title of the course
status
integer
0 - draft, 1 - published
scheduled_at
string
Optional datetime if course is scheduled
published_at
string
Published date in datetime format
excerpt
string
Course excerpt
free
boolean
Whether or not the course is free
questions_enabled
boolean
Should questions be enabled on the course
Update Course
PATCH
https://yoursite.mavenseed.com/api/v1/courses/:id
Update a single course. All of the above properties in create course are valid.
Headers
Authorization
string
Auth token
Delete a Course
DELETE
https://yoursite.mavenseed.com/api/v1/courses/:id
Delete a course.
Headers
Authorization
string
Auth toke
Last updated