Skip to main content

SCCourseCommentType

Interface SCCourseCommentType. Course Comment Schema.

Properties

PropertyTypeDescription
created_atstringDatetime of comment creation
created_bySCUserTypeThe comment creator
extrasobjectSome 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.courseobjectThe course object associated to this comment
extras.course.idnumber-
extras.course.slugstring-
extras.lessonobjectThe lesson object associated to this comment
extras.lesson.idnumber-
extras.lesson.namestring-
extras.sectionobjectThe section object associated to this comment
extras.section.idnumber-
extras.section.namestring-
htmlstringThe comment text. Only available when getting a comment
idnumberThe unique integer value identifying this comment on a specific course
in_reply_tonumberThe Id of the reply comment. It must have the same parent
latest_replynull | SCCourseCommentTypeThe last comment in reply to (with parent) this comment. Not available if replies are presents.
mediasSCMediaType[]List of id of Media for this comment
parentnumberThe Id of the parent comment
repliesSCCourseCommentType[]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
textstringThe comment text. Default empty string. Only available when creating or updating a comment