Browse the help center

Get dashboard widgets

Returns the authenticated user's own dashboard, as the console's Dashboard page shows it: every widget with its id, stored title, the title as displayed in the user's language, type (TABLE, LINE_CHART, PIE_CHART, BAR_CHART or NOTICE), column x and row y (sorted by x, then y).

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/dashboard/widgets.do

Returns the authenticated user's own dashboard, as the console's Dashboard page shows it: every widget with its id, stored title, the title as displayed in the user's language, type (TABLE, LINE_CHART, PIE_CHART, BAR_CHART or NOTICE), column x and row y (sorted by x, then y). A NOTICE widget carries its text in 'value'; every other widget carries its report definition in 'data' - statisticType, choosenMetric, range, customFrom/customTo, groupRange, groupBy, eqLong, eqStr and the rest - the same fields /widget/create and /widget/update take as data.*. No report is run: to get a widget's figures, run the analytics API with its data. Requires the Dashboard tab permission, like the console page.

Responses

200

{success:true, widgets:[{id, title, displayTitle, type, x, y, value | data}]}

400

Bad request — invalid or missing parameters

401

Unauthorized - authentication error

403

The user's role has no Dashboard tab

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.