Copyright | (c) 2015 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 |
Marks a comment as not spam.
See: Blogger API Reference for blogger.comments.approve
.
- 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
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.
Request Lenses
caBlogId :: Lens' CommentsApprove Text Source
The ID of the Blog.
caPostId :: Lens' CommentsApprove Text Source
The ID of the Post.
caCommentId :: Lens' CommentsApprove Text Source
The ID of the comment to mark as not spam.