Generate stats from highlights
POST {{baseUrl}}/{{version}}/highlights/highstats
This endpoint enables you to create a short video or a highlight.
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"=>"team_id", "value"=>"128", "datatype"=>"number"}, {"name"=>"event_id", "value"=>"3040", "datatype"=>"number"}, {"name"=>"sport_id", "value"=>"5", "datatype"=>"number"}, {"name"=>"game_id", "value"=>"", "datatype"=>"null"}, {"name"=>"competition_team_id", "value"=>"", "datatype"=>"null"}, {"name"=>"competition_id", "value"=>"", "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Highlight created successfully","highlight":{"team_id":"129","video_id":"150","tag_id":"1","high_timestamp":"10","high_type":"home","updated_at":"2022-04-11T09:11:42.000000Z","created_at":"2022-04-11T09:11:42.000000Z","high_id":80}}