v1
latestOpenAPI 3.0.02026-07-24900287.5 KBAthlete Thresholds
Update a threshold set
put/threshold_sets/{id}
Path parameters
idstring required
ThresholdSet Id
Query parameters
includestring[]
Entities to include under each item, comma separated.
Request body
Example request
{
"name": "My Updated Set",
"alert": [
{
"colour": "red",
"level": 1,
"value": 50
}
],
"thresholdSetAthletes": [
{
"athlete_id": "0a009851-6b47-432b-83dc-d589dac07148",
"parameters": [
{
"parameter_slug": "total_distance",
"parameter_value": 125
}
]
}
]
}Response
OK
Example response
{
"id": "031547d4-3ea0-4c5c-8502-9584b4aef996",
"name": "Academy Rehab",
"created_at": "2023-10-31 23:59:59",
"modified_at": "2023-10-31 23:59:59",
"athlete_count": 2,
"thresholdSetAthletes": [
{
"athlete_id": "2a13a273-eab2-4d0c-9455-a505c1de0ca0",
"parameters": [
{
"parameter_slug": "total_distance",
"parameter_value": 123.44
},
{
"parameter_slug": "field_time",
"parameter_value": 3600
}
]
},
{
"athlete_id": "12345678-eab2-4d0c-9455-a505c1de0ca0",
"parameters": [
{
"parameter_slug": "total_distance",
"parameter_value": 123.44
},
{
"parameter_slug": "player_load",
"parameter_value": 110
}
]
}
]
}