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 type related endpoints.
API | Description |
---|---|
GET api/v{version}/tournamenttype?page={page}&pageSize={pageSize} |
Get all available tournament types |
GET api/v{version}/tournamenttype/{id} |
Get the information of a specific tournament type. |
Account
API | Description |
---|---|
POST api/v{version}/login |
Login on a session. |
POST api/v{version}/token |
No documentation available. |
VenueCore
API | Description |
---|---|
GET api/v{version}/core/venue?page={page}&pageSize={pageSize} |
Get all the venues from the system. |
GET api/v{version}/core/venue/{id} |
Get the details of the venue. |
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}?seasonStatus={seasonStatus} |
Get the information of a specific tournament. |
GET api/v{version}/tournament/seasons?seasonStatus={seasonStatus} |
Get the tournaments and the related seasons. |
GET api/v{version}/tournament/seasons/{start}/{end}?seasonStatus={seasonStatus} |
Get the tournaments and the related seasons for a couple of years. The season start year will be between (includes) the start- and endyear. |
CompetitionCore
API | Description |
---|---|
GET api/v{version}/core/competition?page={page}&pageSize={pageSize} |
Get the basic information of all the competitions. |
GET api/v{version}/core/competition/{id} |
Get the details of the competition. |
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}?tournamentType={tournamentType}&tournamentTypeGroup={tournamentTypeGroup}&seasonStatus={seasonStatus} |
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}?tournamentType={tournamentType}&tournamentTypeGroup={tournamentTypeGroup}&seasonStatus={seasonStatus} |
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. |
SeasonCore
API | Description |
---|---|
GET api/v{version}/core/season?page={page}&pageSize={pageSize}&seasonStatus={seasonStatus} |
Get the basic information of all the seasons. |
GET api/v{version}/core/competition/{id}/season?competitionId={competitionId}&seasonStatus={seasonStatus} |
Get the basic information of the seasons related to a competition. |
GET api/v{version}/core/season/{id} |
Get the details of the season. |
GET api/v{version}/core/season/{id}/rounds |
Get the details of the season. |
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.
API | Description |
---|---|
GET api/v{version}/rankings |
Get all the rankings known by the system. |
GET api/v{version}/rankings/lookup/{name} |
Get the information about a ranking. |
GET api/v{version}/rankings/{id}?date={date}&includeDetails={includeDetails}&includeNoPoints={includeNoPoints} |
Determine the ranking for a specific date. This ranking is calculated with the current data in the database. |
GET api/v{version}/rankings/runs/{id} |
Get all the available ranking runs for a ranking. A run can either be live, dirty, locked or saved. The live ranking runs are describe the current state as provided by the data in the database. A dirty ranking, is a live ranking with of with the underlying data is changed. The ranking should be recalculated to make it 'live' again. Locked and saved ranking runs are stored live rankings. They will not be changed. |
GET api/v{version}/rankings/run/latest/{id} |
Get the information about a ranking run. |
GET api/v{version}/rankings/run/{id}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints} |
Get the ranking of a specific ranking run. |
GET api/v{version}/rankings/latest/{id}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}&recalculateIfNeeded={recalculateIfNeeded} |
Get the latest ranking run by ranking id. The lastest run is kept up to date. Changes in the related seasons will trigger a re-calculation of the ranking. |
GET api/v{version}/rankings/latestbyname/{name}?includeDetails={includeDetails}&includeNoPoints={includeNoPoints}&recalculateIfNeeded={recalculateIfNeeded} |
Get the latest ranking run by name. The lastest run is kept up to date. Changes in the related seasons will trigger a re-calculation of the ranking. |
GET api/v{version}/ranking/{rankingId}/player/{playerId} |
Get the latest position known in a ranking for a certain player |
GET api/v{version}/ranking/{rankingId}/member/{member} |
Get the latest position known in a ranking for a certain player. |
GET api/v{version}/ranking/player/{playerId}?date={date} |
Get the position in all the rankings for a player. |
GET api/v{version}/ranking/{rankingId}/player/{playerId}/all |
No documentation available. |
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?from={from}&to={to} |
Get matches played in a period of time. The maximum is a month. If the interval is bigger then a month the matches will be limited to a month relative to the end date. |
GET api/v{version}/matches/changed?from={from}&to={to} |
No documentation available. |
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 type group related endpoints.
API | Description |
---|---|
GET api/v{version}/tournamenttypegroup?page={page}&pageSize={pageSize} |
Get all available tournament type groups |
GET api/v{version}/tournamenttypegroup/{id} |
Get the information of a specific tournament type group. |
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. |