API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · setting_overrides

Setting Override Schema

Schema-ID
setting_override
Collection
setting_overrides
Permissions
  • Lezensetting_override_view
  • Aanmakensetting_override_create
  • Wijzigensetting_override_edit
  • Verwijderensetting_override_delete

Velden

Setting Override Schema

setting_overrides4 permissions

Generic hierarchical settings storage (ADR 0098)

settingKeystringvereist

Dotted lowercase key, e.g. "working_time.weekly_hours", "approval.budget_limit_eur", "hr.required_documents". The catalog of well-known keys is documented in ADR 0098.

1–200 tekensPattern
scopestringvereist

Scope this override applies to. The settings-resolver tries USER → POSITION → OU-chain → TENANT and returns the first non-null hit.

TENANTORG_UNITPOSITIONUSER
scopeIduuidoptioneel

UUID of the scoped entity. Null only when scope=TENANT (the row applies to the whole tenant).

nullable
valueanyoptioneel

Effective value when this override wins resolver evaluation.

validFromdateoptioneel

Effective from this date (inclusive). Null = since-forever. Useful for working-time changes that take effect on a specific date.

nullable
validTodateoptioneel

Effective until this date (inclusive). Null = open-ended.

nullable
approvalRequiredbooleanoptioneel

When true (e.g. working-time changes at TENANT/ORG_UNIT scope requiring Betriebsrat approval), the override only applies once approvalState=APPROVED.

Default: false
approvalStatestringoptioneel

Workflow state. Resolver only honours overrides with state=APPROVED. DRAFT rows are visible to admins but do not affect resolution.

DRAFTAPPROVEDREJECTED
Default: "APPROVED"
reasonstringoptioneel

Free-text justification for the override (audit trail / Betriebsrat-Vorlage).

max. 1000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/setting_overrides — Lijst, gepagineerd + filterbaar
  • GET /api/v1/setting_overrides/<id> — Enkele entity
  • POST /api/v1/setting_overrides — Aanmaken
  • PATCH /api/v1/setting_overrides/<id> — Gedeeltelijke update
  • DELETE /api/v1/setting_overrides/<id> — Soft-delete
  • GET /api/v1/setting_overrides/<id>/timeline — Audit + activiteiten

Zoeken