| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Blogger.Comments.Approve
Description
Marks a comment as not spam.
See: Blogger API Reference for blogger.comments.approve.
Synopsis
- type CommentsApproveResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("approve" :> (QueryParam "alt" AltJSON :> Post '[JSON] Comment)))))))))
- commentsApprove :: Text -> Text -> Text -> CommentsApprove
- data CommentsApprove
- caBlogId :: Lens' CommentsApprove Text
- caPostId :: Lens' CommentsApprove Text
- caCommentId :: Lens' CommentsApprove Text
REST Resource
type CommentsApproveResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("approve" :> (QueryParam "alt" AltJSON :> Post '[JSON] Comment))))))))) Source #
A resource alias for blogger.comments.approve method which the
CommentsApprove request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CommentsApprove |
Creates a value of CommentsApprove with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsApprove Source #
Marks a comment as not spam.
See: commentsApprove smart constructor.
Instances
Request Lenses
caCommentId :: Lens' CommentsApprove Text Source #
The ID of the comment to mark as not spam.