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

Contents

Description

Get a post by ID.

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

Synopsis

REST Resource

type PostsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "fetchBody" Bool :> (QueryParam "fetchImages" Bool :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "view" PostsGetView :> (QueryParam "alt" AltJSON :> Get `[JSON]` Post')))))))))) Source

A resource alias for blogger.posts.get method which the PostsGet request conforms to.

Creating a Request

postsGet Source

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

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

Request Lenses

pggFetchBody :: Lens' PostsGet Bool Source

Whether the body content of the post is included (default: true). This should be set to false when the post bodies are not required, to help minimize traffic.

pggFetchImages :: Lens' PostsGet (Maybe Bool) Source

Whether image URL metadata for each post is included (default: false).

pggBlogId :: Lens' PostsGet Text Source

ID of the blog to fetch the post from.

pggMaxComments :: Lens' PostsGet (Maybe Word32) Source

Maximum number of comments to pull back on a post.

pggView :: Lens' PostsGet (Maybe PostsGetView) Source

Access level with which to view the returned result. Note that some fields require elevated access.

pggPostId :: Lens' PostsGet Text Source

The ID of the post