This API let your app fetch list of user devices. This list also includes devices that are shared with user.
{"error": 0,"devices": [{"id": "Device Unique ID","name": "Device Name","asset": {"name": "Asset Name"},"user": {"name": "Name of the User"}},{...}]}
In case of error, your app will receive error response in JSON format with error=1
and description of error in msg="error message"
{"error":1,"msg":"Error detail"}