Horse
Details around the participant collection and detail endpoint
An example horse resource for the 2020 Tokyo Olympics can be seen below.
{
"code": "H000011",
"name": "BERNADETTE UTOPIA",
"passport": "104WE70",
"breed": {
"code": "KWPN",
"description": "Koninklijk Warmbloed Paardenstamboek Nederland"
},
"colour": {
"code": "BA",
"description": "Bay"
},
"gender": {
"code": "MA",
"description": "Mare"
},
"groom": "POTTS JACQUELINE",
"birthCountry": {
"code": "NED",
"description": "Netherlands"
},
"birthYear": 2006,
"sire": "COLANDRO",
"owners": [
"MASARU OTSUJI",
"SHINJI YAMAMORI"
],
"link": [
{
"rel": "self",
"href": "http://olympics.api.pamedia.io/v3/games/OG2020/horse/H000011"
}
]
}
The table below outlines the possible values exposed in the Horse resource.
Property | Value(s) | Description |
---|---|---|
code | IOC defined horse code | |
name | string | IOC defined name |
passport | string | |
breed | Horse Breed | The horse breed |
colour | Horse Colour | The horse colour |
gender | Gender | The associated gender |
groom | string | The name of the horse's groom |
birthCountry | Organisation | The associated organisation |
birthYear | number (YYYY) | The year the horse was born |
This is how you would query for a list of horses
curl --request GET \
--url https://olympics.api.pamedia.io/v3/games/OG2020/horse
This is how you would query a horse's details
curl --request GET \
--url https://olympics.api.pamedia.io/v3/games/OG2020/horse/H000011
Updated 2 months ago