Organisation

Details around the organisation collection and detail endpoint

The organisation resource is to be used as referential data in queries against other Olympics API endpoints.

An example organisation resource for the 2018 winter olympics can be seen below.

{
    "code": "GBR",
    "description": "Great Britain"
}

The table below outlines the possible values exposed in the Organisation resource.

PropertyValue(s)Description
codeIOC defined discipline code
descriptionIOC defined discipline description

This is an example of how you would query a unit using a organisation.

curl --request GET \
  --url  https://olympics.api.pamedia.io/v3/games/OWG2018/unit?organisation=GBR