Seasons By Tournament
This endpoint allows you to retrieve the seasons from a specific tournament.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. 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 day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get seasons from a specific tournament_idhttps://floorball.sportmicro.com/seasons-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
The id of the tournament
Example: eq.56 - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- tournament_id integer
The id of the tournament
Note: This is a Primary Key.
- tournament_name text
The name of the tournament
- seasons jsonb
The seasons
[
{
"tournament_id": 56,
"tournament_name": "Champions Cup - Playoffs",
"seasons": [
{
"id": 54,
"name": "Champions Cup 2026",
"year": "2026"
},
{
"id": 1143,
"name": "Champions Cup 2012",
"year": "2012"
},
{
"id": 1199,
"name": "Champions Cup 2011",
"year": "2011"
},
{
"id": 1363,
"name": "Champions Cup 2013",
"year": "2013"
},
{
"id": 3138,
"name": "Champions Cup 2014",
"year": "2014"
},
{
"id": 24521,
"name": "Champions Cup 24/25",
"year": "24/25"
},
{
"id": 25684,
"name": "Champions Cup 2023",
"year": "2023"
},
{
"id": 26296,
"name": "Champions Cup 2023",
"year": "2023"
},
{
"id": 27162,
"name": "Champions Cup 2022",
"year": "2022"
},
{
"id": 28706,
"name": "Champions Cup 2020",
"year": "2020"
},
{
"id": 29188,
"name": "Champions Cup 2019",
"year": "2019"
},
{
"id": 29716,
"name": "Champions Cup 2017",
"year": "2017"
},
{
"id": 30142,
"name": "Champions Cup 2016",
"year": "2016"
},
{
"id": 30515,
"name": "Champions Cup 2015",
"year": "2015"
}
]
}
]