v1
latestOpenAPI 3.0.02026-07-24900287.5 KBAnnotations
Create an Annotation
Create an Annotation.
post/annotations
Request body
Example request
{
"activity_id": "e8429333-8c7a-4659-9f41-e0b6c0850232",
"annotation_category_id": "2796aae6-e827-48e8-8648-ecf5117b1a6b",
"name": "Kick",
"start_time": 1642599395,
"start_centiseconds": 45,
"end_time": 1642599414,
"end_centiseconds": 30,
"athlete_ids": [
"0a009851-6b47-432b-83dc-d589dac07148"
],
"row": 1
}Response
Newly created annotation
Example response
{
"created_at": "2023-10-31 23:59:59",
"modified_at": "2023-10-31 23:59:59",
"annotation_category": {
"name": "Kick",
"import_name": "play_type_kick",
"start_offset": 15,
"end_offset": 2,
"default_color": "#A55F7B",
"is_bakeable": 1,
"created_at": "2023-10-31 23:59:59",
"modified_at": "2023-10-31 23:59:59",
"is_editable": 1
},
"annotation_metadata": [
{
"created_at": "2023-10-31 23:59:59",
"modified_at": "2023-10-31 23:59:59"
}
],
"athlete_ids": [
"4d1d947a-d795-4a24-85ed-919690c48283"
]
}