I am completely new here and doing some POC’s with ST i just want to know as discussed in this thread Get historical sensor data that is there a possible way to get the data of a sensor (historical , realtime) additionally does ST provides any REST based API’s to fetch the sensors data (which it does’nt as per my understanding as of now)
You can go to https://graph.api.smartthings.com/api/hubs to get your hub id
Then go to https://graph.api.smartthings.com/api/hubs/idHashString/devices to get a list of devices
Then go to https://graph.api.smartthings.com/api/devices/idHashString/events to get recent events
The only problem with the ones in the box above is you have to be logged into the ide, there is no oauth for this. There used to be a loophole where you could use any oauth token on your account to get to this but it was closed recently for security reasons