editPost
- Home
- Blogs & Articles
- UgcBlog
- editPost
editPost
Edits a blog post via service, using a post_id for the reference. Also checks for blog ownership via core_u and core_x.
Parameters
Name | Description |
postID required | Blog post ID. |
xrefID optional | The xref id of the content that is being referenced ~ this id is equivilent to content’s specific identifier; I.E.: video_id,photo_id,etc… |
contentID optional | The content id of the content that is being referenced. |
userID optional | The user’s primary identifier. |
nodeID optional | The primary identifier for your network. |
blogID optional | The primary identifier for the user or group’s site. (Same as siteID) |
messageBody optional | Message body of blog post. |
messageTitle optional | Message title of blog post. |
categoryID optional | Category id of blog post. |
status optional | 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+1077037958&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":117102223 } } } |
Service Information
Service | ugcBlog |
Method | editPost |
Type | REST |
Response Types | JSON, XML |