{"_id":"57058830cf07950e000f2462","__v":4,"project":"570587cb5c43780e003e57f8","parentDoc":null,"user":"5564f227f0f70f0d00a9ab20","version":{"_id":"570587cb5c43780e003e57fb","hasReference":true,"__v":3,"hasDoc":true,"project":"570587cb5c43780e003e57f8","createdAt":"2016-04-06T22:03:55.859Z","releaseDate":"2016-04-06T22:03:55.859Z","categories":["570587cc5c43780e003e57fc","570587fdcaeb1c0e00ce8149","57213ff4e5c07d0e008bf3bf"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"570587cc5c43780e003e57fc","__v":0,"version":"570587cb5c43780e003e57fb","project":"570587cb5c43780e003e57f8","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-06T22:03:56.002Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-06T22:05:36.508Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":10,"body":"[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<iq to=\\\"hostname\\\" type=\\\"get\\\">\\n  <request>\\n    <metadata>\\n      <jobType>GetDevice</jobType>\\n      <toUuid>Device you want to get</toUuid>\\n    </metadata>\\n  </request>\\n</iq>\",\n      \"language\": \"xml\",\n      \"name\": \"GetDevice\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  'uuid': 'uuid',\\n  'discoverWhitelist': ['uuid']\\n}\",\n      \"language\": \"json\",\n      \"name\": \"Response\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"whoami","type":"basic","title":"Whoami"}
[block:code] { "codes": [ { "code": "<iq to=\"hostname\" type=\"get\">\n <request>\n <metadata>\n <jobType>GetDevice</jobType>\n <toUuid>Device you want to get</toUuid>\n </metadata>\n </request>\n</iq>", "language": "xml", "name": "GetDevice" } ] } [/block] [block:code] { "codes": [ { "code": "{\n 'uuid': 'uuid',\n 'discoverWhitelist': ['uuid']\n}", "language": "json", "name": "Response" } ] } [/block]