Skip to content

Instantly share code, notes, and snippets.

@zachdunn
Created October 22, 2014 20:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zachdunn/b1a1cd64533bab918310 to your computer and use it in GitHub Desktop.
Save zachdunn/b1a1cd64533bab918310 to your computer and use it in GitHub Desktop.
Robin Presence Response
{
"meta": {
"status_code": 200,
"status": "OK",
"message": "",
"more_info": {}
},
"data": [
{
"space_id": 1,
"user_id": null,
"device_id": 1,
"last_seen_at": "2014-05-22T14:49:52+0000",
"arrived_at": "2014-05-22T14:49:52+0000",
"session_ttl": 30,
"session_active": true,
"user": null,
"device": {
"id": 1,
"account_id": 3,
"device_manifest_id": null,
"name": "Estimote",
"created_at": "2014-05-19T21:00:35+0000",
"updated_at": "2014-05-19T21:00:35+0000"
}
},
{
"space_id": 1,
"user_id": 9,
"device_id": 2,
"last_seen_at": "2014-05-22T14:49:48+0000",
"arrived_at": "2014-05-22T14:49:48+0000",
"session_ttl": 30,
"session_active": true,
"user": {
"id": 1,
"access_level": 9001,
"name": "George Jetson",
"slug": "gjetson",
"avatar": "",
"created_at": "2014-05-05T16:06:58+0000",
"updated_at": "2014-05-05T16:06:58+0000",
"primary_email": {
"email": "admin@robinpowered.com",
"is_verified": false
}
},
"device": {
"id": 2,
"account_id": 3,
"device_manifest_id": null,
"name": "Estimote #2",
"created_at": "2014-05-21T19:24:57+0000",
"updated_at": "2014-05-21T19:24:57+0000"
}
}
],
"paging": {
"page": 1,
"per_page": 10,
"order_descending": false,
"resources": {
"next": "https://api.robinpowered.com/v1.0/spaces/1/presence?page=2"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment