User-Item Interactions

List User Ratings

Lists all the ratings ever submitted by the given user.

get/{databaseId}/users/{userId}/ratings/

Path parameters

databaseIdstring required

ID of your database.

userIdstring required

ID of the user whose ratings are to be listed.

Response

Successful operation.

userIdstring required

User who submitted the rating

itemIdstring required

Rated item

ratingnumber double required

Rating rescaled to interval [-1.0,1.0], where -1.0 means the worst rating possible, 0.0 means neutral, and 1.0 means absolutely positive rating. For example, in the case of 5-star evaluations, rating = (numStars-3)/2 formula may be used for the conversion.

cascadeCreateboolean

Sets whether the given user/item should be created if not present in the database.

recommIdstring

If this rating is based on a recommendation request, recommId is the id of the clicked recommendation.

additionalDataobject

A dictionary of additional data for the interaction.

Changes