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 |
Update a page. This method supports patch semantics.
See: Blogger API Reference for blogger.pages.patch
.
- type PagesPatchResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> (QueryParam "revert" Bool :> (QueryParam "publish" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Page :> Patch `[JSON]` Page)))))))))
- pagesPatch :: Text -> Text -> Page -> PagesPatch
- data PagesPatch
- ppBlogId :: Lens' PagesPatch Text
- ppPageId :: Lens' PagesPatch Text
- ppPayload :: Lens' PagesPatch Page
- ppRevert :: Lens' PagesPatch (Maybe Bool)
- ppPublish :: Lens' PagesPatch (Maybe Bool)
REST Resource
type PagesPatchResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> (QueryParam "revert" Bool :> (QueryParam "publish" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Page :> Patch `[JSON]` Page))))))))) Source
A resource alias for blogger.pages.patch
method which the
PagesPatch
request conforms to.
Creating a Request
data PagesPatch Source
Update a page. This method supports patch semantics.
See: pagesPatch
smart constructor.
Request Lenses
ppBlogId :: Lens' PagesPatch Text Source
The ID of the Blog.
ppPageId :: Lens' PagesPatch Text Source
The ID of the Page.
ppPayload :: Lens' PagesPatch Page Source
Multipart request metadata.