Entité · kb_comments
KB Comment Schema
Champs
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)
MotifPar défaut : nullnullable
body
Comment text (may contain @mentions as @[userId])
1–5000 caractères
mentions
User IDs mentioned in this comment
Par défaut : []
anchorId
Matches <span data-comment-anchor="…"> in kb_article.contentHtml. null = general comment without a text anchor.
Par défaut : nullnullable
quotedText
Snapshot of the commented text at creation time — fallback when the anchor is orphaned.
max. 300 caractèresPar défaut : nullnullable
isResolved
Whether this comment thread is resolved
Par défaut : false
resolvedBy
User who resolved this thread
MotifPar défaut : nullnullable
resolvedAt
Par défaut : nullnullable
Aucun champ ne correspond au filtre.
Endpoints standard
Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :
GET /api/v1/kb_comments— Liste, paginée et filtrableGET /api/v1/kb_comments/<id>— Une entitéPOST /api/v1/kb_comments— CréerPATCH /api/v1/kb_comments/<id>— Mise à jour partielleDELETE /api/v1/kb_comments/<id>— Suppression logiqueGET /api/v1/kb_comments/<id>/timeline— Audit et activités