Matches
Matches
Query Parameters
- id integerExample: eq.1
- tournament_id integerExample: eq.131
- season_id integerExample: eq.118
- round_id integerExample: eq.1521
- arena_id integer
- referee_id integer
- home_team_id integerExample: eq.107
- away_team_id integerExample: eq.135
- 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
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- id integer
Note: This is a Primary Key.
- name character varying
- tournament_id integer
Note: This is a Foreign Key to
seasons-by-tournament.tournament_id. - tournament_name text
- tournament_importance integer
- season_id integer
Note: This is a Foreign Key to
seasons.id. - season_name text
- round_id integer
Note: This is a Primary Key.
- round jsonb
- status jsonb
- status_type text
- attendance integer
- arena_id integer
Note: This is a Foreign Key to
arenas.id. - arena_name text
- arena_hash_image character varying
Possible values:
<= 64 characters - home_team_id integer
Note: This is a Foreign Key to
teams.id. - home_team_name text
- home_team_hash_image character varying
Possible values:
<= 64 characters - away_team_id integer
Note: This is a Foreign Key to
teams.id. - away_team_name text
- away_team_hash_image character varying
Possible values:
<= 64 characters - home_team_score jsonb
- away_team_score jsonb
- times jsonb
- coaches jsonb
- specific_start_time timestamp with time zone
- start_time timestamp with time zone
- end_time timestamp with time zone
- duration integer
- last_period text
- season_statistics_type text
- lineups_id integer
Note: This is a Foreign Key to
matches-lineups.id. - coaches_id integer
- class_id integer
- class_name text
- class_hash_image character varying
Possible values:
<= 64 characters - league_id integer
- league_name text
- league_hash_image character varying
Possible values:
<= 64 characters - previous_leg_match_id integer
Note: This is a Foreign Key to
matches.id. - weather_id integer
Note: This is a Foreign Key to
matches-weather.id. - weather_main text
- weather_icon text
[
{
"id": 1,
"name": "Skycity Stampede vs Canterbury Red Devils",
"tournament_id": 131,
"tournament_name": "NZIHL - Playoffs",
"tournament_importance": 0,
"season_id": 118,
"season_name": "NZIHL 2022",
"round_id": 1521,
"round": {
"id": 1521,
"name": "Semifinals",
"round": 2,
"end_time": "2022-09-24",
"start_time": "2022-09-23"
},
"status": {
"type": "finished",
"reason": "Ended"
},
"status_type": "finished",
"home_team_id": 107,
"home_team_name": "Skycity Stampede",
"home_team_hash_image": "b737632a36fc3c99c490dd080b25df41dde8e26e91c3fd27556106bb2adf1285",
"away_team_id": 135,
"away_team_name": "Canterbury Red Devils",
"away_team_hash_image": "105dfa1efa4a4e01fd39bc425e7e1e3f26a6074f0074d00e619501d34d6f1d3f",
"home_team_score": {
"current": 2,
"display": 2,
"period_1": 0,
"period_2": 1,
"period_3": 1
},
"away_team_score": {
"current": 1,
"display": 1,
"period_1": 0,
"period_2": 1,
"period_3": 0
},
"start_time": "2022-09-23T06:45:00+00:00",
"duration": 9000,
"class_id": 39,
"class_name": "New Zealand",
"class_hash_image": "050d479746999cf33221b483d42bf086ad7a87c305baf53dc57433516d5efe79",
"league_id": 53,
"league_name": "NZIHL",
"league_hash_image": "790ee7389513138a83ede7be5e2d39b87a6ffb3f3e6ba12b8d134fc165e1563a"
}
]
Loading...