Course Lesson
{
"id": "integer",
"name": "string",
"type": "string",
"status": "string",
"comments_enabled": "boolean",
"html": "string",
"created_at": "string",
"created_by": {},
"medias": []
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer | false | read-only | Unique integer value identifying this lesson course |
name | string | true | none | Name of the lesson course |
type | type | true | none | Enum to define the course lesson type |
status | status | false | none | Enum to define the course lesson status. Default: draft |
comments_enabled | boolean | false | none | Enable the comments on the current lesson; if enabled, the users can comment the current lesson. Default: true |
text | string | false | write-only | The lesson course text. Default: empty string. Only available when creating or updating a lesson course |
html | string | false | read-only | The lesson course text. >Only available when getting a lesson course |
created_at | string(date-time) | false | read-only | Datetime of lesson course creation |
created_by | User | false | read-only | The lesson course creator |
medias | list(integer) | false | none | List of id of Media for the lesson course |
Enumerated Values
Property | Value | Description |
---|---|---|
type | lesson | Lesson course of type lesson |
type | quiz | Lesson course of type quiz |
status | draft | Lesson course status is draft (not yet published for all the users that joined the course) |
status | published | Lesson course status is published |