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 |
Publishes a draft page.
See: Blogger API Reference for blogger.pages.publish
.
Synopsis
- type PagesPublishResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> ("publish" :> (QueryParam "alt" AltJSON :> Post '[JSON] Page)))))))
- pagesPublish :: Text -> Text -> PagesPublish
- data PagesPublish
- pagaBlogId :: Lens' PagesPublish Text
- pagaPageId :: Lens' PagesPublish Text
REST Resource
type PagesPublishResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> ("publish" :> (QueryParam "alt" AltJSON :> Post '[JSON] Page))))))) Source #
A resource alias for blogger.pages.publish
method which the
PagesPublish
request conforms to.
Creating a Request
Creates a value of PagesPublish
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PagesPublish Source #
Publishes a draft page.
See: pagesPublish
smart constructor.
Instances
Request Lenses
pagaBlogId :: Lens' PagesPublish Text Source #
The ID of the blog.
pagaPageId :: Lens' PagesPublish Text Source #
The ID of the page.