incrementViews
- Home
- Blogs & Articles
- UgcBlog
- incrementViews
incrementViews
Increments the view count for a blog post.
Parameters
| Name | Description |
| postID required | Blog post ID. |
| output optional | The response output format. Accepts JSON and XML. |
Request Syntax
| https://services.onesite.com/rest/ugcBlog?action=addPost&nodeID=188234&userID=229928503&blogID=234714047&messageBody=%3Cb%3ETESTING%21%3C%2Fb%3E&messageTitle=Testing+Post%3A+1475264554&status=active&devkey=[devkey] |
JSON Response
|
1 2 3 4 5 6 7 8 9 10 11 |
{ "service":"ugcBlog", "action":"addPost", "code":1, "message":"Success", "item":{ "1":{ "post_id":117102224 } } } |
Service Information
| Service | ugcBlog |
| Method | incrementViews |
| Type | REST |
| Response Types | JSON, XML |