Teams
Teams
Query Parameters
- id integerExample: eq.86
- country_id integerExample: eq.34
- class_id integerExample: eq.39
- tournament_id integerExample: eq.52
- primary_league_id integerExample: eq.53
- arena_id integer
- coach_id integer
- 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 text
- short_name text
- full_name text
- gender character
Possible values:
<= 1 characters - name_code text
- national boolean
- type integer
- color_primary character varying
Possible values:
<= 7 characters - color_secondary character varying
Possible values:
<= 7 characters - color_text character varying
Possible values:
<= 7 characters - foundation_date timestamp with time zone
- hash_image character varying
Possible values:
<= 64 characters - country_id integer
Note: This is a Foreign Key to
countries.id. - country_name text
- country_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 - tournament_id integer
Note: This is a Foreign Key to
seasons-by-tournament.tournament_id. - tournament_name text
- primary_league_id integer
Note: This is a Foreign Key to
leagues.id. - primary_league_name text
- primary_league_hash_image character varying
Possible values:
<= 64 characters - arena_id integer
Note: This is a Foreign Key to
arenas.id. - arena_name text
- arena_hash_image character varying
Possible values:
<= 64 characters - coach_id integer
Note: This is a Foreign Key to
coaches.id. - coach_name text
- coach_hash_image character varying
Possible values:
<= 64 characters
[
{
"id": 86,
"name": "Auckland Mako",
"full_name": "Auckland Mako",
"gender": "M",
"name_code": "AUC",
"national": false,
"type": 0,
"color_primary": "#374df5",
"color_secondary": "#374df5",
"color_text": "#ffffff",
"hash_image": "cd6042263348e048ec4bd0d0e61801de55f1d2129e2d9dda3fe69cf1193c9c06",
"country_id": 34,
"country_name": "New Zealand",
"country_hash_image": "613c0e36acaa2ffad731fc0824c05107a8ce587122f5a2e08295c7f760fc05f7",
"class_id": 39,
"class_name": "New Zealand",
"class_hash_image": "050d479746999cf33221b483d42bf086ad7a87c305baf53dc57433516d5efe79",
"tournament_id": 52,
"tournament_name": "NZIHL",
"primary_league_id": 53,
"primary_league_name": "NZIHL",
"primary_league_hash_image": "790ee7389513138a83ede7be5e2d39b87a6ffb3f3e6ba12b8d134fc165e1563a"
}
]
Loading...