This GraphQL query fetches All Roles
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
query allRoles { roles (skip: 0, limit: 3) { results { ACL createdAt id name roles (skip: 0, limit: 3) { results { id } } updatedAt users (skip: 0, limit: 3) { results { id } } } } }
{ "data": { "roles": { "results": [ { "ACL": { "*": { "read": true, "write": true } }, "createdAt": "2019-02-19T03:04:47.420Z", "id": "7O8mV94USp", "name": "B4aAdminUser", "roles": { "results": [] }, "updatedAt": "2019-02-19T03:04:47.420Z", "users": { "results": [ { "id": "LjzZ0e8CPS" } ] } } ] } } }