REST API
You can query single or multiple data points. The data can be accessed via the NumericID of the SQL database. The NumericID is stored in the metadata here.
Single Datapoint
Parameters
Name | Description | required |
---|---|---|
NumericId (int) (path) | NumericId: 3200000 | true |
request
https://visualizer.nestcollaboration.ch/Realtime/data/3200000
result
[{"timestamp":"2020-08-21T09:16:08.3059647Z",
"value":30.6,"numericId":"3200000"}]
Multiple data point
The NumericID is stored in the metadata.
Parameters
Name | Description | required |
---|---|---|
NumericId (int) (path) | NumericIds: 3200000_3200008 | true |
request
https://visualizer.nestcollaboration.ch/Realtime/data/3200000_3200008_3200004_42110038_100039_40110138
result
[{"timestamp":"2020-08-21T09:16:08.3059647Z",
"value":30.6,"numericId":"3200000"},
{"timestamp":"2020-08-21T09:16:08.380969Z",
"value":947.0,"numericId":"3200008"},
{"timestamp":"2020-08-21T09:16:08.4809747Z",
"value":0.9,"numericId":"3200004"},
{"timestamp":"2020-08-21T09:12:37.3585254Z",
"value":-5.39,"numericId":"42110038"},
{"timestamp":"2020-08-21T09:11:51.7421417Z",
"value":63.18,"numericId":"100039"},
{"timestamp":"2020-08-21T09:26:57.821001Z",
"value":3.348597,"numericId":"40110138"}]