mentity
# Get the ratings of a `mentity`
fun ratings(config: NitwebConfig, user: nullable String): JsonObject do
var match = new JsonObject
match["mentity"] = full_name
match["ratings"] = new JsonArray.from(config.stars.find_all(match))
match["feature"] = ratings_by_dimension(config, "feature", user)
match["doc"] = ratings_by_dimension(config, "doc", user)
match["examples"] = ratings_by_dimension(config, "examples", user)
match["code"] = ratings_by_dimension(config, "code", user)
return match
end
src/doc/api/api_feedback.nit:235,2--245,4