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": "2019-09-24T05:21:21.787Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2020-09-23T05:21:21.787Z", "id": "Vw00AlwdwP", "installationId": null, "restricted": false, "sessionToken": "r:27aaf680066024d755419d00a6ff2a2e", "updatedAt": "2019-09-24T05:21:21.787Z", "user": { "id": "tKyE2tTFAt" } }, { "ACL": null, "createdAt": "2019-09-24T05:21:43.947Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2020-09-23T05:21:43.947Z", "id": "2yOe4piE03", "installationId": "3171609a-7a9a-c505-0c25-7cb9450a1103", "restricted": false, "sessionToken": "r:81266fdf62828f46263d963ed8f487f0", "updatedAt": "2019-09-24T05:21:43.947Z", "user": { "id": "tKyE2tTFAt" } } ] } } }