publishPost
- Home
- Forums
- UgcForumPost
- publishPost
publishPost
Publishes an inactive or draft forum post.
Parameters
| Name | Description |
| node_id required | Node ID the post belongs to. |
| post_id required | ID of a forum post. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/ugcForumPost?action=publishPost&node_id=188234&post_id=516738587&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 |
{ "service":"ugcForumPost", "action":"publishPost", "code":1, "message":"Post Successfully Activated.", "item":true } |
Service Information
| Service | ugcForumPost |
| Method | publishPost |
| Type | REST |
| Response Types | JSON, XML |