Accessing histdata measurements - providing channels and timestamps

To provide valid properties (from, until, select, …) for accessing histdata it is necessary to use following guidelines:

Playground example:
GET /1/customers/$CID/sites/$SID/histdata0
{
“select”: [ “ch0”, “ch3”, “ch1”],
“from”: “20190101”,
“until”: “*”
}

For usage with curl / axios / other libraries it is necessary to map these options into a query parameter called ?json=YourStringifiedDataHere
YourStringifiedDataHere is a stringiffied and encodeURIComponent`ed version of the request properties.

The full request url for the above example therefore is:
https://cloud.mydatanet.at/api/1/customers/$CID/sites/$SID/histdata0?json={ +"select"%3A+[ ++"ch0"%2C ++"ch3"%2C ++"ch1" +]%2C +"from"%3A+"20150101"%2C +"until"%3A+"*" }

Full JavaScript Example:
let props = {
“select”: [ “ch0”, “ch3”, “ch1”],
“from”: “20190101”,
“until”: “*”
}
let obj = encodeURIComponent(JSON.stringify(props));
let url = `https://cloud.mydatanet.at/api/1/customers/$CID/sites/$SID/histdata0?json=${obj}`;