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

Contents

Description

Retrieve a Post by Path.

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

Synopsis

REST Resource

type PostsGetByPathResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> ("bypath" :> (QueryParam "path" Text :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "view" PostsGetByPathView :> (QueryParam "alt" AltJSON :> Get `[JSON]` Post'))))))))) Source

A resource alias for blogger.posts.getByPath method which the PostsGetByPath request conforms to.

Creating a Request

postsGetByPath Source

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

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

Request Lenses

pgbpPath :: Lens' PostsGetByPath Text Source

Path of the Post to retrieve.

pgbpBlogId :: Lens' PostsGetByPath Text Source

ID of the blog to fetch the post from.

pgbpMaxComments :: Lens' PostsGetByPath (Maybe Word32) Source

Maximum number of comments to pull back on a post.

pgbpView :: Lens' PostsGetByPath (Maybe PostsGetByPathView) Source

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