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 |
Revert a published or scheduled post to draft state.
See: Blogger API Reference for blogger.posts.revert
.
Synopsis
- type PostsRevertResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("revert" :> (QueryParam "alt" AltJSON :> Post '[JSON] Post')))))))
- postsRevert :: Text -> Text -> PostsRevert
- data PostsRevert
- prBlogId :: Lens' PostsRevert Text
- prPostId :: Lens' PostsRevert Text
REST Resource
type PostsRevertResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("revert" :> (QueryParam "alt" AltJSON :> Post '[JSON] Post'))))))) Source #
A resource alias for blogger.posts.revert
method which the
PostsRevert
request conforms to.
Creating a Request
:: Text | |
-> Text | |
-> PostsRevert |
Creates a value of PostsRevert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PostsRevert Source #
Revert a published or scheduled post to draft state.
See: postsRevert
smart constructor.