rateComment
- Home
- Commenting
- UgcDiscussion
- rateComment
rateComment
Rate a comment.
Parameters
Name | Description |
nodeID required | Node of content we are working with. |
commentID required | ID of comment (post) to work with. |
rating required | Rating to give a comment. |
userID optional | User we are working with. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcDiscussion?action=rateComment&nodeID=188234&userID=229928503&rating=10&commentID=157882341&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcDiscussion", "action":"rateComment", "code":1, "message":"Comment successfully rated.", "item":7.5 } |
Service Information
Service | ugcDiscussion |
Method | rateComment |
Type | REST |
Response Types | JSON, XML |