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 |
Removes the content of a comment.
See: Blogger API Reference for blogger.comments.removeContent
.
- type CommentsRemoveContentResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("removecontent" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Comment)))))))))
- commentsRemoveContent :: Text -> Text -> Text -> CommentsRemoveContent
- data CommentsRemoveContent
- crcBlogId :: Lens' CommentsRemoveContent Text
- crcPostId :: Lens' CommentsRemoveContent Text
- crcCommentId :: Lens' CommentsRemoveContent Text
REST Resource
type CommentsRemoveContentResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("removecontent" :> (QueryParam "alt" AltJSON :> Post `[JSON]` Comment))))))))) Source
A resource alias for blogger.comments.removeContent
method which the
CommentsRemoveContent
request conforms to.
Creating a Request
Creates a value of CommentsRemoveContent
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsRemoveContent Source
Removes the content of a comment.
See: commentsRemoveContent
smart constructor.
Request Lenses
crcBlogId :: Lens' CommentsRemoveContent Text Source
The ID of the Blog.
crcPostId :: Lens' CommentsRemoveContent Text Source
The ID of the Post.
crcCommentId :: Lens' CommentsRemoveContent Text Source
The ID of the comment to delete content from.