Mavenseed Documentation
Back to Mavenseed
  • Welcome to Mavenseed 🎉
  • Getting Started
    • Creating your account
      • Connect to Stripe
        • Stripe F.A.Q.
    • Managing your account
      • Managing Your Sites
        • Custom Domains
        • Importing Data
          • Customers with subscriptions
          • Customers with orders
          • Customers with no orders
          • Courses
          • Videos
          • Images
        • Exporting Data
        • Gateways
        • Policies
      • Inviting Collaborators
      • Guest Authors
      • Manage your Subscription
      • Plugin Subscriptions
  • Creating Content
    • Dashboard
    • Posts
      • Quotes
    • Pages
    • Courses
      • Course Stats
      • Chapters: Adding & Editing
      • Lessons
      • Exercises (Assignments)
        • Submitting to an Exercise
      • Quizzes
      • Details
      • Selling Options
      • Course Files
      • Settings
      • Notes
      • Revisions
    • Community
      • Buzzes
    • Downloads
      • Edit
      • Sell
      • Files
    • Live Streams
      • Editing Details
      • Selling Options
      • Editing Media
      • RSVP's
    • Categories
    • Tags
    • Site Search
    • Page Builder
      • Using Templates
    • Media Library
  • Selling Your Content
    • Single Purchases
    • Bundles
    • Memberships
    • Selling FAQ
    • SCA
  • Running your business
    • Customers
      • Received Payments
    • Progress Reports
    • Orders
      • Creating Manual Orders
    • Managing Subscriptions
      • How Subscriptions Work
      • Creating Subscription Plans
      • Editing a Subscription Plan
      • Canceling & or Deleting customers subscription
      • How to: Creating a tiered subscription offering
      • Changing your Maven Subscription Plan
      • Emailing your Subscribers
      • Team Plans
      • Override Plans Page
      • Custom Welcome Page
      • Free Subscriptions
    • Coupons
    • Gift Cards
    • Gift Subscriptions
    • GDPR
    • Selling Merch
  • Managing your site
    • Activity
      • Events List
      • Single Event
      • UTM Campaigns
      • Comments
    • Reports
    • Settings
      • Scripts
      • Links
      • Design
      • Communications
      • Integrations
        • Google Analytics
        • Google Tag Manager
        • Mailchimp
        • Zapier
        • Youtube
        • Helpscout
        • Tree Planting
      • Taxes
        • Stripe
        • Braintree
        • U.S. Sales Tax
        • EU Value Added Tax
      • Forms
        • Contact form
    • Market
      • Social Links
      • Social
      • Comments
      • Reviews
      • Bookmarks
      • Loves
      • Playlists
      • Gamification
      • PayPal ($)
      • Projects ($)
      • Profiles ($)
    • Security
      • Spam
    • Notifications
    • SEO
  • Developers
    • API
      • Coupons
      • Courses
      • Customers
      • Events
      • Lessons
      • Chapters
      • Course Chapters
      • Orders
      • Payments
      • Subscriptions
    • Webhooks
    • Site Customizations
  • Changelog
    • 2023
      • January
    • 2022
      • December 2022
      • November 2022
      • October 2022
      • September 2022
      • August 2022
      • July 2022
      • May 2022
      • April 2022
      • March 2022
      • February 2022
      • January 2022
    • 2021
      • November 2021
      • September 2021
      • August 2021
      • July 2021
      • June 2021
      • May 2021
      • February 2021
      • January 2021
    • 2020
      • November 2020
      • October 2020
      • September 2020
      • August 2020
      • July 2020
      • June 2020
      • May 2020
      • April 2020
  • Beta Accounts
    • Ensuring Subscription Plans are Synced with Stripe
    • Updating your Stripe Product ID
Powered by GitBook
On this page
  • All Chapters
  • Show Chapter
  • Create Chapter
  • Update Chapter
  • Delete a Chapter

Was this helpful?

Export as PDF
  1. Developers
  2. API

Chapters

All Chapters

GET https://yoursite.mavenseed.com/api/v1/chapters

Retrieve all chapters.

Path Parameters

Name
Type
Description

page

integer

Results are paginated

Headers

Name
Type
Description

Authorization

string

Auth token

[
    {
        "id": 1030,
        "course_id": 424,
        "title": "Chapter One",
        "content": "<p>fdafdsa</p>",
        "created_at": "2020-07-29T11:28:31.494-04:00",
        "updated_at": "2020-07-29T11:28:49.451-04:00",
        "ordinal": 1
    },
    {
        "id": 949,
        "course_id": 384,
        "title": "chapter two",
        "content": "<p>fsda</p>",
        "created_at": "2020-06-08T12:07:54.724-04:00",
        "updated_at": "2020-06-08T12:07:54.724-04:00",
        "ordinal": 2
    }
]

Show Chapter

GET https://yoursite.mavenseed.com/api/v1/chapters/:id

Retrieve a single chapter.

Path Parameters

Name
Type
Description

string

Headers

Name
Type
Description

Authorization

string

Auth token

{
    "id": 1030,
    "course_id": 424,
    "title": "Chapter One",
    "content": "<p>fdafdsa</p>",
    "created_at": "2020-07-29T11:28:31.494-04:00",
    "updated_at": "2020-07-29T11:28:49.451-04:00",
    "ordinal": 1
}

Create Chapter

POST https://yoursite.mavenseed.com/api/v1/chapters

Create a chapter.

Path Parameters

Name
Type
Description

string

Headers

Name
Type
Description

Authorization

string

Auth token

Request Body

Name
Type
Description

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.

{
    "id": 1030,
    "course_id": 424,
    "title": "Chapter One",
    "content": "<p>fdafdsa</p>",
    "created_at": "2020-07-29T11:28:31.494-04:00",
    "updated_at": "2020-07-29T11:28:49.451-04:00",
    "ordinal": 1
}

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

Name
Type
Description

Authorization

string

Auth token

{
    "id": 5,
    "title": "Creating a Realistic 3D Photo Scanned Pumpkin",
    "slug": "creating-a-realistic-3d-photo-scanned-pumpkin",
    "status": "published",
    "created_at": "2019-02-20T14:15:01.393-05:00",
    "updated_at": "2019-03-13T00:25:50.419-04:00",
    "scheduled_at": "2019-02-21T12:00:00.000-05:00",
    "published_at": null,
    "excerpt": "In this Blender tutorial course, we’ll be using Meshroom, a free photogrammetry software, and Blender 3D to create a realistic 3D scanned pumpkin!\t",
    "free": true,
    "questions_enabled": true
}

Delete a Chapter

DELETE https://yoursite.mavenseed.com/api/v1/chapters/:id

Delete a chapter

Path Parameters

Name
Type
Description

string

Headers

Name
Type
Description

Authorization

string

Auth token

PreviousLessonsNextCourse Chapters

Last updated 3 years ago

Was this helpful?