Course
{
"id": "integer",
"name": "string",
"slug": "string",
"description": "string",
"type": "string",
"privacy": "string",
"enforce_lessons_order": "boolean",
"new_comment_notification_enabled": "boolean",
"image_original": "string",
"image_bigger": "string",
"image_big": "string",
"image_medium": "string",
"image_small": "string",
"join_status": "string",
"created_at": "string",
"created_by": {},
"categories": []
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer | false | read-only | Unique integer value identifying this course |
name | string | true | none | Unique name of the course |
slug | string | false | none | Unique slug identifying this course in a URL |
description | string | false | none | The course description (default value: empty string) |
type | type | true | none | Enum to define the course type |
privacy | privacy | false | none | Enum to define the course privacy (default value: empty string) |
enforce_lessons_order | boolean | false | none | Lesson order enforcement (default: false). Your members will have to complete each lesson in order before moving onto the next one |
new_comment_notification_enabled | boolean | false | none | Notify 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 |
sections_order | list(integer) | false | none | List of all section IDs belonging to the current course; IDs are sorted based on the choice made by the course managers |
image_original | string | false | none | The course profile image uploaded during course creation. Only for Create Course request body |
image_bigger | string | false | read-only | Squared image - auto generated bigger size |
image_big | string | false | read-only | Squared image - auto generated big size |
image_medium | string | false | read-only | Squared image - auto generated medium size |
image_small | string | false | read-only | Squared image - auto generated small size |
join_status | status | false | read-only | Enum to define the course subscription status of the current user |
created_at | string(date-time) | false | read-only | Datetime of course creation |
created_by | User | false | read-only | The course creator |
categories | list(Category) | false | none | The categories associated to the course |
Enumerated Values
Property | Value | Description |
---|---|---|
type | self-paced | Course starts when a member enrolls. All contents are available immediately |
type | structured | Course starts when a member enrolls. Sections are dripped relative to their enrollment date |
type | scheduled | Course starts on a specific date. Sections are dripped relative to that date |
privacy | Unselected privacy status; cannot revert to this status after selecting another privacy status | |
privacy | open | Access: Open. Anyone in your community can see and join this course. Visibility: Visible to all members of your community |
privacy | private | Access: 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 |
privacy | secret | Access: 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_status | null | The user has no status |
join_status | joined | The user joined the course |
join_status | invited | The user was invited to the course |
join_status | requested | The user requests access to the course (available when the course is closed) |
join_status | manager | The user is a manager of the course and of course the user joined the course |