userRatings
- Home
- Commenting
- UgcDiscussion
- userRatings
userRatings
Get all ratings made by a user.
Parameters
Name | Description |
nodeID required | Node of content we are working with. |
userID required | User we are working with. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcDiscussion?action=userRatings&nodeID=188234&userID=229928503&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
{ "service":"ugcDiscussion", "action":"userRatings", "code":1, "message":"User ratings retrieved.", "item":[ { "commentID":"157882302", "rating":"10", "dateRated":"2019-02-07 14:42:43" }, { "commentID":"157882397", "rating":"10", "dateRated":"2019-02-07 15:24:35" } ] } |
Service Information
Service | ugcDiscussion |
Method | userRatings |
Type | REST |
Response Types | JSON, XML |