Comments: list

Retrieves the list of Comments for a Post. Try it now.

Authentication is required if the comments are on a blog that is private. If the comments are on a blog that is public, then this method can be called without authentication.

Request

HTTP Request

GET https://www.googleapis.com/blogger/v2/blogs/blogId/posts/postId/comments

Parameters

Parameter Name Value Description
Required Parameters
blogId string ID of the blog to fetch comments from.
postId string ID of the post to fetch posts from.
Optional Parameters
fetchBodies boolean Whether the body content of the comments is included.
maxResults unsigned integer Maximum number of comments to include in the result.
pageToken string Continuation token if request is paged.
startDate datetime Earliest date of comment to fetch, a date-time with RFC 3339 formatting.

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "blogger#commentList",
  "nextPageToken": string,
  "prevPageToken": string,
  "items": [
    comments Resource
  ]
}
Property Name Value Description Notes
kind string The kind of this entry. Always blogger#commentList.
nextPageToken string Pagination token to fetch the next page, if one exists.
prevPageToken string Pagination token to fetch the previous page, if one exists.
items[] list The list of Comments Resources for the specified post.

Try It!

Use the explorer below to call this method on live data and see the response.