invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

Dashboards: Matomo Matomo Dashboard Dashboards

insert REST

  • Catalog: Matomo
  • Schema: Dashboard
  • Primary Keys: id
  • Label: Matomo Dashboard Dashboards

Can retrieve data and change data using insert.

Summary

A widget layout belonging to one user. Takes neither a site nor a user: dashboards are not scoped to a site, and the user is the one the credentials belong to.

API Source

  • Endpoint: /index.php?module=API&method=Dashboard.getDashboards&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 3,620

The result can be cached on the client.

Table Columns

The columns of the table Dashboards are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
id int32 itgen_mat_id filters on the platform, writable Dashboard ID - assigned by Matomo on insert, never written. Scoped per user, not globally unique (Dashboard.Model.deleteDashboardForUser filters on iddashboard and login together) - the same composite-key limitation TagManager.Containers documents, why this table has no delete yet either.
login varchar2 itgen_mat_login filters on the platform, writable User to create the dashboard for. Required on insert; never answered on read, since a read is already scoped to the calling user.
name varchar2 itgen_mat_name filters on the platform, writable Dashboard name. Matomo's own insert parameter is called 'dashboardName'; exposed here under the same plainer name every other table already uses for its label column.
widgets varchar2 itgen_mat_widgets filters on the platform, writable The widgets on this dashboard and their layout, as JSON text.