{"project":"57151dca3b689d20001d20ff","version":{"__v":2,"_id":"57151dca3b689d20001d2102","hasDoc":true,"hasReference":true,"project":"57151dca3b689d20001d20ff","createdAt":"2016-04-18T17:47:54.351Z","releaseDate":"2016-04-18T17:47:54.351Z","categories":["57151dca3b689d20001d2103","5715202cb54f5c19007686f4"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"project":"57151dca3b689d20001d20ff","version":"57151dca3b689d20001d2102","_id":"57151dca3b689d20001d2103","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-18T17:47:54.371Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"_id":"5715287911537f19006aab43","user":"5564f227f0f70f0d00a9ab20","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-18T18:33:29.736Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"properties:\\n  subject: 'meshblu.request'\\n  replyTo: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\\n  correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\\napplicationProperties:\\n  jobType: 'GetDevice'\\n  toUuid: 'ca3b867c-cc46-4d40-a2b7-34259690dc38'\",\n      \"language\": \"coffeescript\",\n      \"name\": \"Request\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"properties:\\n  subject: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\\n  correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\\napplicationProperties:\\n  statusCode: 200\\nbody: '{\\\"uuid\\\":\\\"ca3b867c-cc46-4d40-a2b7-34259690dc38\\\",\\\"color\\\":\\\"blue\\\"}'\",\n      \"language\": \"coffeescript\",\n      \"name\": \"Response\"\n    }\n  ]\n}\n[/block]","excerpt":"Get the current connected device","slug":"whoami","type":"basic","title":"Whoami"}

Whoami

Get the current connected device

[block:code] { "codes": [ { "code": "properties:\n subject: 'meshblu.request'\n replyTo: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\n correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\napplicationProperties:\n jobType: 'GetDevice'\n toUuid: 'ca3b867c-cc46-4d40-a2b7-34259690dc38'", "language": "coffeescript", "name": "Request" } ] } [/block] [block:code] { "codes": [ { "code": "properties:\n subject: 'ca3b867c-cc46-4d40-a2b7-34259690dc38.response'\n correlationId: '71027de4-f6ed-4431-b548-679fd1f5c154'\napplicationProperties:\n statusCode: 200\nbody: '{\"uuid\":\"ca3b867c-cc46-4d40-a2b7-34259690dc38\",\"color\":\"blue\"}'", "language": "coffeescript", "name": "Response" } ] } [/block]