Leagues
Leagues
Query Parameters
- id integer
Default value:
eq.2044
- class_id integer
Default value:
eq.393
- offset string
Default value:
0
Limiting and Pagination
- limit string
Default value:
50
Limiting and Pagination
- lang string
Default value:
en
Multi-language
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
Note: This is a Primary Key.
- name text
- importance integer
- level integer
- current_champion_team_id integer
- current_champion_team_name text
- current_champion_team_hash_image character varying
Possible values:
<= 64 characters
- current_champion_team_num_titles integer
- teams_most_titles jsonb
- most_titles integer
- primary_color character varying
Possible values:
<= 7 characters
- secondary_color character varying
Possible values:
<= 7 characters
- higher_leagues jsonb
- lower_leagues jsonb
- start_league timestamp with time zone
- end_league timestamp with time zone
- hash_image character varying
Possible values:
<= 64 characters
- class_id integer
Note: This is a Foreign Key to
classes.id
. - class_name text
- class_hash_image character varying
Possible values:
<= 64 characters
[
{
"id": 2044,
"name": "ICE Hockey League",
"importance": 0,
"current_champion_team_id": 1244,
"current_champion_team_name": "Red Bull Salzburg",
"current_champion_team_hash_image": "b06411a97e9d42f366a6054cefacc99649f275944318595720bfb5d27b4282ad",
"current_champion_team_num_titles": 10,
"teams_most_titles": [
{
"team_id": 1282,
"team_name": "KAC Klagenfurt",
"team_hash_image": "0c8aa714d7bacca52407a4b23a097aaa169979136c24148a39ace3efabc3ba48"
}
],
"most_titles": 31,
"primary_color": "#1793d0",
"secondary_color": "#244d86",
"start_league": "2024-09-20T00:00:00+00:00",
"end_league": "2025-04-30T00:00:00+00:00",
"hash_image": "06c683ba963def141916e4f0403a249237bf2ed32867d68c1d95aafb77e12053",
"class_id": 393,
"class_name": "Austria",
"class_hash_image": "40393f76d1c4b9337c1d9f6970336c50ecc41f22c113075b5c9544d53781dc3d"
}
]
Loading...