Comments: approve

  • The method approve marks a comment as not spam and requires authorization.

  • The HTTP request is a POST to a specific URL including blogId, postId, and commentId.

  • Required parameters for the request are blogId, commentId, and postId.

  • Authorization with the scope https://www.googleapis.com/auth/blogger is necessary.

  • A successful response returns a Comments resource without requiring a request body.

Requires authorization

Marks a comment as not spam. Try it now.

Request

HTTP request

POST https://www.googleapis.com/blogger/v3/blogs/blogId/posts/postId/comments/commentId/approve

Parameters

Parameter name Value Description
Required parameters
blogId string The Id of the Blog.
commentId string The ID of the comment to mark as not spam.
postId string The ID of the Post.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/blogger

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 APIs Explorer below to call this method on live data and see the response.