Coaches By Country
This endpoint allows you to retrieve the coaches from a specific country.
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 day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get coaches from a specific country_idhttps://volleyball.sportdevs.com/coaches-by-country?country_id=eq.{country_id}
Query Parameters
- country_id integer
Default value:
eq.16
The id of the country
- 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
- country_id integer
The id of the country
Note: This is a Foreign Key to
countries.id
. - country_name text
The name of the country
- country_hash_image character varying
Possible values:
<= 64 characters
The hash image of the country
- coaches jsonb
The coaches
[
{
"country_id": 16,
"country_name": "Brazil",
"country_hash_image": "bbaf8352442730e92c16c5ea6b0ff7cc595c24e02d8e8bfc5fea5a4e0bb0b46b",
"coaches": [
{
"id": 1945,
"name": "Cezar Douglas Silva",
"hash_image": "36e20b1ab85a19dd09e0ac53010831636475cb710010991c92dbf11fe26fdd74"
}
]
}
]