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.Posts.Patch

Contents

Description

Update a post. This method supports patch semantics.

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

Synopsis

REST Resource

type PostsPatchResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "fetchBody" Bool :> (QueryParam "fetchImages" Bool :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "revert" Bool :> (QueryParam "publish" Bool :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Post' :> Patch `[JSON]` Post')))))))))))) Source

A resource alias for blogger.posts.patch method which the PostsPatch request conforms to.

Creating a Request

postsPatch Source

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

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

data PostsPatch Source

Update a post. This method supports patch semantics.

See: postsPatch smart constructor.

Request Lenses

posoFetchBody :: Lens' PostsPatch Bool Source

Whether the body content of the post is included with the result (default: true).

posoFetchImages :: Lens' PostsPatch (Maybe Bool) Source

Whether image URL metadata for each post is included in the returned result (default: false).

posoBlogId :: Lens' PostsPatch Text Source

The ID of the Blog.

posoPayload :: Lens' PostsPatch Post' Source

Multipart request metadata.

posoMaxComments :: Lens' PostsPatch (Maybe Word32) Source

Maximum number of comments to retrieve with the returned post.

posoRevert :: Lens' PostsPatch (Maybe Bool) Source

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

posoPostId :: Lens' PostsPatch Text Source

The ID of the Post.

posoPublish :: Lens' PostsPatch (Maybe Bool) Source

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