Entidad · kb_comments
KB Comment Schema
Campos
KB Comment Schema
Threaded comment on a knowledge base article
articleId
Reference to the kb_article
parentCommentId
Parent comment ID for threaded replies (null = root comment)
PatrónValor por defecto: nulladmite null
body
Comment text (may contain @mentions as @[userId])
1–5000 caracteres
mentions
User IDs mentioned in this comment
Valor por defecto: []
anchorId
Matches <span data-comment-anchor="…"> in kb_article.contentHtml. null = general comment without a text anchor.
Valor por defecto: nulladmite null
quotedText
Snapshot of the commented text at creation time — fallback when the anchor is orphaned.
máx. 300 caracteresValor por defecto: nulladmite null
isResolved
Whether this comment thread is resolved
Valor por defecto: false
resolvedBy
User who resolved this thread
PatrónValor por defecto: nulladmite null
resolvedAt
Valor por defecto: nulladmite null
Ningún campo coincide con el filtro.
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/kb_comments— Lista, paginada y filtrableGET /api/v1/kb_comments/<id>— Una entidadPOST /api/v1/kb_comments— CrearPATCH /api/v1/kb_comments/<id>— Actualización parcialDELETE /api/v1/kb_comments/<id>— Eliminación lógicaGET /api/v1/kb_comments/<id>/timeline— Auditoría y actividades