API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · kb_comments

KB Comment Schema

Schema-ID
kb_comment
Collection
kb_comments
Permissions
  • Lesenkb_comment_view
  • Anlegenkb_comment_create
  • Ändernkb_comment_edit
  • Löschenkb_comment_delete

Felder

KB Comment Schema

kb_comments4 Permissions

Threaded comment on a knowledge base article

articleIduuiderforderlich

Reference to the kb_article

parentCommentIdstringoptional

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

PatternDefault: nullnullable
bodystringerforderlich

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

1–5000 Zeichen
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 ZeichenDefault: nullnullable
reactionsobject[]optional

Emoji reactions with the internal user IDs that reacted

Default: []
emojistringerforderlich
max 16 Zeichen
userIdsuuid[]erforderlich
isResolvedbooleanoptional

Whether this comment thread is resolved

Default: false
resolvedBystringoptional

User who resolved this thread

PatternDefault: nullnullable
resolvedAtdatetimeoptional
Default: nullnullable

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/kb_comments — Liste, paginiert + filterbar
  • GET /api/v1/kb_comments/<id> — Einzelne Entity
  • POST /api/v1/kb_comments — Anlegen
  • PATCH /api/v1/kb_comments/<id> — Teil-Update
  • DELETE /api/v1/kb_comments/<id> — Soft-Delete
  • GET /api/v1/kb_comments/<id>/timeline — Audit + Aktivitäten

Suche