{"_id":"55294fa4ceedaa0d00bc5c93","editedParams":true,"user":"551d4f2dd4fb192f007e8350","version":{"_id":"5435693035740020002a1c1f","__v":14,"project":"5435693035740020002a1c1c","createdAt":"2014-10-08T16:41:20.702Z","releaseDate":"2014-10-08T16:41:20.702Z","categories":["5435693035740020002a1c20","551c03c1ff892b3700d1c57a","551ca3927405910d00900a59","551cac6448564a2f0024d89e","551cb4d848564a2f0024d8a3","551cb52db7a32b3b00d1ef78","5526e2064a7ac121004c6073","5526e5147d4a4417009516b3","5526e9877d4a4417009516bb","5528362cd9e1db2d00cd924d","5580240ebe698419008f2ba2","5580a7dabe698419008f2db6","568161799de23c0d00c54750","5866c905a2cbb31900f6f1aa"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":1,"category":{"_id":"5526e9877d4a4417009516bb","pages":["5526e9e07d4a4417009516bd","55294fa4ceedaa0d00bc5c93"],"project":"5435693035740020002a1c1c","version":"5435693035740020002a1c1f","__v":2,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-04-09T21:05:11.766Z","from_sync":false,"order":5,"slug":"users","title":"Users"},"editedParams2":true,"project":"5435693035740020002a1c1c","parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-11T16:45:24.865Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[{"name":"","code":"{\n  \"meta\": {\n    \"status_code\": 200,\n    \"status\": \"OK\",\n    \"message\": \"\",\n    \"more_info\": {}\n  },\n  \"data\": [\n    {\n      \"space_id\": 1,\n      \"user_id\": 7,\n      \"device_id\": null,\n      \"last_seen_at\": \"2014-12-11T19:07:36+0000\",\n      \"arrived_at\": \"2014-12-11T19:07:36+0000\",\n      \"expired_at\": \"2014-12-11T19:08:06+0000\",\n      \"session_ttl\": 30,\n      \"session_active\": true\n    },\n    {\n      \"space_id\": 1,\n      \"user_id\": 7,\n      \"device_id\": null,\n      \"last_seen_at\": \"2014-12-11T02:08:40+0000\",\n      \"arrived_at\": \"2014-12-11T02:08:40+0000\",\n      \"expired_at\": \"2014-12-11T02:09:10+0000\",\n      \"session_ttl\": 30,\n      \"session_active\": false\n    }\n  ],\n  \"paging\": {\n    \"page\": 1,\n    \"per_page\": 10\n  }\n}","language":"json","status":200}]},"settings":"","examples":{"codes":[{"code":"GET /v1.0/users/42/presence HTTP/1.1\nHost: api.robinpowered.com\nContent-Type: application/json\nAuthorization: Access-Token :accessToken\n","language":"http"}]},"method":"get","auth":"required","params":[{"_id":"5526eb167d4a4417009516c0","ref":"","in":"path","required":true,"desc":"The ID or slug of the user","default":"","type":"mixed","name":"id"}],"url":"/users/:id/presence"},"isReference":true,"order":1,"body":"","excerpt":"Gets a list of a [User](doc:user)'s presence history.","slug":"get-user-presence","type":"endpoint","title":"/users/:id/presence"}

get/users/:id/presence

Gets a list of a [User](doc:user)'s presence history.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

id:
required
mixed
The ID or slug of the user

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}