Get Leaderboard

This endpoint allows users to get the leaderboard by providing a start and end date for the period they want to analyze.

GET/Leaderboard/GetLeaderboard

Authorization

AuthorizationRequiredBearer <token>

Authorization header using the Bearer scheme. Example: "Bearer {token}"

In: header

Query Parameters

StartDatestring

The start date of the period for which to retrieve the leaderboard.

Format: "date-time"
EndDatestring

The end date of the period for which to retrieve the leaderboard.

Format: "date-time"
curl -X GET "https://example.com/Leaderboard/GetLeaderboard?StartDate=2019-08-24T14%3A15%3A22Z&EndDate=2019-08-24T14%3A15%3A22Z" \
  -H "Authorization: Bearer <token>"

Returns the leaderboard data as a list of anonymous objects containing committee names and their total points within the specified date range.

[
  null
]