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": "2017-07-01T08:50:17.090Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2018-07-01T08:50:17.090Z", "id": "jCYvGjh0uU", "installationId": "e0dabf79-c4dd-4211-b7dc-7f66c815d555", "restricted": false, "sessionToken": "r:45ebb10d10933a141f9bbc1c2d80a42c", "updatedAt": "2017-07-01T08:50:17.090Z", "user": null }, { "ACL": null, "createdAt": "2017-08-21T00:20:12.869Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2018-08-21T00:20:12.868Z", "id": "uBlpQDFZ42", "installationId": "d6217a05-8605-4fa3-9020-bb3466066d54", "restricted": false, "sessionToken": "r:b0c129d16ef89ec091b2ddb9492a6f18", "updatedAt": "2017-08-21T00:20:12.869Z", "user": null }, { "ACL": null, "createdAt": "2017-10-23T21:40:52.680Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2018-10-23T21:40:52.679Z", "id": "mPHykKW8AD", "installationId": "a27b0777-fa89-40b9-b0fb-1ab180ad866f", "restricted": false, "sessionToken": "r:0cc197be779559e8d4abb2f88cc5f2b5", "updatedAt": "2017-10-23T21:40:52.680Z", "user": null } ] } } }