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-10-19T22:00:58.478Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2019-10-19T22:00:58.477Z", "id": "wICZ1sOhAU", "installationId": "a48894ee-724d-4287-b279-346331678cee", "restricted": false, "sessionToken": "r:9217519a60e0aad2552860fa261b667e", "updatedAt": "2018-10-19T22:00:58.478Z", "user": null }, { "ACL": null, "createdAt": "2018-11-16T10:26:23.575Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2019-11-16T10:26:23.574Z", "id": "2uxGIRoFFE", "installationId": "af1592aa-6ace-439a-a340-b6ed9bf09a50", "restricted": false, "sessionToken": "r:4c822c42207bc08ad17b3ccc6561498d", "updatedAt": "2018-11-16T10:26:23.575Z", "user": null }, { "ACL": null, "createdAt": "2018-11-24T14:31:15.001Z", "createdWith": { "action": "signup", "authProvider": "password" }, "expiresAt": "2019-11-24T14:31:15.001Z", "id": "BFBkUlQ7nw", "installationId": "85e0e263-e41d-448c-9555-0437a159a8b5", "restricted": false, "sessionToken": "r:72ce90d4f8b0ef71141bc876694ac836", "updatedAt": "2018-11-24T14:31:15.001Z", "user": null } ] } } }