Returns details of the audit trail requested
Param name | Description |
---|---|
pretty optional |
Return a pretty formatted response if true, Default is false Value: Must be a Boolean |
Request - get details of the specified audit trail (audit_trail_key specified as a part of the url) curl -X GET -H "Content-Type:application/json" -H "X-Auth-Token:6AuwD9E_WT_LEKwNOBbytg" https://api.datonis.io/api/v3/audit_trails/296ef4f7d9 Response (returns details of the audit trail requested) { "audit_trail": { "action_taken": "create", "audit_trail_key": "296ef4f7d9", "entity_key": "92df5df8cb", "entity_name": "Fully Automated Washing Machine", "entity_type": "Thing", "new_entity_contents": { "bi_directional": true, "coordinates": [ 21.15, 79.09 ], "created_at": 1448430551, "description": "Thing for washing machines", "name": "Fully Automated Washing Machine", "state": null, "tags_array": [ "Corporate" ], "thing_key": "92df5df8cb", "updated_at": 1448430551, "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": "831e1tf472" }, "old_entity_contents": { }, "timestamp": 1448430551, "user_name": "John Doe", "role_name": "Account Admin" } }