API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · entity_views

Entity View Schema

ID del esquema
entity_view
Colección
entity_views
Permisos
  • Leerentity_view_view
  • Crearentity_view_create
  • Modificarentity_view_edit
  • Eliminarentity_view_delete

Campos

Entity View Schema

entity_views4 permisos

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.

schemaIdstringobligatorio

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

1–100 caracteresPatrónsolo lectura
slugstringobligatorio

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

1–60 caracteresPatrónsolo lectura
labelDestringobligatorio

German display label (default language).

1–120 caracteres
labelEnstringopcional

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

máx. 120 caracteresadmite null
iconstringopcional

Name of an icon from the shared Icons component.

máx. 60 caracteresadmite null
sidebarobjectopcional

Sidebar-entry configuration for this view.

enabledbooleanopcional

Whether a sidebar entry is rendered for this view.

sectionstringopcional

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

máx. 80 caracteresadmite null
listobjectopcional

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

columnsobject[]opcional

Ordered list of columns shown in the grid.

fieldstringobligatorio

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

1–120 caracteres
labelstringopcional

Column header override. Falls back to the field title.

máx. 120 caracteresadmite null
widthintegeropcional

Preferred column width in pixels.

40 – 800admite null
defaultSortobjectopcional
admite null
fieldstringopcional
1–120 caracteres
orderstringopcional
ascdesc
detailobjectopcional

Detail view configuration (sections with ordered fields).

sectionsobject[]opcional

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

labelstringopcional

Optional section heading.

máx. 120 caracteresadmite null
fieldsstring[]obligatorio

Ordered field names shown in this section.

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/entity_views — Lista, paginada y filtrable
  • GET /api/v1/entity_views/<id> — Una entidad
  • POST /api/v1/entity_views — Crear
  • PATCH /api/v1/entity_views/<id> — Actualización parcial
  • DELETE /api/v1/entity_views/<id> — Eliminación lógica
  • GET /api/v1/entity_views/<id>/timeline — Auditoría y actividades

Búsqueda