Skip to content

datasets_data_get

Guest

Returns the condensed data needed to display datasets.

Params

attribute description
filter*
Filter
Filter defining what datasets to retrieve

Filter

attribute description
tstamp_from*
unsigned integer
A Unix timestamp defining the start of the measured period
tstamp_until
unsigned integer
A Unix timestamp defining the end of the measured period - if not set, current device time is used
types*
Dataset Types
The datasets to load
max_data_points
unsigned integer
Maximum number of data points to return. The data points distribution must be representative of the entire requested time window.

Dataset Types

An object where keys are dataset type IDs and values are arrays holding the datapoint values to load (['y_value'|'y_stdev'|'y_min'|'y_max'|'y_threshold_low'|'y_threshold_high']).

Return

Returns an object where keys are dataset types and values are Condensed Data@datasets entities.

Note

The individual Condensed Data objects must be compatible with: