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

Contents

Description

Add a page.

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

Synopsis

REST Resource

type PagesInsertResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("pages" :> (QueryParam "isDraft" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Page :> Post `[JSON]` Page))))))) Source

A resource alias for blogger.pages.insert method which the PagesInsert request conforms to.

Creating a Request

pagesInsert Source

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

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

Request Lenses

piIsDraft :: Lens' PagesInsert (Maybe Bool) Source

Whether to create the page as a draft (default: false).

piBlogId :: Lens' PagesInsert Text Source

ID of the blog to add the page to.

piPayload :: Lens' PagesInsert Page Source

Multipart request metadata.