Forum Discussion

gwengrafana's avatar
5 years ago
Solved

Access Raw Data via API

Hey I'm wanting to access the ping data of a device.  I've not found an example in the v1 API document that shows how to do this. I've tried the below but haven't found what I expect, i.e. a ...
  • Sarah_Terry's avatar
    5 years ago

    @gwengrafana the resource path should be: $resourcePath =  '/device/devices/465103/devicedatasources/8252658/data to get data for all instances of the Ping DataSource. The Ping deviceDataSourceId in this case is the 8252658.