API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · lms_comments

LMS Comment Schema

Schema ID
lms_comment
Collection
lms_comments
Permissions
  • Readlms_comment_view
  • Createlms_comment_create
  • Editlms_comment_edit
  • Deletelms_comment_delete
Relationships

Fields

LMS Comment Schema

lms_comments4 permissions

Schema for instructor and student feedback comments in the LMS

targetTypestringrequired

Type of entity this comment is attached to

unit_progressquiz_attemptlearning_unit
targetIdstringrequired

ID of the entity this comment is attached to

min 1 characters
learningUnitIdstringrequired

ID of the learning unit (denormalized)

min 1 characters
courseIdstringrequired

ID of the course (denormalized)

min 1 characters
enrollmentIdstringoptional

ID of the student enrollment (if applicable)

nullable
authorIdstringrequired

ID of the comment author

min 1 characters
authorRolestringrequired

Role of the comment author

instructorstudent
bodystringrequired

Comment body (plain text or TipTap HTML)

1–4000 characters
isPrivatebooleanoptional

Whether this comment is only visible to instructors

nullable
parentIdstringoptional

ID of the parent comment for threaded replies

nullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/lms_comments — List, paginated + filterable
  • GET /api/v1/lms_comments/<id> — Single entity
  • POST /api/v1/lms_comments — Create
  • PATCH /api/v1/lms_comments/<id> — Partial update
  • DELETE /api/v1/lms_comments/<id> — Soft delete
  • GET /api/v1/lms_comments/<id>/timeline — Audit + activities

Search