SCCourseCommentType
Interface SCCourseCommentType. Course Comment Schema.
Properties
Property | Type | Description |
---|---|---|
created_at | string | Datetime of comment creation |
created_by | SCUserType | The comment creator |
extras | object | Some extra useful data for the call that retrieves all the comments received within the entire course. Only available on the route: Get Course Comments |
extras.course | object | The course object associated to this comment |
extras.course.id | number | - |
extras.course.slug | string | - |
extras.lesson | object | The lesson object associated to this comment |
extras.lesson.id | number | - |
extras.lesson.name | string | - |
extras.section | object | The section object associated to this comment |
extras.section.id | number | - |
extras.section.name | string | - |
html | string | The comment text. Only available when getting a comment |
id | number | The unique integer value identifying this comment on a specific course |
in_reply_to | number | The Id of the reply comment. It must have the same parent |
latest_reply | null | SCCourseCommentType | The last comment in reply to (with parent) this comment. Not available if replies are presents. |
medias | SCMediaType [] | List of id of Media for this comment |
parent | number | The Id of the parent comment |
replies | SCCourseCommentType [] | The list of comments in reply to (with parent) this comment. Not available if latest_reply are presents. Only available on the route: Get Course Comments |
text | string | The comment text. Default empty string. Only available when creating or updating a comment |