gogol-blogger-0.4.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 # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

Data PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

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 # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

Generic PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

Associated Types

type Rep PostsGetByPath :: Type -> Type #

GoogleRequest PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

Associated Types

type Rs PostsGetByPath :: Type #

type Scopes PostsGetByPath :: [Symbol] #

type Rep PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

type Rep PostsGetByPath = D1 (MetaData "PostsGetByPath" "Network.Google.Resource.Blogger.Posts.GetByPath" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PostsGetByPath'" PrefixI True) ((S1 (MetaSel (Just "_pgbpPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pgbpBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pgbpMaxComments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_pgbpView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PostsGetByPathView)))))
type Scopes PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

type Scopes PostsGetByPath = "https://www.googleapis.com/auth/blogger" ': ("https://www.googleapis.com/auth/blogger.readonly" ': ([] :: [Symbol]))
type Rs PostsGetByPath Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Posts.GetByPath

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.