The addon detail page calls https://addons.mozilla.org/api/v5/addons/addon/{slug}/ but then has to call https://addons.mozilla.org/api/v5/ratings/rating/?addon={addonId}&show_grouped_ratings=true just for the group rating counts. Given this is a relatively small amount of data we could (optionally) return it with the add-on detail response. something like: https://addons.mozilla.org/api/v5/addons/addon/{slug}/?show_grouped_ratings=true
The addon detail page calls https://addons.mozilla.org/api/v5/addons/addon/{slug}/ but then has to call https://addons.mozilla.org/api/v5/ratings/rating/?addon={addonId}&show_grouped_ratings=true just for the group rating counts. Given this is a relatively small amount of data we could (optionally) return it with the add-on detail response.
something like:
https://addons.mozilla.org/api/v5/addons/addon/{slug}/?show_grouped_ratings=true