Comment on page
Coach List
Get the Coaches List
Field | Type | Description |
id | ID | Coach unique ID |
name | String | Users name |
email | String | Users email |
isAdmin | String | users phone number |
roles | Sting | Roles assigned to the coach |
createdAt | DateTime | Date and time when the coach was created |
updatedAt | DateTime | Date and time when the coach was updated |
permissions | String | List of the coach permissions |
Request
Response
{
coaches {
edges {
node {
id
email
name
isAdmin
roles
createdAt
updatedAt
permissions
}
}
}
}
{
"data": {
"coaches": {
"edges": [
{
"node": {
"id": "B234RTGH",
"email": "[email protected]",
"name": "Liliana Iriarte Sanabria",
"isAdmin": true,
"roles": [
"COACH_ADMIN",
"DEVELOPER",
"COACH",
"COACH_ALL_MEMBERS"
],
"createdAt": "2021-11-24T18:07:29.189670+00:00",
"updatedAt": "2022-01-12T20:20:38.719177+00:00",
"permissions": [
"coach:delete",
"note-template:read",
"meal-plan-templ:update",
"appointment-type:update",
"coach:create",
"appointment-type:delete",
"appointment-event:create",
"meal-plan-templ:read",
"member:update",
"note-template:update",
"coach:link-member",
"lab-test-report:delete",
"lab-test-report:update",
"appointment-type:list",
"member:read-all",
"lab-test-report:create",
"appointment-event:update",
"coach:update",
"appointment-event:read",
"appointment-event:delete",
"note-template:create",
"note-template:delete",
"member:delete",
"appointment-type:create",
"coach:read",
"meal-plan-templ:create",
"member:read",
"member:create",
"meal-plan-templ:delete",
"meal-plan:create",
"appointment-setting:manage",
"appointment-setting:read"
]
}
}
}
}
Last modified 1yr ago