Skip to main content

Course User Detail

{
"id": "integer",
"name": "string",
"slug": "string",
"description": "string",
"type": "string",
"privacy": "string",
"enforce_lessons_order": "boolean",
"new_comment_notification_enabled": "boolean",
"hide_member_count": "boolean",
"meta_title": "string",
"meta_description": "string",
"og_title": "string",
"og_description": "string",
"og_image": "string",
"sections_order": [],
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"join_status": "string",
"created_at": "string",
"created_by": {},
"categories": [],
"sections": [],
"num_lessons": "integer",
"num_sections": "integer",
"num_lessons_completed": "integer",
"user_completion_rate": "integer"
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyUnique integer value identifying this course
namestringtrueread-onlyUnique name of the course
slugstringfalseread-onlyUnique slug identifying this course in a URL
descriptionstringfalseread-onlyThe course description (default value: empty string)
typetypetrueread-onlyEnum to define the course type
privacyprivacyfalseread-onlyEnum to define the course privacy (default value: empty string)
enforce_lessons_orderbooleanfalseread-onlyLesson order enforcement (default: false).
Your members will have to complete each lesson in order before moving onto the next one
new_comment_notification_enabledbooleanfalseread-onlyNotify course admins about new lesson comments (default: true).
If enabled, admins and moderators will receive a new comment notification anytime members leave a lesson comment
hide_member_countbooleanfalseread-onlyHide member count (default: false).
If enabled, only managers can see the member count
meta_titlestringfalseread-onlyThe course meta title
meta_descriptionstringfalseread-onlyThe course meta description
og_titlestringfalseread-onlyThe course Open Graph title
og_descriptionstringfalseread-onlyThe course Open Graph description
og_imagestringfalseread-onlyThe course Open Graph image
sections_orderlist(integer)falseread-onlyList of all section IDs belonging to the current course; IDs are sorted based on the choice made by the course managers
image_biggerstringfalseread-onlySquared image - auto generated bigger size
image_bigstringfalseread-onlySquared image - auto generated big size
image_mediumstringfalseread-onlySquared image - auto generated medium size
image_smallstringfalseread-onlySquared image - auto generated small size
join_statusstatusfalseread-onlyEnum to define the course subscription status of the current user
created_atstring(date-time)falseread-onlyDatetime of course creation
created_byUserfalseread-onlyThe course creator
categorieslist(Category)falseread-onlyThe categories associated to the course
sectionslist(Course User Section Detail)falseread-onlyThe sections associated to the course (with counters)
num_lessonsintegerfalseread-onlyTotal number of published lessons of the course
num_sectionsintegerfalseread-onlyTotal number of sections with at least one lesson
num_lessons_completedintegerfalseread-onlyNumber of lessons completed by the user
user_completion_rateintegerfalseread-onlyUser completion rate of the course (percentage)

Enumerated Values

PropertyValueDescription
typeself-pacedCourse starts when a member enrolls. All contents are available immediately
typestructuredCourse starts when a member enrolls. Sections are dripped relative to their enrollment date
typescheduledCourse starts on a specific date. Sections are dripped relative to that date
privacyUnselected privacy status (aka draft); cannot revert to this status after selecting another privacy status
privacyopenAccess: Open. Anyone in your community can see and join this course.
Visibility: Visible to all members of your community
privacyprivateAccess: Closed. Only members who are added by you will be able to access this course.
Visibility: Invited members only. Non-members will see the lock screen
privacysecretAccess: Closed. Only members who are added by you will be able to access this course.
Visibility: Invited members only. Non-members will not see that this course exists
join_statusnullThe user has no status
join_statusjoinedThe user joined the course
join_statusinvitedThe user was invited to the course
join_statusrequestedThe user requests access to the course (available when the course is closed)
join_statusmanagerThe user is a manager of the course and of course the user joined the course