Event
The event resource provides the detail view of an Olympic event.
An example event resource for the 2018 winter olympics can be seen below.
{
"code": "ALPMSG----------------",
"description": "Men's Super-G",
"discipline": {
"code": "ALP",
"description": "Alpine Skiing"
},
"gender": {
"code": "M",
"description": "Men"
},
"games": {
"code": "OWG2018",
"description": "Olympic Winter Games PyeongChang 2018"
},
"meta": {
"teamEvent": false
},
"link": [
{
"rel": "self",
"href": "http://olympics.api.pressassociation.io/games/OWG2018/event/ALPMSG----------------"
}
]
}
The table below outlines the possible values exposed in the Event resource.
code | IOC defined event code. | |
description | IOC defined event description. | |
meta.teamEvent | true, false | The associated team event type. true dictating this to be a team event. |
games | Games | The associated games. |
discipline | Discipline | The associated discipline. |
gender | Gender | The associated gender. |
link | The referral links to available child resources. |
Date parameters
Calling for a list of any assets that have a date/time association without date parameters will return the current date. Adding date parameters can expose multiple chosen dates.
Updated 6 months ago