API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · kb_comments

KB Comment Schema

ID del esquema
kb_comment
Colección
kb_comments
Permisos
  • Leerkb_comment_view
  • Crearkb_comment_create
  • Modificarkb_comment_edit
  • Eliminarkb_comment_delete

Campos

KB Comment Schema

kb_comments4 permisos

Threaded comment on a knowledge base article

articleIduuidobligatorio

Reference to the kb_article

parentCommentIdstringopcional

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

PatrónValor por defecto: nulladmite null
bodystringobligatorio

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

1–5000 caracteres
mentionsuuid[]opcional

User IDs mentioned in this comment

Valor por defecto: []
anchorIduuidopcional

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

Valor por defecto: nulladmite null
quotedTextstringopcional

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

máx. 300 caracteresValor por defecto: nulladmite null
reactionsobject[]opcional

Emoji reactions with the internal user IDs that reacted

Valor por defecto: []
emojistringobligatorio
máx. 16 caracteres
userIdsuuid[]obligatorio
isResolvedbooleanopcional

Whether this comment thread is resolved

Valor por defecto: false
resolvedBystringopcional

User who resolved this thread

PatrónValor por defecto: nulladmite null
resolvedAtdatetimeopcional
Valor por defecto: nulladmite null

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 filtrable
  • GET /api/v1/kb_comments/<id> — Una entidad
  • POST /api/v1/kb_comments — Crear
  • PATCH /api/v1/kb_comments/<id> — Actualización parcial
  • DELETE /api/v1/kb_comments/<id> — Eliminación lógica
  • GET /api/v1/kb_comments/<id>/timeline — Auditoría y actividades

Búsqueda