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

KB Space Schema

ID du schéma
kb_space
Collection
kb_spaces
Autorisations
  • Lirekb_space_view
  • Créerkb_space_create
  • Modifierkb_space_edit
  • Supprimerkb_space_delete

Champs

KB Space Schema

kb_spaces4 autorisations

Top-level container that groups KB articles into a navigable space.

namestringobligatoire

Display name (e.g. "Arbeitsanweisungen")

1–120 caractères
slugstringfacultatif

URL slug (auto-generated from name if missing)

max. 120 caractèresnullable
descriptionstringfacultatif

Short description shown on the space tile

max. 1000 caractèresnullable
iconstringfacultatif

Icon key from the shared Icons set (e.g. "BookOpen")

max. 60 caractèresnullable
colorstringfacultatif

Tile accent color in #RRGGBB

Motifnullable
sortOrderintegerfacultatif

Display order on the spaces grid

≥ 0Par défaut : 0nullable
isDefaultbooleanfacultatif

Marks the catch-all space that hosts orphan articles

Par défaut : falselecture 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_spaces — Liste, paginée et filtrable
  • GET /api/v1/kb_spaces/<id> — Une entité
  • POST /api/v1/kb_spaces — Créer
  • PATCH /api/v1/kb_spaces/<id> — Mise à jour partielle
  • DELETE /api/v1/kb_spaces/<id> — Suppression logique
  • GET /api/v1/kb_spaces/<id>/timeline — Audit et activités

Recherche