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

Dashboard Custom Widget

ID du schéma
dashboard_widget_custom
Collection
dashboard_widget_custom
Autorisations
  • Liredashboard_widget_custom_view
  • Créerdashboard_widget_custom_create
  • Modifierdashboard_widget_custom_edit
  • Supprimerdashboard_widget_custom_delete

Champs

Dashboard Custom Widget

dashboard_widget_custom4 autorisations

Persisted user-defined dashboard widget. Sharing/publishing follows the dashboard_template model (ADR 0043a).

titlestringobligatoire
1–100 caractères
descriptionstringfacultatif
max. 500 caractèresnullable
iconstringfacultatif
max. 50 caractèresnullable
definitionobjectobligatoire

Structured builder definition (entity, filters, grouping, aggregations, visualization) that the server evaluates. Raw queries are not accepted.

entitystringobligatoire
Motif
filtersobject[]obligatoire
max. 30 éléments
fieldstringobligatoire
max. 100 caractèresMotif
operatorstringobligatoire
eqnegtgteltlteinnincontainsexistsbetween
valueanyOfobligatoire
filterVariantsobject[]facultatif
max. 10 élémentsnullable
idstringobligatoire
Motif
labelstringobligatoire
1–60 caractères
filtersobject[]obligatoire
max. 30 éléments
fieldstringobligatoire
max. 100 caractèresMotif
operatorstringobligatoire
eqnegtgteltlteinnincontainsexistsbetween
valueanyOfobligatoire
groupByobject[]obligatoire
max. 2 éléments
fieldstringobligatoire
max. 100 caractèresMotif
bucketstringfacultatif
dayweekmonthquarteryear
nullable
limitintegerfacultatif
1 – 1000nullable
sortstringfacultatif
ascdescvalueAscvalueDesc
nullable
labelstringfacultatif
max. 100 caractèresnullable
aggregationsobject[]obligatoire
1–10 éléments
opstringobligatoire
countsumavgminmaxcountDistinct
fieldstringfacultatif
max. 100 caractèresMotifnullable
labelstringfacultatif
max. 100 caractèresnullable
filterobject[]facultatif
max. 10 élémentsnullable
fieldstringobligatoire
max. 100 caractèresMotif
operatorstringobligatoire
eqnegtgteltlteinnincontainsexistsbetween
valueanyOfobligatoire
sortobjectfacultatif
nullable
bystringobligatoire
dimensionmeasure
indexintegerfacultatif
0 – 20nullable
dirstringobligatoire
ascdesc
limitintegerfacultatif
1 – 10000nullable
timeCompareobjectfacultatif
nullable
enabledbooleanobligatoire
dateFieldstringfacultatif
max. 100 caractèresMotifnullable
presetstringobligatoire
wtd_vs_prev_weekmtd_vs_prev_monthytd_vs_prev_yearlast_7d_vs_prior_7dlast_30d_vs_prior_30d
drillDownobjectfacultatif
nullable
targetSchemastringobligatoire
Motif
fieldMappingobjectobligatoire
staticFiltersobject[]facultatif
max. 20 élémentsnullable
fieldstringobligatoire
max. 100 caractèresMotif
operatorstringobligatoire
eqnegtgteltlteinnincontainsexistsbetween
valueanyOfobligatoire
visualizationobjectobligatoire
kindstringobligatoire
kpitablelistbarhorizontal_barstacked_barlineareapiedoughnutgaugeheatmapfunneltreemap
unitstringfacultatif
max. 20 caractèresnullable
currencystringfacultatif
max. 10 caractèresnullable
precisionintegerfacultatif
0 – 6nullable
showTrendbooleanfacultatif
nullable
stackedbooleanfacultatif
nullable
showLegendbooleanfacultatif
nullable
showDataLabelsbooleanfacultatif
nullable
colorSchemestringfacultatif
brandtableau10d3cat10okabeItoviridisbluesorangesrdYlGnsemanticpastel
nullable
thresholdsobjectfacultatif
nullable
greennumberfacultatif
nullable
yellownumberfacultatif
nullable
rednumberfacultatif
nullable
tableColumnsstring[]facultatif
max. 30 élémentsnullable
columnLabelsobjectfacultatif
nullable
scopestringobligatoire
usertenant
isSharedbooleanfacultatif
Par défaut : false
userIduuidfacultatif
nullable
sharedWithUserIdsuuid[]facultatif
max. 200 élémentsnullable
teamIdsuuid[]facultatif
max. 100 élémentsnullable

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

Recherche