API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · lms_comments

LMS Comment Schema

ID del esquema
lms_comment
Colección
lms_comments
Permisos
  • Leerlms_comment_view
  • Crearlms_comment_create
  • Modificarlms_comment_edit
  • Eliminarlms_comment_delete
Relaciones

Campos

LMS Comment Schema

lms_comments4 permisos

Schema for instructor and student feedback comments in the LMS

targetTypestringobligatorio

Type of entity this comment is attached to

unit_progressquiz_attemptlearning_unit
targetIdstringobligatorio

ID of the entity this comment is attached to

mín. 1 caracteres
learningUnitIdstringobligatorio

ID of the learning unit (denormalized)

mín. 1 caracteres
courseIdstringobligatorio

ID of the course (denormalized)

mín. 1 caracteres
enrollmentIdstringopcional

ID of the student enrollment (if applicable)

admite null
authorIdstringobligatorio

ID of the comment author

mín. 1 caracteres
authorRolestringobligatorio

Role of the comment author

instructorstudent
bodystringobligatorio

Comment body (plain text or TipTap HTML)

1–4000 caracteres
isPrivatebooleanopcional

Whether this comment is only visible to instructors

admite null
parentIdstringopcional

ID of the parent comment for threaded replies

admite null

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/lms_comments — Lista, paginada y filtrable
  • GET /api/v1/lms_comments/<id> — Una entidad
  • POST /api/v1/lms_comments — Crear
  • PATCH /api/v1/lms_comments/<id> — Actualización parcial
  • DELETE /api/v1/lms_comments/<id> — Eliminación lógica
  • GET /api/v1/lms_comments/<id>/timeline — Auditoría y actividades

Búsqueda