This GraphQL query fetches All Sessions
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query allSessions { sessions (skip: 0, limit: 3) { results { ACL createdAt createdWith expiresAt id installationId restricted sessionToken updatedAt user { id } } } }
{ "data": { "sessions": { "results": [ { "ACL": null, "createdAt": "2018-04-05T06:50:45.839Z", "createdWith": { "action": "login", "authProvider": "facebook" }, "expiresAt": "2019-04-05T06:50:45.839Z", "id": "H52g5MNhvQ", "installationId": "41cf6c08-1ad7-4e12-8f4c-9776df19b2b2", "restricted": false, "sessionToken": "r:36b7cd49d76900d18ca0b5a274b312be", "updatedAt": "2018-04-05T06:50:45.839Z", "user": null }, { "ACL": null, "createdAt": "2018-04-05T05:39:09.875Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2019-04-05T05:39:09.875Z", "id": "w6hgD7Tt6S", "installationId": null, "restricted": false, "sessionToken": "r:7abb824cf1259f0aca4ba27de53f5579", "updatedAt": "2018-04-05T05:39:09.875Z", "user": { "id": "wZv0tExZGx" } }, { "ACL": null, "createdAt": "2018-04-08T02:10:19.310Z", "createdWith": { "action": "login", "authProvider": "facebook" }, "expiresAt": "2019-04-08T02:10:19.310Z", "id": "f1mwdsjflB", "installationId": "7b724df1-3ed9-4f36-a694-dbe277385787", "restricted": false, "sessionToken": "r:341b36d5505edba37eaf1912b44370bc", "updatedAt": "2018-04-08T02:10:19.310Z", "user": null } ] } } }