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

Entity View Schema

ID du schéma
entity_view
Collection
entity_views
Autorisations
  • Lireentity_view_view
  • Créerentity_view_create
  • Modifierentity_view_edit
  • Supprimerentity_view_delete

Champs

Entity View Schema

entity_views4 autorisations

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.

schemaIdstringobligatoire

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

1–100 caractèresMotiflecture seule
slugstringobligatoire

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

1–60 caractèresMotiflecture seule
labelDestringobligatoire

German display label (default language).

1–120 caractères
labelEnstringfacultatif

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

max. 120 caractèresnullable
iconstringfacultatif

Name of an icon from the shared Icons component.

max. 60 caractèresnullable
sidebarobjectfacultatif

Sidebar-entry configuration for this view.

enabledbooleanfacultatif

Whether a sidebar entry is rendered for this view.

sectionstringfacultatif

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

max. 80 caractèresnullable
listobjectfacultatif

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

columnsobject[]facultatif

Ordered list of columns shown in the grid.

fieldstringobligatoire

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

1–120 caractères
labelstringfacultatif

Column header override. Falls back to the field title.

max. 120 caractèresnullable
widthintegerfacultatif

Preferred column width in pixels.

40 – 800nullable
defaultSortobjectfacultatif
nullable
fieldstringfacultatif
1–120 caractères
orderstringfacultatif
ascdesc
detailobjectfacultatif

Detail view configuration (sections with ordered fields).

sectionsobject[]facultatif

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

labelstringfacultatif

Optional section heading.

max. 120 caractèresnullable
fieldsstring[]obligatoire

Ordered field names shown in this section.

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

Recherche