https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
Optional
dashboardObj: { new_label?: string; setup?: object }https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
If receive an error "Authorization Denied", check policy in Access Management.
const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
const publicKey = await resources.dashboards.getPublicKey("dashboard-id-123", "1day");
console.log(publicKey); // { token: 'token-id-123', expire_time: '2025-01-02T00:00:00.000Z' }
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
Optional
queryObj: DashboardQueryhttps://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
If receive an error "Authorization Denied", check policy Dashboard / Access in Access Management.
const result = await Resources.dashboards.list({
page: 1,
fields: ["id", "name"],
amount: 10,
orderBy: ["label", "asc"]
});
console.log(result); // [ { id: 'dashboard-id-123', label: 'My Dashboard', ...}, ... ]
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
Optional
scope: objecthttps://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
Description
Creates a new dashboard in your application.
See
https://help.tago.io/portal/en/kb/articles/15-dashboard-overview Dashboard Overview
Example
If receive an error "Authorization Denied", check policy Dashboard / Create in Access Management.