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

Contents

Description

Publishes a draft post, optionally at the specific time of the given publishDate parameter.

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

Synopsis

REST Resource

type PostsPublishResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("publish" :> (QueryParam "publishDate" DateTime' :> (QueryParam "alt" AltJSON :> Post `[JSON]` Post')))))))) Source

A resource alias for blogger.posts.publish method which the PostsPublish request conforms to.

Creating a Request

postsPublish Source

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

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

data PostsPublish Source

Publishes a draft post, optionally at the specific time of the given publishDate parameter.

See: postsPublish smart constructor.

Request Lenses

pppPublishDate :: Lens' PostsPublish (Maybe UTCTime) Source

Optional date and time to schedule the publishing of the Blog. If no publishDate parameter is given, the post is either published at the a previously saved schedule date (if present), or the current time. If a future date is given, the post will be scheduled to be published.

pppBlogId :: Lens' PostsPublish Text Source

The ID of the Blog.

pppPostId :: Lens' PostsPublish Text Source

The ID of the Post.