Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Leaderboards Endpoint #227

Closed
Tracked by #238
TheTedder opened this issue Aug 11, 2024 · 1 comment · Fixed by #249
Closed
Tracked by #238

List Leaderboards Endpoint #227

TheTedder opened this issue Aug 11, 2024 · 1 comment · Fixed by #249
Assignees
Labels
enhancement New feature or request high priority
Milestone

Comments

@TheTedder
Copy link
Contributor

TheTedder commented Aug 11, 2024

GET /api/leaderboards.

This endpoint does not require authentication to access.

The server must return a 200 OK status.

The server must return a JSON response body containing an array of leaderboard objects that have the following fields:

  • Id: long
  • Name: string
  • Slug: string
  • Info: string?
  • CreatedAt: timestamp
  • UpdatedAt: timestamp?
  • DeletedAt: timestamp?

Leaderboards that are deleted must not be returned.

@TheTedder TheTedder added enhancement New feature or request high priority labels Aug 11, 2024
@TheTedder TheTedder added this to the MVP milestone Aug 11, 2024
@zysim
Copy link
Collaborator

zysim commented Sep 2, 2024

Endpoint already exists, and it returns the expected fields, plus Categories, which of course, is out of scope for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants