get https://ads-dev.aylanetworks.com/apiv1/dsns//properties//datapoints.json
This API returns an array of datapoint objects in one of two formats depending on the paginated
query parameter. If paginated=true
, this API returns data in Format A, and heeds the per_page
query parameter.
Format A
{ "meta": { "previous_page": "1234abcd-1234-1234-1234-ab0000000001", "next_page": "1234abcd-1234-1234-1234-ab0000000005", "current_page_number": 1 }, "datapoints": [ { "datapoint": {} }, { "datapoint": {} } ] }
If paginated=false
or is not included in the request url, the API returns data in Format B, and heeds the limit
query parameter.
Format B
[ { "datapoint": {} }, { "datapoint": {} } ]