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.

PropertyValue(s)Description
codeIOC defined horse code
namestringIOC defined name
passportstring
breedHorse BreedThe horse breed
colourHorse ColourThe horse colour
genderGenderThe associated gender
groomstringThe name of the horse's groom
birthCountryOrganisationThe associated organisation
birthYearnumber (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