Skip to main content

Retrieve the User Points Leaderboard

ENDPOINT
GET http://localhost:3000/v1/users/points/leaderboard?top=

URL Parameters


top Required

The maximum number of entries on the leaderboard to return.

Body Parameters


No parameters.

Returns

Returns a success status along with a list of objects with each containing a user's first name, last name, points, and discord after successful users points leaderboard retrieval. The data is returned in descending order of points. This call returns a success status and an error message if something goes wrong.