Ratings average
The ratings average API allows you to get the average ratings for all cards.
GET /v1/workshops/:workshop_id/ratings_average
Response
The response is an array of all cards with ratings. The id
is the id of the card, and the keys of criterium_average
hash are the id of criteria. The count
property is the number of ratings for this criterium, and average
is the average of ratings for all users.
200 OK
[
{
"id": "5007d396eb7abf319a000047",
"criterium_average": {
"5007d396eb7abf319a000048": {
"count": 7,
"average": 9
}
}
}
]