blogs

Name Resource Description
Get posts GET api/2.0/community/blog Returns the list of all posts in blogs on the portal with the post title, date of creation and update, post text and author ID and display name
Get tags GET api/2.0/community/blog/tag Returns a list of all tags used with blog posts with the post title, date of creation and update, post text, author and all the tags used
Get my posts GET api/2.0/community/blog/@self Returns the list of all blog posts for the current user with the post title, date of creation and update, post text and author ID and display name
Get post GET api/2.0/community/blog/{postid} Returns the detailed information for the blog post with the ID specified in the request
Get posts by tag GET api/2.0/community/blog/tag/{tag} Returns a list of blog posts containing the specified tag with the post title, date of creation and update, post text and author
Get search posts GET api/2.0/community/blog/@search/{query} Returns a list of blog posts matching the search query with the post title, date of creation and update, post text and author
Get user posts GET api/2.0/community/blog/user/{username} Returns a list of blog posts of the specified user with the post title, date of creation and update and post text
Get comments GET api/2.0/community/blog/{postid}/comment Returns the list of all the comments for the blog post with the ID specified in the request
Create post POST api/2.0/community/blog Creates a blog post with the specified title, content, tags and subscription to comments defined in the request body
Add blog comment POST api/2.0/community/blog/comment
Get blog comment preview POST api/2.0/community/blog/comment/preview Get comment preview with the content specified in the request
Add comment POST api/2.0/community/blog/{postid}/comment Adds a comment to the specified post with the comment text specified. The parent comment ID can be also specified if needed.
Update post PUT api/2.0/community/blog/{postid} Updates the specified post changing the post title, content or/and tags specified
Update blog comment PUT api/2.0/community/blog/comment/{commentid}
Delete post DELETE api/2.0/community/blog/{postid} Deletes the selected post from blogs
Remove blog comment DELETE api/2.0/community/blog/comment/{commentid} Remove comment with the id specified in the request