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

Contents

Description

Update a post.

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

Synopsis

REST Resource

type PostsUpdateResource = "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' :> Put `[JSON]` Post')))))))))))) Source

A resource alias for blogger.posts.update method which the PostsUpdate request conforms to.

Creating a Request

postsUpdate Source

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

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

Request Lenses

puFetchBody :: Lens' PostsUpdate Bool Source

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

puFetchImages :: Lens' PostsUpdate (Maybe Bool) Source

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

puBlogId :: Lens' PostsUpdate Text Source

The ID of the Blog.

puPayload :: Lens' PostsUpdate Post' Source

Multipart request metadata.

puMaxComments :: Lens' PostsUpdate (Maybe Word32) Source

Maximum number of comments to retrieve with the returned post.

puRevert :: Lens' PostsUpdate (Maybe Bool) Source

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

puPostId :: Lens' PostsUpdate Text Source

The ID of the Post.

puPublish :: Lens' PostsUpdate (Maybe Bool) Source

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