addPost
- Home
- Blogs & Articles
- UgcBlog
- addPost
addPost
Submit a new blog post.
Parameters
Name | Description |
userID required | The user’s primary identifier. |
nodeID required | The primary identifier for your network. |
blogID required | The primary identifier for the user or group’s site. (Same as siteID) |
messageBody required | Message body of blog post. |
messageTitle required | Message title of blog post. |
categoryID optional | Category id of blog post. |
status required | Status. |
profanityFilter optional | Flag for profanity filtering for blog posts. |
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+2104413473&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":117102222 } } } |
Service Information
Service | ugcBlog |
Method | addPost |
Type | REST |
Response Types | JSON, XML |