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-01-08T11:59:05.703Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2018-01-08T11:59:05.702Z", "id": "x8gIV1Kqm3", "installationId": "6a24496f-ac02-4c95-8337-dc34beddc2bb", "restricted": false, "sessionToken": "r:49485d63454c6843efa7479e710422ff", "updatedAt": "2017-01-08T11:59:05.703Z", "user": null }, { "ACL": null, "createdAt": "2017-01-29T17:28:17.952Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2018-01-29T17:28:17.951Z", "id": "9V1l3RXM5X", "installationId": "5873646b-2f21-4c36-abfd-11865668a781", "restricted": false, "sessionToken": "r:252c75728239e3260e2dde9f9afd30bb", "updatedAt": "2017-01-29T17:28:17.952Z", "user": null }, { "ACL": null, "createdAt": "2017-02-02T19:06:51.711Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2018-02-02T19:06:51.710Z", "id": "HBWpMTMyUQ", "installationId": "6fe81c51-54cc-41a0-b0ee-4293065e329c", "restricted": false, "sessionToken": "r:d95c891e9da1fbc447f9b2f2de87e7f0", "updatedAt": "2017-02-02T19:06:51.711Z", "user": null } ] } } }