Existing Coach Teams
Use the coachTeams mutation query to list all of the available Coach Teams a coach can be assigned to.
Available argument
Argument Name
Is required?
Type
Description
filters.name
No
String
Name of the coach team to filter by.
Available Fields
The following fields will be displayed in the response:
Field Name
Type
Description
id
ID
Id of the coach team.
name
String
Name of the coach team.
description
String
Short description of the coach team.
Example
query{
coachTeams{
edges{
node{
id
name
description
coaches{
id
name
}
}
}
}
}{
"data": {
"coachTeams": {
"edges": [
{
"node": {
"id": "Q29hY2UZWFtOjEwMTY=",
"name": "External",
"description": "",
"coaches": []
}
},
{
"node": {
"id": "Q29hYhUZWFtOjEwMTU=",
"name": "Internal",
"description": "",
"coaches": [
{
"id": "Q29hY2g6TDg2NA==",
"name": "Green"
},
{
"id": "Q9hY2g6ODk5MA==",
"name": "Blue"
},
{
"id": "Q29hYg6ODg3NQ==",
"name": "Pink"
}
]
}
},
{
"node": {
"id": "Q29hY2hUZWFtOjEMjE=",
"name": "TEST-Team",
"description": "For testing",
"coaches": [
{
"id": "Q29hY2g6OYI4NQ==",
"name": "Rainbow"
}
]
}
}
]
}
}
}Last updated