Pair
API | Description |
---|---|
GET api/v{version}/pair |
Get list of all the available couples. |
GET api/v{version}/pair/details/{id} |
Get some more details about a couple. |
TournamentType
Tournament related endpoints.
API | Description |
---|---|
GET api/v{version}/tournamenttype |
Get all available tournamenttypes |
GET api/v{version}/tournamenttype/{id} |
Get the information of a specific tournamenttype. |
Account
API | Description |
---|---|
POST api/v{version}/login |
Login on a session. |
POST api/v{version}/token |
No documentation available. |
Stream
API | Description |
---|---|
GET api/v{version}/updates |
Get a stream that contains realtime changes to the system. The changes that will be send are related to the competition, season and players. The example of a stream: data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:14","Id":0} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:24","Id":1} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:34","Id":2} data:{"User":"JohnDo","Entity":"Competition","Modification":"Added","TimeStamp":"08-10-2015 10:48:43","Id":284} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:44","Id":3} data:{"User":"JohnDo","Entity":"Competition","Modification":"Modified","TimeStamp":"08-10-2015 10:48:48","Id":284} data:{"User":"JohnDo","Entity":"Competition","Modification":"Deleted","TimeStamp":"08-10-2015 10:48:53","Id":284} data:{"User":"","Entity":"HeartBeat","Modification":"Added","TimeStamp":"08-10-2015 10:48:54","Id":4} The stream contains an user, an entity type, a modification type, a timestamp and a related id. A sample implementation to read this stream look here: http://weblogs.asp.net/andresv/asynchronous-streaming-in-asp-net-webapi |
GET api/v{version}/last?date={date}&removeduplicates={removeduplicates}&filter={filter} |
Get the last changes to the database. |
GET api/v{version}/changes?date={date}&removeduplicates={removeduplicates}&filter={filter} |
Get the last changes to the database, including the entity id and their parent if applicable. |
Area
API | Description |
---|---|
GET api/v{version}/areas |
Get list of all the available areas. |
Player
Tournament
Tournament related endpoints.
API | Description |
---|---|
GET api/v{version}/tournament |
Get all available tournaments |
GET api/v{version}/tournament/seasons/{id} |
Get the information of a specific tournament. |
GET api/v{version}/tournament/seasons |
Get the tournaments and the related seasons. |
GET api/v{version}/tournament/seasons/{start}/{end} |
Get the tournaments and the related seasons for a couple of years. The season start year will be between (includes) the start- and endyear. |
Round
API | Description |
---|---|
GET api/v{version}/round/{id} |
Get the played rounds of a tournament. For example the PDC World Championship 2002 will return Final, Semi-Finals, Quarter-finals, Last16, Last 32. |
GET api/v{version}/round/details/{id}?matchstats={matchstats} |
Get the matches of a certain round. |
GET api/v{version}/season/rounds/{id}?matchstats={matchstats} |
Get all the rounds and the related matches of a season. |
POST api/v{version}/rounds |
No documentation available. |
Schedule
Schedule related endpoints.
API | Description |
---|---|
GET api/v{version}/schedule/tournament/{year} |
Get the schedules of all the defined tournaments |
GET api/v{version}/schedule/tournament_by_rankings/{year}/{ranking} |
Get the schedules of all the defined tournaments with a sepecifc ranking assigned |
GET api/v{version}/schedule/season/{year} |
Get the schedules of all the defined season which are not part of a tournament. |
GET api/v{version}/schedule/season_by_rankings/{year}/{ranking} |
Get the schedules of all the defined season which a linked ranking which are not part of a tournament. |
Organisation
API | Description |
---|---|
GET api/v{version}/organisation?translations={translations} |
Get all the available dart organisations from the system. |
Competition
Season
Ranking
Get the information related to the rankings. A ranking can be build on request or a saved version can be retrieved. The saved versions are stored in runs. There is always one run with the status live. This run is kept up to date and is only rebuild if a season that is linked to the ranking is changed.
Seeding
Get the information related to the rankings. A ranking can be build on request or a saved version can be retrieved. The saved versions are stored in runs. There is always one run with the status live. This run is kept up to date and is only rebuild if a season that is linked to the ranking is changed.
API | Description |
---|---|
POST api/v{version}/seeding |
Get the rankings used by the system. |
GET api/v{version}/seeding/ranking/{id} |
Get the ranking used by a seeding for a specifc season. |
Match
API | Description |
---|---|
GET api/v{version}/match/{id}?matchstats={matchstats} |
Get detailed information about a match. |
GET api/v{version}/matches/bydate/{date} |
Get matches played on a day |
GET api/v{version}/matches/byseason/{seasonId} |
Get matches played in a season. |
GET api/v{version}/matches/byplayer/{playerId} |
Get all player matches. |
GET api/v{version}/matches/byseason/{seasonId}/player/{playerId} |
Get all player matches of a season. |
GET api/v{version}/matches/byplayer/{playerId}/vs/{opponentPlayerId} |
Get head to head matches of two players. |
GET api/v{version}/match/details/{id} |
Obsolete: Get match details. |
TournamentTypeGroup
Tournament related endpoints.
API | Description |
---|---|
GET api/v{version}/tournamenttypegroup?page={page}&pageSize={pageSize} |
Get all available tournamenttypes |
GET api/v{version}/tournamenttypegroup/{id} |
Get the information of a specific tournamenttype. |
Venue
API | Description |
---|---|
GET api/v{version}/venue?page={page}&pageSize={pageSize} |
Get all the venues from the system. |
GET api/v{version}/venue/details?id={id} |
Get the details of a venue. |