API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · kb_articles

KB Article Schema

ID du schéma
kb_article
Collection
kb_articles
Autorisations
  • Lirekb_article_view
  • Créerkb_article_create
  • Modifierkb_article_edit
  • Supprimerkb_article_delete

Champs

KB Article Schema

kb_articles4 autorisations

Knowledge base article

articleNumberstringfacultatif

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

lecture seulenullable
titlestringobligatoire

Article title

1–500 caractères
slugstringfacultatif

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

max. 500 caractèresnullable
contentstringfacultatif

Article body (plain text or Markdown depending on bodyFormat)

Par défaut : ""nullable
contentHtmlstringfacultatif

Rich-text HTML body (sanitized server-side)

nullable
bodyFormatstringfacultatif

Content format used for rendering

MARKDOWNHTMLBLOCKS
nullable
categorystringfacultatif

Category label (free-text)

Par défaut : "Allgemein"nullable
categoryIdstringfacultatif

Optional structured category UUID

nullable
statusstringfacultatif

Workflow status

DRAFTREVIEWPUBLISHEDARCHIVED
Par défaut : "DRAFT"
isPublishedbooleanfacultatif

Publication flag (mirrors status === PUBLISHED)

Par défaut : falsenullable
viewCountintegerfacultatif

Number of times the article has been viewed

≥ 0Par défaut : 0nullable
authorIduuidfacultatif

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

lecture seulenullable
successorAuthorIduuidfacultatif

Designated successor when the current author is offboarded

Par défaut : nullnullable
isPortalVisiblebooleanfacultatif

Visible in the customer portal

Par défaut : falsenullable
visibleToAllCustomersbooleanfacultatif

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.

Par défaut : falsenullable
visibleToPartyIdsuuid[]facultatif

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

Par défaut : []nullable
tagsstring[]facultatif

Free-text tags

Par défaut : []nullable
attachmentsobject[]facultatif
Par défaut : []nullable
s3Keystringobligatoire
fileNamestringobligatoire
mimeTypestringobligatoire
sizeBytesnumberobligatoire
≥ 0
uploadedAtdatetimeobligatoire
uploadedByuuidobligatoire
isInternalbooleanfacultatif
nullable
linkedEntitiesobject[]facultatif
Par défaut : []nullable
entityTypestringobligatoire
partyassetticketcontractprojectuseropportunitykb_articleproblem
entityIduuidobligatoire
rolestringobligatoire
embeddingStatusstringfacultatif
PENDINGPROCESSINGDONEFAILED
nullable
lastEmbeddedAtdatetimefacultatif
nullable
spaceIduuidfacultatif

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

Par défaut : nullnullable
parentIduuidfacultatif

Parent article UUID for hierarchy

Par défaut : nullnullable
sortOrderintegerfacultatif

Sort order among siblings under parentId

≥ 0Par défaut : 0nullable
pathstring[]facultatif

Materialized ancestor path (denormalized)

nullable
rootArticleIduuidfacultatif

Denormalized root article UUID for share-based visibility

nullable
isTemplatebooleanfacultatif

If true, this article acts as a template/blueprint

Par défaut : falsenullable
templateNamestringfacultatif
max. 200 caractèresnullable
templateDescriptionstringfacultatif
max. 2000 caractèresnullable
iconstringfacultatif

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.

max. 60 caractèresnullable
iconColorstringfacultatif

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

Motifnullable
nextReviewDatedatetimefacultatif

Scheduled date for the next content review

Par défaut : nullnullable
lastReviewedAtdatetimefacultatif

Timestamp of the last completed review

Par défaut : nullnullable
sourcestringfacultatif

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

lecture seulenullable
externalOwnershipstringfacultatif

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

lecture seulenullable
sourceRefobjectfacultatif

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

lecture seulenullable
sourceAuthorNamestringfacultatif

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

lecture seulenullable
sourceMountBindingIdstringfacultatif

Set on the mount article a source binding hangs under

lecture seulenullable
sourceLastCheckedAtdatetimefacultatif

Last check against the source. Technical, carries no history

lecture seulenullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/kb_articles — Liste, paginée et filtrable
  • GET /api/v1/kb_articles/<id> — Une entité
  • POST /api/v1/kb_articles — Créer
  • PATCH /api/v1/kb_articles/<id> — Mise à jour partielle
  • DELETE /api/v1/kb_articles/<id> — Suppression logique
  • GET /api/v1/kb_articles/<id>/timeline — Audit et activités

Recherche