API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · kb_spaces

KB Space Schema

Schema ID
kb_space
Collection
kb_spaces
Permissions
  • Readkb_space_view
  • Createkb_space_create
  • Editkb_space_edit
  • Deletekb_space_delete

Fields

KB Space Schema

kb_spaces4 permissions

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

namestringrequired

Display name (e.g. "Arbeitsanweisungen")

1–120 characters
slugstringoptional

URL slug (auto-generated from name if missing)

max 120 charactersnullable
descriptionstringoptional

Short description shown on the space tile

max 1000 charactersnullable
iconstringoptional

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

max 60 charactersnullable
colorstringoptional

Tile accent color in #RRGGBB

Patternnullable
sortOrderintegeroptional

Display order on the spaces grid

≥ 0Default: 0nullable
isDefaultbooleanoptional

Marks the catch-all space that hosts orphan articles

Default: falseread-onlynullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/kb_spaces — List, paginated + filterable
  • GET /api/v1/kb_spaces/<id> — Single entity
  • POST /api/v1/kb_spaces — Create
  • PATCH /api/v1/kb_spaces/<id> — Partial update
  • DELETE /api/v1/kb_spaces/<id> — Soft delete
  • GET /api/v1/kb_spaces/<id>/timeline — Audit + activities

Search