gogol-blogger-0.3.0: Google Blogger SDK.

Copyright(c) 2015-2016 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:

data PostsGetByPath Source #

Retrieve a Post by Path.

See: postsGetByPath smart constructor.

Instances

Eq PostsGetByPath Source # 
Data PostsGetByPath Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PostsGetByPath -> c PostsGetByPath #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PostsGetByPath #

toConstr :: PostsGetByPath -> Constr #

dataTypeOf :: PostsGetByPath -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PostsGetByPath) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PostsGetByPath) #

gmapT :: (forall b. Data b => b -> b) -> PostsGetByPath -> PostsGetByPath #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PostsGetByPath -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PostsGetByPath -> r #

gmapQ :: (forall d. Data d => d -> u) -> PostsGetByPath -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PostsGetByPath -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PostsGetByPath -> m PostsGetByPath #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PostsGetByPath -> m PostsGetByPath #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PostsGetByPath -> m PostsGetByPath #

Show PostsGetByPath Source # 
Generic PostsGetByPath Source # 

Associated Types

type Rep PostsGetByPath :: * -> * #

GoogleRequest PostsGetByPath Source # 
type Rep PostsGetByPath Source # 
type Rep PostsGetByPath = D1 (MetaData "PostsGetByPath" "Network.Google.Resource.Blogger.Posts.GetByPath" "gogol-blogger-0.3.0-BS58SVsiFJLCdRODXPa5ak" False) (C1 (MetaCons "PostsGetByPath'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pgbpPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_pgbpBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pgbpMaxComments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_pgbpView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PostsGetByPathView))))))
type Scopes PostsGetByPath Source # 
type Scopes PostsGetByPath = (:) Symbol "https://www.googleapis.com/auth/blogger" ((:) Symbol "https://www.googleapis.com/auth/blogger.readonly" ([] Symbol))
type Rs PostsGetByPath Source # 

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.