Question about Rain Delay API example


#1

In the following example I understand the API Access Token goes after “…Authorization: Bearer” but what is the “id” later in the example and how do I get it? I’ve tried using the “/public/person/:id” example to retrieve that value but it does not work in the below example.

curl -X PUT -H “Content-Type: application/json” -H “Authorization: Bearer 8e600a4c-0027-4a9a-9bda-dc8d5c90350d” -d ‘{ “id” : “d3e99d27-25e4-47dd-b354-1db5a84c99d7”, “duration” : 86400 }’ https://api.rach.io/1/public/device/rain_delay

Thanks,
Tony


#2

I figured it out… It’s the device id which I could not figure out how to get until I tried running the “/public/person/:id” example and finding my device id in the data.

Tony