editPost
- Home
- Forums
- UgcForumPost
- editPost
editPost
Edits a forum post.
Parameters
Name | Description |
post_id required | ID of a forum post. |
user_id required | ID of the user performing an action. |
user_relation required | User relation of the user performing an action. |
node_id optional | Node ID the post belongs to. |
post_content optional | Content (main body) of the forum post. |
disable_html optional | Option to allow or remove inputted html. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/ugcForumPost?action=editPost&post_id=516738587&user_id=143593317&user_relation=owner&post_content=This is my edited post body content…&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 |
{ "service":"ugcForumPost", "action":"editPost", "code":1, "message":"Post Successfully Updated.", "item":false } |
Service Information
Service | ugcForumPost |
Method | editPost |
Type | REST |
Response Types | JSON, XML |