I’m doing some testing, and want to pull dashboard data out of the Konekt cloud. There are lots of things that say this should be possible, but I can’t actually find any documentation for an endpoint that would allow fetching of these data. Could someone point me in the right direction? (I’ve gotten as far as listing the devices on my account through REST, which seems to work great, and I can see the messages in the Data Logs portion of Dashboard – just need to find the endpoint to allow me access to those messages.)
Haha, you’re welcome.
It may not be. Some endpoints are missing. We’re hoping to have a minute to revamp our docs in the next week or two and make sure everything is on there.
limit can go as high as 1000 and you feed the last ID in the request into startat and it’ll get you the next batch of results.
For example, let’s say you call: /1/csr/rdm?limit=500
This will get you your most recent 500 messages in descending order. Let’s say the last ID in that result set is 325, then for the next page you call: /1/csr/rdm/?limit=500&startat=325
Some other useful parameters on this endpoint:
deviceid filters on a specific device
tagname filters on a specific message tag
tagnames filters on multiple tags (pass as a comma separated list or as an array like tagnames[]=ASDF&tagnames[]=QWER)
Let us know if you’d like to see something else on there. We’re always adding new options.
Although I tried the limit parameter with 100 or 500 I am still receiving only 25 data points I am not sure if its just me or any body else is experiencing this problem, I am using Nodejs to consume rest api.