AI-generated Key Takeaways
-
Support for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring updates to applications using it.
-
This method retrieves a single Comments Resource by its ID using a GET request.
-
Authentication is required for private blogs but not for public blogs when using this method.
-
Required parameters for the request include
blogId
,commentId
, andpostId
. -
A successful request returns a Comments resource in the response body.
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.