Returns details of the thing requested
Param name | Description |
---|---|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
is_oem optional |
Show thing of child account if is_oem flag is true. Value: Must be one of: <code>true</code>, <code>false</code>, <code>true</code>, <code>false</code>. |
Request - get details of the specified thing (thing_key specified as a part of the url) curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:WtUFnj8pvSxVnH9e_xkq7A" https://api.datonis.io/api/v3/things/8955641a65 Response (returns details of the thing requested) { "thing": { "bi_directional": true, "coordinates": [ 21.15, 79.09 ], "created_at": 1448363909, "description": "Thing for washing machines", "name": "Fully Automated Washing Machine", "state": null, "tags_array": [ "Corporate" ], "thing_key": "8955641a65", "updated_at": 1448363909, "user_defined_properties": { "Firmware Ver": "1.0", "STATE": "OK", "Installation Type": "Free Standing", "Manufacturer": "LG", "Color": "White" }, "alive": false, "tags": "Corporate", "last_event": null, "last_beat": null, "thing_template_name": "Washing Machine", "thing_template_key": "af31ae5fb2" } }