query

Add a dashboard widget

Changed on

Add a widget to a custom dashboard. Without a position it is placed full width at the bottom.

post/api/v1/query/dashboards/{dashboardId}/widgets

Request

Request body

idstring

Omit to generate one. Letters, numbers, _ and -, unique within the dashboard.

titlestring required
querystring

A TRQL query. Required unless the display type is title.

fillGapsboolean

Fill empty time buckets, carrying gauges forward and zero-filling counters.

revisionstring

The revision from the dashboard you last read. Send it to reject the write with a 409 if someone else changed the dashboard in the meantime.

Response

Widget added

widgetIdstring

Changes