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-07-17T15:12:08.349Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2019-07-17T15:12:08.349Z", "id": "Sr1y9fAX5M", "installationId": "3ba5ea4d-7cf7-390d-1f86-24b2c85fad14", "restricted": false, "sessionToken": "r:66078f175732b98b9f6fad70c3ca999e", "updatedAt": "2018-07-17T15:12:08.349Z", "user": { "id": "1fU381CSbx" } }, { "ACL": null, "createdAt": "2018-07-17T15:13:16.452Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2019-07-17T15:13:16.451Z", "id": "pd2YK4fNs0", "installationId": "61b45432-f604-1692-dafe-76084754cf86", "restricted": false, "sessionToken": "r:6bfd923f8fc35c6d3b28b2953700140b", "updatedAt": "2018-07-17T15:13:16.452Z", "user": { "id": "1fU381CSbx" } }, { "ACL": null, "createdAt": "2018-07-17T15:47:12.180Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2019-07-17T15:47:12.180Z", "id": "QN4ElObUnj", "installationId": "aaec4594-fa0b-00cf-c489-4836e1a8aaea", "restricted": false, "sessionToken": "r:35362185ae289c4063848baf6cd242c1", "updatedAt": "2018-07-17T15:47:12.180Z", "user": { "id": "bb30wrOGyB" } } ] } } }