API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · kb_comments

KB Comment Schema

Schema-ID
kb_comment
Collection
kb_comments
Permissions
  • Lezenkb_comment_view
  • Aanmakenkb_comment_create
  • Wijzigenkb_comment_edit
  • Verwijderenkb_comment_delete

Velden

KB Comment Schema

kb_comments4 permissions

Threaded comment on a knowledge base article

articleIduuidvereist

Reference to the kb_article

parentCommentIdstringoptioneel

Parent comment ID for threaded replies (null = root comment)

PatternDefault: nullnullable
bodystringvereist

Comment text (may contain @mentions as @[userId])

1–5000 tekens
mentionsuuid[]optioneel

User IDs mentioned in this comment

Default: []
anchorIduuidoptioneel

Matches <span data-comment-anchor="…"> in kb_article.contentHtml. null = general comment without a text anchor.

Default: nullnullable
quotedTextstringoptioneel

Snapshot of the commented text at creation time — fallback when the anchor is orphaned.

max. 300 tekensDefault: nullnullable
reactionsobject[]optioneel

Emoji reactions with the internal user IDs that reacted

Default: []
emojistringvereist
max. 16 tekens
userIdsuuid[]vereist
isResolvedbooleanoptioneel

Whether this comment thread is resolved

Default: false
resolvedBystringoptioneel

User who resolved this thread

PatternDefault: nullnullable
resolvedAtdatetimeoptioneel
Default: nullnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/kb_comments — Lijst, gepagineerd + filterbaar
  • GET /api/v1/kb_comments/<id> — Enkele entity
  • POST /api/v1/kb_comments — Aanmaken
  • PATCH /api/v1/kb_comments/<id> — Gedeeltelijke update
  • DELETE /api/v1/kb_comments/<id> — Soft-delete
  • GET /api/v1/kb_comments/<id>/timeline — Audit + activiteiten

Zoeken