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

KB Comment Schema

Schema ID
kb_comment
Collection
kb_comments
Permissions
  • Readkb_comment_view
  • Createkb_comment_create
  • Editkb_comment_edit
  • Deletekb_comment_delete

Fields

KB Comment Schema

kb_comments4 permissions

Threaded comment on a knowledge base article

articleIduuidrequired

Reference to the kb_article

parentCommentIdstringoptional

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

PatternDefault: nullnullable
bodystringrequired

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

1–5000 characters
mentionsuuid[]optional

User IDs mentioned in this comment

Default: []
anchorIduuidoptional

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

Default: nullnullable
quotedTextstringoptional

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

max 300 charactersDefault: nullnullable
reactionsobject[]optional

Emoji reactions with the internal user IDs that reacted

Default: []
emojistringrequired
max 16 characters
userIdsuuid[]required
isResolvedbooleanoptional

Whether this comment thread is resolved

Default: false
resolvedBystringoptional

User who resolved this thread

PatternDefault: nullnullable
resolvedAtdatetimeoptional
Default: nullnullable

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/kb_comments — List, paginated + filterable
  • GET /api/v1/kb_comments/<id> — Single entity
  • POST /api/v1/kb_comments — Create
  • PATCH /api/v1/kb_comments/<id> — Partial update
  • DELETE /api/v1/kb_comments/<id> — Soft delete
  • GET /api/v1/kb_comments/<id>/timeline — Audit + activities

Search