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