Matches Highlights
This endpoint allows you to retrieve the highlights from matches. It has all social media posts about the match.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
lang
attribute. Example:lang=en
.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every 10 seconds during a live match.
Recommended Calls: Limit calls to 1 per 10 seconds during a live match.
Use Cases
Get highlights from a specific match_idhttps://volleyball.sportdevs.com/matches-highlights?match_id=eq.{match_id}
Query Parameters
- match_id integer
Default value:
eq.115
The id of the match
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
The id of the highlight
Note: This is a Primary Key.
- match_id integer
The id of the match
Note: This is a Foreign Key to
matches-live.id
. - title text
The title of the highlight
- subtitle text
The subtitle of the highlight
- url text
The url of the highlight
- created_at timestamp with time zone
The publishing date of the highlight
- source_url text
The source url of the highlight
[
{
"id": 1,
"match_id": 115,
"title": "Valsa Group Modena 3-2 Allianz Milano",
"subtitle": "Full Highlights",
"url": "https://www.youtube.com/watch?v=7j3Xml5dRTc&ab_channel=LegaPallavoloSerieA",
"created_at": "2023-10-22T16:22:32+00:00",
"source_url": "https://www.youtube.com/watch?v=7j3Xml5dRTc&ab_channel=LegaPallavoloSerieA"
}
]