Skip to content
yannisgu edited this page Nov 25, 2013 · 2 revisions

API

The API has the following endpoints:

To query an endpoint you have to add a JSON object as Paramater (e.g. oevents.aws.af.cm/events?{"name":"Schweizer Meisterschaft im Sprint-OL"}). The Syntax of the query is almost the same as for mongodb. Please read the mongodb guide for more informations:

API Reference

events

name

The name of the event

date

The date of the event as milliseconds since 1970/01/01. You can use new Date(value) to get a JavasScript Date-object from the value.

url

The url where you can find more informations

map

The map where the event will happen.

region

The region where the event will happen.

organiser

The organiser of the event

classification

Which importance the race has. The following values are valid:

  • 1=championship
  • 2=national competition
  • 3=regional competition
  • 4=local competition
  • 5=club competition
eventCenter
day
night
lastModification
source

From where the competition was imported Either "solv" or "solvResults".

idSource

The id in the source

id