{"__v":5,"_id":"55663490979a3c2500bbafa6","category":{"__v":16,"_id":"55650b9fb893840d00444702","pages":["55650b9fb893840d00444704","55662e121ec2311900e4c538","55663058f579050d00c3d42d","556633b61ec2311900e4c544","55663419f579050d00c3d43f","55663490979a3c2500bbafa6","5566352a979a3c2500bbafa8","55663578979a3c2500bbafab","556635fd1ec2311900e4c551","5566365a979a3c2500bbafb3","556636daf579050d00c3d448","5568d269c87afd2500e5254c","556b5b46ab693b1900ce1722","556bbee230922f1700ad5e22","5578af9327f77c0d00fe62ce","567328a458c4890d00bb545f"],"project":"55650b9eb893840d004446fe","version":"55650b9eb893840d00444701","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-27T00:11:11.144Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"parentDoc":null,"project":"55650b9eb893840d004446fe","user":"5564f227f0f70f0d00a9ab20","version":{"__v":2,"_id":"55650b9eb893840d00444701","project":"55650b9eb893840d004446fe","createdAt":"2015-05-27T00:11:10.647Z","releaseDate":"2015-05-27T00:11:10.647Z","categories":["55650b9fb893840d00444702","5566a1557acd550d0075e894"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-27T21:18:08.806Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"[block:api-header]\n{\n  \"type\": \"get\",\n  \"title\": \"/mydevices\"\n}\n[/block]\nReturns all information (including tokens) of all devices or nodes belonging to a user's UUID (identified with an \"owner\" property and user's UUID i.e. \"owner\":\"0d1234a0-1234-11e3-b09c-1234e847b2cc\") \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X GET https://meshblu.octoblu.com/mydevices --header \\\"meshblu_auth_uuid: {my uuid}\\\" --header \\\"meshblu_auth_token: {my token}\\\"\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"devices\\\": [\\n    {\\n      \\\"owner\\\":\\\"0d1234a0-1234-11e3-b09c-1234e847b2cc\\\",\\n      \\\"name\\\":\\\"SMS\\\",\\n      \\\"phoneNumber\\\":\\\"16025551234\\\",\\n      \\\"uuid\\\":\\\"1c1234e1-xxxx-11e3-1234-671234c01234\\\",\\n      \\\"timestamp\\\":1390861609070,\\n      \\\"channel\\\":\\\"main\\\",\\n      \\\"online\\\":false\\n    }\\n  ]\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"mydevices","type":"basic","title":"My Devices"}
[block:api-header] { "type": "get", "title": "/mydevices" } [/block] Returns all information (including tokens) of all devices or nodes belonging to a user's UUID (identified with an "owner" property and user's UUID i.e. "owner":"0d1234a0-1234-11e3-b09c-1234e847b2cc") [block:code] { "codes": [ { "code": "curl -X GET https://meshblu.octoblu.com/mydevices --header \"meshblu_auth_uuid: {my uuid}\" --header \"meshblu_auth_token: {my token}\"", "language": "shell" } ] } [/block] [block:code] { "codes": [ { "code": "{\n \"devices\": [\n {\n \"owner\":\"0d1234a0-1234-11e3-b09c-1234e847b2cc\",\n \"name\":\"SMS\",\n \"phoneNumber\":\"16025551234\",\n \"uuid\":\"1c1234e1-xxxx-11e3-1234-671234c01234\",\n \"timestamp\":1390861609070,\n \"channel\":\"main\",\n \"online\":false\n }\n ]\n}", "language": "json" } ] } [/block]