Uploaded image for project: 'CritiqueBrainz'
  1. CritiqueBrainz
  2. CB-427

Support entity endpoint in the API including average rating

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Web service
    • None

      For MusicBrainz display, it might be interesting to have a way to query the average rating for a CB entity. This is currently calculated for display on the CB website, but is not available on the API at all.

      Alastair mentioned that an average rating wouldn't quite match the /review endpoint since that isn't necessarily about a specific entity (it can also be all reviews by a user, for example). As such, it might make sense to have an /entity endpoint or even /artist, /release_group etc endpoints. If we ended up doing this, it might be useful for MusicBrainz purposes to also return the most recent and highest rated text reviews, along with a review count, to avoid the two separate /review calls we currently use.

            anshgoyal Ansh Goyal
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package