We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The API (maybe add-on detail API?) needs to expose rating counts grouped by stars. It could look something like this (just an idea):
{ "slug": "some-addon", "ratings": { "count": 1913, "count_per_star": { "5": 1478, "4": 237, "3": 95, "2": 41, "1": 62, } } }
Here is how we will be rendering it in the UI:
The text was updated successfully, but these errors were encountered:
The reviews API already has a show_grouped_ratings parameter for this : http://addons-server.readthedocs.io/en/latest/topics/api/reviews.html
show_grouped_ratings
Is that enough for you ? It's not ideal for perf to have this in the add-on detail API.
Sorry, something went wrong.
Oh! I somehow totally forgot about that one. Thanks, I'll try it with that and see if I run into any issues.
No branches or pull requests
The API (maybe add-on detail API?) needs to expose rating counts grouped by stars. It could look something like this (just an idea):
Here is how we will be rendering it in the UI:
The text was updated successfully, but these errors were encountered: