Generate highlight video

POST {{baseUrl}}/{{version}}/highlights/{{highlight_id}}/generate/video

This endpoint enables you to create a short video or a highlight and a thumbnail for it.

Note that the creation of the highlight happens in the background. You can you the high_id to retrieve the finished highlight

Request Body

[{"name"=>"start_time", "value"=>"00:01:30", "datatype"=>"string"}, {"name"=>"end_time", "value"=>"00:01:50", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Highlight video is being created...","highlight":[{"high_id":33,"video_id":150,"tag_id":7,"team_id":127,"high_video_url":"/videolibrary/team_127/highlights/game/high_624d50bf01f74.mp4","deleted_at":null,"created_at":"2022-04-06T08:35:09.000000Z","updated_at":"2022-04-06T08:35:12.000000Z","high_tag":null,"high_start_time":null,"high_end_time":null,"high_canvas":null,"high_timestamp":null,"high_type":null,"tag_name":"Pass","tag_abbreviation":"PAS","tag_category":"defensive","team_name":"Atlanteans U17","team_avatar":"https://files.teamsportz.app/teams/127_1646910447.png","video_name":"Game vs Compress3","video_type":"game"}]}