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