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

Endpoint to get the list of top contributors #104

Closed
raphodn opened this issue Dec 26, 2023 · 1 comment · Fixed by #143 or #147
Closed

Endpoint to get the list of top contributors #104

raphodn opened this issue Dec 26, 2023 · 1 comment · Fixed by #143 or #147
Labels

Comments

@raphodn
Copy link
Member

raphodn commented Dec 26, 2023

Story

It would interesting to display the list of contributors, ranked by number of prices added.

For this, we need:

  • an endpoint on the User model
  • a price_count field that calculates the number of prices added (real-time ? or updated every night ?)
@raphodn
Copy link
Member Author

raphodn commented Jan 16, 2024

Now available ! /users?price_count__gte=1&order_by-price_count

@raphodn raphodn closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant