API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Blogs
  2. Comments
  3. Pages
  4. Posts
  5. Users
  6. BlogUserInfos
  7. PageViews
  8. PostUserInfos

Blogs

For Blogs Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
get GET  /blogs/blogId Retrieves a blog by its ID.
getByUrl GET  /blogs/byurl Retrieves a blog by URL.
listByUser GET  /users/userId/blogs Retrieves a list of blogs.

Comments

For Comments Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
list GET  /blogs/blogId/posts/postId/comments Retrieves the list of comments for a post.
get GET  /blogs/blogId/posts/postId/comments/commentId Retrieves one comment resource by its commentId.
approve POST  /blogs/blogId/posts/postId/comments/commentId/approve Marks a comment as not spam.
delete DELETE  /blogs/blogId/posts/postId/comments/commentId Delete a comment by ID.
listByBlog GET  /blogs/blogId/comments Retrieves the comments for a blog, across all posts, possibly filtered.
markAsSpam POST  /blogs/blogId/posts/postId/comments/commentId/spam Marks a comment as spam. This will set the status of the comment to spam, and hide it in the default comment rendering.
removeContent POST  /blogs/blogId/posts/postId/comments/commentId/removecontent Removes the content of a comment.

Pages

For Pages Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
list GET  /blogs/blogId/pages Retrieves the list of pages for a blog.
get GET  /blogs/blogId/pages/pageId Retrieves one pages resource by its page ID.
delete DELETE  /blogs/blogId/pages/pageId Delete a page by ID.
insert POST  /blogs/blogId/pages Add a page.
patch PATCH  /blogs/blogId/pages/pageId Update a page. This method supports patch semantics.
update PUT  /blogs/blogId/pages/pageId Update a page.

Posts

For Posts Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
list GET  /blogs/blogId/posts Retrieves a list of posts.
get GET  /blogs/blogId/posts/postId Retrieves one post by post ID.
search GET  /blogs/blogId/posts/search Searches for a post that matches the given query terms.
insert POST  /blogs/blogId/posts Adds a post.
delete DELETE  /blogs/blogId/posts/postId Deletes a post by ID.
getByPath GET  /blogs/blogId/posts/bypath Retrieves a post by path.
patch PATCH  /blogs/blogId/posts/postId Updates a post. This method supports patch semantics.
update PUT  /blogs/blogId/posts/postId Updates a post.
publish POST  /blogs/blogId/posts/postId/publish Publish a draft post.
revert POST  /blogs/blogId/posts/postId/revert Revert a published or scheduled post to draft state, which removes the post from the publicly viewable content.

Users

For Users Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
get GET  /users/userId Retrieves a user by user ID.

BlogUserInfos

For BlogUserInfos Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
get GET  /users/userId/blogs/blogId Gets one blog and user info pair by blogId and userId.

PageViews

For PageViews Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
get GET  /blogs/blogId/pageviews Retrieve pageview stats for a Blog.

PostUserInfos

For PostUserInfos Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/blogger/v3, unless otherwise noted
get GET  /users/userId/blogs/blogId/posts/postId Gets one post and user info pair by postId and userId.
list GET  /users/userId/blogs/blogId/posts Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.