Dashboard Template Schema
Champs
Dashboard Template Schema
Schema for validating dashboard templates (tenant- or user-scoped layout presets)
name
Display name of the template
description
scope
user = private/personal or shared by a user; tenant = tenant-wide template
usertenantuserId
Owner userId (for scope=user). Set by the server.
isDefault
For scope=user: active template for the owner on login. For scope=tenant: tenant default.
teamIds
For scope=user: org-unit/team IDs whose members may read the template (ADR 0164).
isPredefined
Read-only template seeded by the platform; protected from editing/deletion.
predefinedKey
Stable key for predefined templates (e.g. role preset carry-over).
icon
color
Aucun champ ne correspond au filtre.
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/dashboard_templates— Liste, paginée et filtrableGET /api/v1/dashboard_templates/<id>— Une entitéPOST /api/v1/dashboard_templates— CréerPATCH /api/v1/dashboard_templates/<id>— Mise à jour partielleDELETE /api/v1/dashboard_templates/<id>— Suppression logiqueGET /api/v1/dashboard_templates/<id>/timeline— Audit et activités