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

KB Article Schema

ID del esquema
kb_article
Colección
kb_articles
Permisos
  • Leerkb_article_view
  • Crearkb_article_create
  • Modificarkb_article_edit
  • Eliminarkb_article_delete

Campos

KB Article Schema

kb_articles4 permisos

Knowledge base article

articleNumberstringopcional

Human-readable article number (server-generated, e.g. K-2026-00042)

solo lecturaadmite null
titlestringobligatorio

Article title

1–500 caracteres
slugstringopcional

URL-friendly slug (auto-generated from title if missing)

máx. 500 caracteresadmite null
contentstringopcional

Article body (plain text or Markdown depending on bodyFormat)

Valor por defecto: ""admite null
contentHtmlstringopcional

Rich-text HTML body (sanitized server-side)

admite null
bodyFormatstringopcional

Content format used for rendering

MARKDOWNHTMLBLOCKS
admite null
categorystringopcional

Category label (free-text)

Valor por defecto: "Allgemein"admite null
categoryIdstringopcional

Optional structured category UUID

admite null
statusstringopcional

Workflow status

DRAFTREVIEWPUBLISHEDARCHIVED
Valor por defecto: "DRAFT"
isPublishedbooleanopcional

Publication flag (mirrors status === PUBLISHED)

Valor por defecto: falseadmite null
viewCountintegeropcional

Number of times the article has been viewed

≥ 0Valor por defecto: 0admite null
authorIduuidopcional

Primary author user UUID (protected — assigned server-side)

solo lecturaadmite null
successorAuthorIduuidopcional

Designated successor when the current author is offboarded

Valor por defecto: nulladmite null
isPortalVisiblebooleanopcional

Visible in the customer portal

Valor por defecto: falseadmite null
visibleToAllCustomersbooleanopcional

Released to EVERY portal customer. Opt-in on purpose (ADR 0743): an empty visibleToPartyIds used to mean the same thing implicitly, so forgetting to pick an audience published the article to all customers.

Valor por defecto: falseadmite null
visibleToPartyIdsuuid[]opcional

Portal audience: the parties this article is shared with. Ignored when visibleToAllCustomers is true. Empty + not all-customers = visible to nobody.

Valor por defecto: []admite null
tagsstring[]opcional

Free-text tags

Valor por defecto: []admite null
attachmentsobject[]opcional
Valor por defecto: []admite null
s3Keystringobligatorio
fileNamestringobligatorio
mimeTypestringobligatorio
sizeBytesnumberobligatorio
≥ 0
uploadedAtdatetimeobligatorio
uploadedByuuidobligatorio
isInternalbooleanopcional
admite null
linkedEntitiesobject[]opcional
Valor por defecto: []admite null
entityTypestringobligatorio
partyassetticketcontractprojectuseropportunitykb_articleproblem
entityIduuidobligatorio
rolestringobligatorio
embeddingStatusstringopcional
PENDINGPROCESSINGDONEFAILED
admite null
lastEmbeddedAtdatetimeopcional
admite null
spaceIduuidopcional

Owning kb_space UUID. Articles without a space appear in the default space.

Valor por defecto: nulladmite null
parentIduuidopcional

Parent article UUID for hierarchy

Valor por defecto: nulladmite null
sortOrderintegeropcional

Sort order among siblings under parentId

≥ 0Valor por defecto: 0admite null
pathstring[]opcional

Materialized ancestor path (denormalized)

admite null
rootArticleIduuidopcional

Denormalized root article UUID for share-based visibility

admite null
isTemplatebooleanopcional

If true, this article acts as a template/blueprint

Valor por defecto: falseadmite null
templateNamestringopcional
máx. 200 caracteresadmite null
templateDescriptionstringopcional
máx. 2000 caracteresadmite null
iconstringopcional

Emoji grapheme (e.g. "🚀") OR an Icons key from the shared set (e.g. "Server"). Rendered as an icon when the value matches an Icons key, otherwise as text.

máx. 60 caracteresadmite null
iconColorstringopcional

Optional accent color for the article icon (hex, e.g. "#3b82f6")

Patrónadmite null
nextReviewDatedatetimeopcional

Scheduled date for the next content review

Valor por defecto: nulladmite null
lastReviewedAtdatetimeopcional

Timestamp of the last completed review

Valor por defecto: nulladmite null
sourcestringopcional

External master of this article (e.g. CONFLUENCE). Absent = own article

solo lecturaadmite null
externalOwnershipstringopcional

LOCAL = detached from the source, edited here from now on

solo lecturaadmite null
sourceRefobjectopcional

Anchor of the mirrored page in the source. Internal, never shown in the portal

solo lecturaadmite null
sourceAuthorNamestringopcional

Author as shown in the source. Display only: authorId would grant visibility

solo lecturaadmite null
sourceMountBindingIdstringopcional

Set on the mount article a source binding hangs under

solo lecturaadmite null
sourceLastCheckedAtdatetimeopcional

Last check against the source. Technical, carries no history

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

Búsqueda