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

Entity View Schema

Schema-ID
entity_view
Collection
entity_views
Permissions
  • Lezenentity_view_view
  • Aanmakenentity_view_create
  • Wijzigenentity_view_edit
  • Verwijderenentity_view_delete

Velden

Entity View Schema

entity_views4 permissions

Per-tenant view configuration for an entity schema (list + detail page, optional sidebar entry, search visibility). Pairs with a custom schema defined in schema_definitions, but can also decorate built-in schemas.

schemaIdstringvereist

Schema / entity id this view renders (e.g. "ticket" or a custom schema id).

1–100 tekensPatternread-only
slugstringvereist

URL-safe slug used in the route /custom/:slug. Unique per tenant.

1–60 tekensPatternread-only
labelDestringvereist

German display label (default language).

1–120 tekens
labelEnstringoptioneel

English display label (falls back to labelDe when unset).

max. 120 tekensnullable
iconstringoptioneel

Name of an icon from the shared Icons component.

max. 60 tekensnullable
sidebarobjectoptioneel

Sidebar-entry configuration for this view.

enabledbooleanoptioneel

Whether a sidebar entry is rendered for this view.

sectionstringoptioneel

Optional sidebar section label. When unset the entry is placed in a default "Eigene" section.

max. 80 tekensnullable
listobjectoptioneel

List view configuration (columns, default sort, quick filters).

columnsobject[]optioneel

Ordered list of columns shown in the grid.

fieldstringvereist

Field name on the entity (dot-notation allowed).

1–120 tekens
labelstringoptioneel

Column header override. Falls back to the field title.

max. 120 tekensnullable
widthintegeroptioneel

Preferred column width in pixels.

40 – 800nullable
defaultSortobjectoptioneel
nullable
fieldstringoptioneel
1–120 tekens
orderstringoptioneel
ascdesc
detailobjectoptioneel

Detail view configuration (sections with ordered fields).

sectionsobject[]optioneel

Detail-page sections. A section may render a heading + ordered fields.

labelstringoptioneel

Optional section heading.

max. 120 tekensnullable
fieldsstring[]vereist

Ordered field names shown in this section.

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

Zoeken