Skip to main content

Event

Event represation - from collapsing races from single edition

type Event {
checkoutUrl: String
city: LocalizedString
country: LocalizedCountry
countryIso: String
description: LocalizedDescription
distancesInKm: [Float!]
editionId: Int
editionStatus: editionStatus
eventPageUrl: String
eventStatus: eventStatus
id: Int
isAhotuEvent: Boolean
isFlagshipEvent: Boolean
isRegistrationOpen: Boolean
localizedEventPageUrl: LocalizedString
location: LocalizedString
lonlat: [Float!]
name: LocalizedString
nameLanguage: String
permalink: String
races: [Race!]
region1: eventRegion1
region2: eventRegion2
sport: eventSport
startDate: String
updatedAt: String
}

Fields

Event.checkoutUrl ● String scalar

Url for event registration

Event.city ● LocalizedString object

City of the event

Event.country ● LocalizedCountry object

Localized country of the event

Event.countryIso ● String scalar

Country ISO code of the event

Event.description ● LocalizedDescription object

Description of the event. Presented as LocalizedObject (e.g LocalizedDescription)

Event.distancesInKm ● [Float!] list scalar

Event.editionId ● Int scalar

Id of the edition

Event.editionStatus ● editionStatus object

Status of the edition.

Event.eventPageUrl ● String scalar

Url for event's page

Event.eventStatus ● eventStatus object

Status of the event.

Event.id ● Int scalar

Id of the event

Event.isAhotuEvent ● Boolean scalar

Flag for Ahotu official events

Event.isFlagshipEvent ● Boolean scalar

Flag for Ahotu dflagship events (non-deployed only)

Event.isRegistrationOpen ● Boolean scalar

Event is open for registration

Event.localizedEventPageUrl ● LocalizedString object

Localized urls for event's page

Event.location ● LocalizedString object

Location of the event

Event.lonlat ● [Float!] list scalar

geo_point data

Event.name ● LocalizedString object

Name of the event

Event.nameLanguage ● String scalar

Language of the event name

Event.permalink ● String scalar

Permalink/slug used for the event page on Ahotu

Event.races ● [Race!] list object

Races for event edition

Event.region1 ● eventRegion1 object

region1 reference

Event.region2 ● eventRegion2 object

region2 reference

Event.sport ● eventSport object

sport reference

Event.startDate ● String scalar

Start date of event current edition

Event.updatedAt ● String scalar

Last update UTC date

Returned By

getEventById query

Member Of

Events object