Lesson
For loop type lifter_lesson
, here are the query parameters and fields.
Query parameters
course
- Course ID or "current" for current course where the lesson is assigned.
Type: stringenrolled
- Current user is enrolled, "true"/"false"
Type: booleanis_available
- Is lesson is available based on drip settings, "true"/"false"
Type: booleanis_complete
- If the lesson has been completed by a specific user, "true"/"false"
Type: booleanis_drip_past
- Is lesson drip time past, "true"/"false"
Type: booleanis_free
- If the lesson is marked as "free", "true"/"false"
Type: booleanquiz
- Quiz ID or "current" for current quiz of the lesson it is assigned.
Type: stringsection
- Section ID or "current" for current section where the lesson is assigned.
Type: stringuser
- User ID.
Type: string
Fields
audio
- Lesson audio embedavailable_date
- Get the date a course became or will become available according to element drip settings - if no drip, published date usedcontent
- Lesson contentdate_available
- Date when lesson becomes available, applies when drip_method is "date"days_before_available
- The number of days before the lesson is available, applies when drip_method is "enrollment" or "start"drip_method
- What sort of drip method to utilize [''(none)|date|enrollment|start|prerequisite]has_prerequisite
- If Lesson has prerequisite, "true"/"false"has_quiz
- If Lesson has quiz, "true"/"false"id
- Lesson IDis_available
- If Lesson is available, "true"/"false"is_complete
- If Lesson is completed by specific user, "true"/"false"is_drip_past
- If Lesson has drip is past, "true"/"false"is_free
- If Lesson is marked as "free", "true"/"false"is_orphan
- If Lesson is an orphan, "true"/"false"next_step_title
- Lesson next step titlenext_step_url
- Lesson next step urlparent_course
- Lesson parent courseparent_section
- Lesson parent sectionpoints
- Number of points assigned to the lesson, used to calculate the weight of the lesson when grading coursesprerequisite
- Lesson prerequisiteprev_step_title
- Lesson previous step titleprev_step_url
- Lesson previous step urlquiz
- Lesson quizrequire_assignment_passing_grade
- If Lesson require assignment passing grade, "true"/"false"require_passing_grade
- If Lesson require passing grade, "true"/"false"time_available
- Optional time to make lesson available on date_available when drip_method is "date"user_has_access
- If User has access to the lesson, string "true"/"false"video
- Lesson video embed