Phase

The phase resource provides the detail view of a Olympic phase.

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

{
    "code": "SSKM1500M-----------------",
    "description": "Men’s 1,500m",
    "type": {
        "code": 8,
        "description": "Others"
    },
    "games": {
        "code": "OWG2018",
        "description": "Olympic Winter Games PyeongChang 2018"
    },
    "discipline": {
        "code": "SSK",
        "description": "Speed Skating"
    },
    "event": {
        "code": "SSKM1500M-------------",
        "description": "Men’s 1,500m",
        "meta": {
            "teamEvent": false
        }
    },
    "gender": {
        "code": "M",
        "description": "Men"
    },
    "link": [{
            "rel": "self",
            "href": "http://olympics.api.pressassociation.io/games/OWG2018/phase/SSKM1500M-----------------"
        },
        {
            "rel": "event",
            "href": "http://olympics.api.pressassociation.io/games/OWG2018/event/SSKM1500M-------------"
        }
    ]
}

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

Property

Value(s)

Description

code

IOC defined phase code.

description

IOC defined phase description.

type

Phase Type

The associated phase type.

games

Games

The associated games.

discipline

Discipline

The associated discipline.

event

Event

The associated event.

gender

Gender

The associated gender.

link

The referral links to available child resources.

This is an example of how you would query a phase using an IOC Code.

curl --request GET \
  --url https://olympics.api.pressassociation.io/v3/games/OWG2018/phase/SSKM1500M-----------------