Get widget chart data
Widgets
Get Widget Data
Get plot data for a widget.
GET
Get widget chart data
Authorizations
OAuth access token issued by Cekura for connected apps.
Path Parameters
Query Parameters
filter JSON object to override widget filters for this request. Must include a timestamp constraint. Example: {"operator": "and", "conditions": [{"field": "timestamp", "op": "gte", "value": "now-7d"}]}
Response
200 - application/json
Chart data. Format depends on chart_type:
Line chart: [{id, timestamp, value}, ...]
Bar chart: [{time_interval, value, sample_count}, ...]
Pie chart: [{label, value, percentage}, ...]
See the Dashboards guide for full examples.
Examples:
Additional metadata about the plotted data. See the Dashboards guide for details.