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 |
Delete a post by ID.
See: Blogger API Reference for blogger.posts.delete
.
Synopsis
- type PostsDeleteResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))))
- postsDelete :: Text -> Text -> PostsDelete
- data PostsDelete
- pdBlogId :: Lens' PostsDelete Text
- pdPostId :: Lens' PostsDelete Text
REST Resource
type PostsDeleteResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))))) Source #
A resource alias for blogger.posts.delete
method which the
PostsDelete
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> PostsDelete |
Creates a value of PostsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PostsDelete Source #
Delete a post by ID.
See: postsDelete
smart constructor.