Whoami
Get my device info
Retrieve the device the connection is currently authenticated as from the Meshblu device registery.
Event: "whoami"
, obj
, callback
"whoami"
, obj
, callback
obj
Object. Anything may be put here, but it will be ignored. Is preserved for backwards compatibility.callback
Function that will be called with aresult
.device
Full device from the Meshblu device registry.
Response
{
"meshblu": {
"version": "2.0.0",
"whitelists": {},
"createdAt": "2016-05-19T23:28:08+00:00",
"hash": "4ez1I/uziZVk7INf6n1un+op/oNsIDoFVs/MW/KGWMQ=",
"updatedAt": "2016-05-20T16:07:57+00:00"
},
"uuid": "78159106-41ca-4022-95e8-2511695ce64c",
"online": true
}
Updated less than a minute ago