AI-generated Key Takeaways
-
Support for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring applications to update to the latest API version for continued functionality.
-
This API retrieves a specific comment by its ID, requiring authentication only for comments on private blogs.
-
The request requires the blog ID, comment ID, and post ID as parameters, without a request body.
-
A successful response returns a Comments resource containing information about the retrieved comment.
Important: We will discontinue support for the v2.0 JSON API on September 30th, 2024. To ensure continued functionality, update your applications that rely on the v2.0 JSON API to the latest API version. For the latest version, use the links in the left-side navbar.
Retrieves one Comments Resource by its
Authentication is required if the comment is on a blog that is private. If the comment is 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/commentId
Parameters
Parameter Name | Value | Description |
---|---|---|
Required Parameters | ||
blogId |
string |
ID of the blog to containing the comment. |
commentId |
string |
The ID of the comment to get. |
postId |
string |
ID of the post to fetch posts from. |
Request Body
Do not supply a request body with this method.
Response
If successful, this method returns a Comments resource in the response body.
Try It!
Use the explorer below to call this method on live data and see the response.