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 |
Network.Google.Resource.Blogger.Comments.Delete
Description
Delete a comment by ID.
See: Blogger API Reference for blogger.comments.delete
.
- type CommentsDeleteResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))))))
- commentsDelete :: Text -> Text -> Text -> CommentsDelete
- data CommentsDelete
- cdBlogId :: Lens' CommentsDelete Text
- cdPostId :: Lens' CommentsDelete Text
- cdCommentId :: Lens' CommentsDelete Text
REST Resource
type CommentsDeleteResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))))))) Source
A resource alias for blogger.comments.delete
method which the
CommentsDelete
request conforms to.
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> CommentsDelete |
Creates a value of CommentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
cdBlogId :: Lens' CommentsDelete Text Source
The ID of the Blog.
cdPostId :: Lens' CommentsDelete Text Source
The ID of the Post.
cdCommentId :: Lens' CommentsDelete Text Source
The ID of the comment to delete.