{
  "id": "lesson_567890",
  "name": "JavaScript Variables and Data Types",
  "course_id": "course_123456",
  "module_id": "module_789012",
  "published": true,
  "thumbnail": "https://example.com/lesson-thumbnail.jpg",
  "thumbnail_slider_cover": "https://example.com/lesson-slider-cover.jpg",
  "video_thumbnail": "https://example.com/video-thumbnail.jpg",
  "custom_offer": {
    "enabled": false,
    "external_link": ""
  },
  "user_data": {
    "progress": 0,
    "visible": true,
    "expired": false,
    "delivery_date": ""
  }
}

Properties

id
string
Unique identifier for the lesson.
name
string
The name of the lesson.
course_id
string
Identifier of the course this lesson belongs to.
module_id
string
Identifier of the module this lesson belongs to.
published
boolean
default:"true"
Whether the lesson is published and accessible.
thumbnail
string
URL to the lesson’s thumbnail image.
video_thumbnail
string
URL to the lesson’s thumbnail generated from its video.
thumbnail_slider_cover
string
URL to the lesson’s thumbnail image used in slider views.
custom_offer
custom_offer
Information about whether this lesson can be purchased inside the members area. See custom_offer for detailed properties.
user_data
lesson_user_data
Data specific to the current user’s interaction with the lesson. See lesson_user_data for detailed properties.

Scope

It’s accessible through all_lessons object.