v1
latestOpenAPI 3.0.02026-07-24900287.5 KBData Injection
Create activity
Create an injected activity with periods and athletes
post/injection/activities
Request body
Example request
{
"name": "Injection test",
"start_time": 1,
"end_time": 2,
"home_team_id": "03ca53e1-e1b8-4d01-acde-db97fd3feffc",
"team_ids": [
"03ca53e1-e1b8-4d01-acde-db97fd3feffc"
],
"periods": [
{
"name": "Quarter 1",
"start_time": 1,
"end_time": 2,
"athletes": [
"0a009851-6b47-432b-83dc-d589dac07148"
]
}
]
}Response
Created
Example response
{
"id": "0224615f-a286-40b3-97f4-7e4ec13e8529"
}