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.Update

Contents

Description

Update a page.

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

Synopsis

REST Resource

type PagesUpdateResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (Capture "pageId" Text :> (QueryParam "revert" Bool :> (QueryParam "publish" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Page :> Put `[JSON]` Page))))))))) Source

A resource alias for blogger.pages.update method which the PagesUpdate request conforms to.

Creating a Request

pagesUpdate Source

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

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

Request Lenses

puuBlogId :: Lens' PagesUpdate Text Source

The ID of the Blog.

puuPageId :: Lens' PagesUpdate Text Source

The ID of the Page.

puuPayload :: Lens' PagesUpdate Page Source

Multipart request metadata.

puuRevert :: Lens' PagesUpdate (Maybe Bool) Source

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

puuPublish :: Lens' PagesUpdate (Maybe Bool) Source

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