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

Contents

Description

Search for a post.

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

Synopsis

REST Resource

type PostsSearchResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> ("search" :> (QueryParam "q" Text :> (QueryParam "orderBy" PostsSearchOrderBy :> (QueryParam "fetchBodies" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] PostList))))))))) Source #

A resource alias for blogger.posts.search method which the PostsSearch request conforms to.

Creating a Request

postsSearch Source #

Arguments

:: Text

psBlogId

-> Text

psQ

-> PostsSearch 

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

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

data PostsSearch Source #

Search for a post.

See: postsSearch smart constructor.

Instances
Eq PostsSearch Source # 
Instance details

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

Data PostsSearch Source # 
Instance details

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

Methods

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

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

toConstr :: PostsSearch -> Constr #

dataTypeOf :: PostsSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PostsSearch Source # 
Instance details

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

Generic PostsSearch Source # 
Instance details

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

Associated Types

type Rep PostsSearch :: Type -> Type #

GoogleRequest PostsSearch Source # 
Instance details

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

Associated Types

type Rs PostsSearch :: Type #

type Scopes PostsSearch :: [Symbol] #

type Rep PostsSearch Source # 
Instance details

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

type Rep PostsSearch = D1 (MetaData "PostsSearch" "Network.Google.Resource.Blogger.Posts.Search" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "PostsSearch'" PrefixI True) ((S1 (MetaSel (Just "_psOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PostsSearchOrderBy) :*: S1 (MetaSel (Just "_psBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_psQ") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_psFetchBodies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Scopes PostsSearch Source # 
Instance details

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

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

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

Request Lenses

psBlogId :: Lens' PostsSearch Text Source #

ID of the blog to fetch the post from.

psQ :: Lens' PostsSearch Text Source #

Query terms to search this blog for matching posts.

psFetchBodies :: Lens' PostsSearch Bool Source #

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