Constructs an instance of this controller.
Handler of the /statistics/leaderboard endpoint. Returns all leaderboards that match
the request query. If the query is null or not specified, returns
all documents in DTO format using StatisticsDTO.
The result of this endpoint can be paginated using query
parameters: pageSize, pageNumber. Also, it can be sorted
with query parameters: sort, order.
Requests a user's leaderboard entries. This endpoint is protected and a
valid access token must be attached in the Authorization request
header, in signed cookies or in browser cookies.
The request is secured using the AuthGuard guard
which attaches a payload to the request object.
An express request used to extract the authenticated user payload.
An authenticated user's owned assets.
Generated using TypeDoc
STATISTICS
The leaderboards controller of the app. Handles requests about leaderboards that are available in the database.
This controller defines the following routes:
/statistics/leaderboardsGETv0.3.2