teams.coaches

Fetch group data for a given team

Coach

The Coach object provides basic information about a given coach.

email => String

The email field returns the email used for the coach's FYTT account.

name => String

The name field returns the name of the coach.

uuid => String

The uuid field returns the UUID generated by FYTT for the object.

Example:

query {
  teams(uuids: ["147161ee-01cb-42be-afb0-70e877d3b2cb"]) {
    name,
    coaches(uuids:["27d6f7e7-83cb-44a9-9406-389e8db16144"]) {
      name,
    }
  }
}

Response:

{
  "data": {
    "teams": [
      {
        "name": "Football",
        "coaches": [
          {
            "name": "Mike Jones"
          }
        ]
      }
    ]
  }
}