gogol-blogger-0.0.1: Google Blogger SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Blogger.Pages.Patch

Contents

Description

Update a page. This method supports patch semantics.

See: Blogger API Reference for blogger.pages.patch.

Synopsis

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

pagesPatch Source

Creates a value of PagesPatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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.

ppRevert :: Lens' PagesPatch (Maybe Bool) Source

Whether a revert action should be performed when the page is updated (default: false).

ppPublish :: Lens' PagesPatch (Maybe Bool) Source

Whether a publish action should be performed when the page is updated (default: false).