ExportXMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: Web service
    • None

      Hi there,

      I am building an app that displays critiquebrainz reviews, and would like to build some kind of bar chart graphs that displays the numbers of reviews per rating value, similar to imdb:

      For that, I would need an endpoint that returns the stats for a given an entity_id:

      {
        "average_rating":{"count":1,"rating":4.0},
        "stats": {
           "1": 45,  // Number of reviews with rating 1
           "2": 123, // Number of reviews with rating 2
           "3": 432, // Number of reviews with rating 3
           "4": 654, // Number of reviews with rating 4
           "5": 234  // Number of reviews with rating 5
        }
      }
      

            Assignee:
            Unassigned
            Reporter:
            xeitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package