{"_id":"55674d1d7acd550d0075eb22","version":{"_id":"55674b187acd550d0075eb13","__v":1,"project":"55674b177acd550d0075eb10","createdAt":"2015-05-28T17:06:32.083Z","releaseDate":"2015-05-28T17:06:32.083Z","categories":["55674b187acd550d0075eb14"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"project":"55674b177acd550d0075eb10","category":{"_id":"55674b187acd550d0075eb14","pages":["55674b197acd550d0075eb16","55674c1d77c15523002fd5a3","55674c2d7acd550d0075eb1d","55674c9a77c15523002fd5a9","55674ce31c38390d006980c7","55674d1d7acd550d0075eb22","55674d7a77c15523002fd5b4","55674dac77c15523002fd5b6","55674e4c77c15523002fd5bb"],"__v":9,"project":"55674b177acd550d0075eb10","version":"55674b187acd550d0075eb13","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-28T17:06:32.570Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"user":"5564f227f0f70f0d00a9ab20","__v":3,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-28T17:15:09.190Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"Removed\",\n  \"body\": \"This API has been removed.\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"get\",\n  \"title\": \"/events/{uuid}?token={token}\"\n}\n[/block]\nReturns last 10 events related to a specific device or node \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"coap get -H \\\"meshblu_auth_uuid={:UUID}&meshblu_auth_token={:TOKEN}\\\" coap://meshblu-coap.octoblu.com/events/ad698900-2546-11e3-87fb-c560cb0ca47b?token=123\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\\"events\\\":[{\\\"uuid\\\":\\\"0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc\\\",\\\"socketid\\\":\\\"lnHHS06ijWUXEzb01ZRy\\\",\\\"timestamp\\\":1382632438785,\\\"eventCode\\\":101,\\\"_id\\\":\\\"52694bf6ad11379eec00003f\\\"},{\\\"uuid\\\":\\\"0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc\\\",\\\"socketid\\\":\\\"BuwnWQ_oLmpk5R3m1ZRv\\\",\\\"timestamp\\\":1382561240563,\\\"eventCode\\\":101,\\\"_id\\\":\\\"526835d8ad11379eec000017\\\"}]}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"events","type":"basic","title":"Events (removed)"}
[block:callout] { "type": "danger", "title": "Removed", "body": "This API has been removed." } [/block] [block:api-header] { "type": "get", "title": "/events/{uuid}?token={token}" } [/block] Returns last 10 events related to a specific device or node [block:code] { "codes": [ { "code": "coap get -H \"meshblu_auth_uuid={:UUID}&meshblu_auth_token={:TOKEN}\" coap://meshblu-coap.octoblu.com/events/ad698900-2546-11e3-87fb-c560cb0ca47b?token=123", "language": "shell" } ] } [/block] [block:code] { "codes": [ { "code": "{\"events\":[{\"uuid\":\"0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc\",\"socketid\":\"lnHHS06ijWUXEzb01ZRy\",\"timestamp\":1382632438785,\"eventCode\":101,\"_id\":\"52694bf6ad11379eec00003f\"},{\"uuid\":\"0d3a53a0-2a0b-11e3-b09c-ff4de847b2cc\",\"socketid\":\"BuwnWQ_oLmpk5R3m1ZRv\",\"timestamp\":1382561240563,\"eventCode\":101,\"_id\":\"526835d8ad11379eec000017\"}]}", "language": "json" } ] } [/block]