Fetch athlete notes
Note
Notecontent => String
The content field returns the content of the note that was recorded by the coach.
coachName => String
The coachName field returns the name of the coach who recorded the note.
coachUuid => String
The coachUuid field returns the uuid attribute of the coach who recorded the note.
date => ISO 8601 String
he date field returns the date that the note was recorded in ISO 8601 format ("YYYY-MM-DD").
tags => String
The tags field returns a comma separated string of the tags that were used to categorize the note (if any).
uuid => String
The uuid field returns the UUID generated by FYTT for the note. This value can be used when querying data.
Sample Query
Example:
query {
athletes(emails:["[email protected]"]) {
name,
notes(
startDate:"2024-06-01",
endDate:"2024-12-31",
) {
content,
date
}
}
}
Response:
{
"data": {
"athletes": [
{
"name": "Devin Anderson",
"notes": [
{
"content": "Reported some minor pain in left thigh",
"date": "2024-01-26"
},
{
"content": "Getting over a minor illness",
"date": "2024-03-17"
},
]
}
]
}
}
Avoid Request Timeouts
The amount of data requested can easily spiral out of control if you're not careful. To avoid request timeouts for very large amounts of data, we strongly advise that you limit the scope of each request to a subset of athletes and/or a relatively narrow date range (~30 days is probably the upper end of the recommended range depending on the number of athletes and the frequency of recorded measurements).
