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-12-11T14:42:19.160Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2020-12-10T14:42:19.160Z", "id": "7fH7fksb1Q", "installationId": "1c9187ed-d783-4f37-ab93-790c9ecd726b", "restricted": false, "sessionToken": "r:892dd706d329a7e1f144b90c1438d55a", "updatedAt": "2019-12-11T14:42:19.160Z", "user": { "id": "yLiNinXjVT" } }, { "ACL": null, "createdAt": "2019-12-12T11:57:29.298Z", "createdWith": { "action": "login", "authProvider": "password" }, "expiresAt": "2020-12-11T11:57:29.297Z", "id": "FhgERWtPLL", "installationId": "ef5af1a3-d47e-48ac-91d7-446aa7753aaa", "restricted": false, "sessionToken": "r:5d4a078560927315e297df9af977ae48", "updatedAt": "2019-12-12T11:57:29.298Z", "user": { "id": "yLiNinXjVT" } } ] } } }