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