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.Blogs.ListByUser

Contents

Description

Retrieves a list of blogs, possibly filtered.

See: Blogger API Reference for blogger.blogs.listByUser.

Synopsis

REST Resource

type BlogsListByUserResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (QueryParams "status" BlogsListByUserStatus :> (QueryParam "fetchUserInfo" Bool :> (QueryParams "role" BlogsListByUserRole :> (QueryParam "view" BlogsListByUserView :> (QueryParam "alt" AltJSON :> Get '[JSON] BlogList))))))))) Source #

A resource alias for blogger.blogs.listByUser method which the BlogsListByUser request conforms to.

Creating a Request

blogsListByUser Source #

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

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

data BlogsListByUser Source #

Retrieves a list of blogs, possibly filtered.

See: blogsListByUser smart constructor.

Instances
Eq BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Data BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Methods

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

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

toConstr :: BlogsListByUser -> Constr #

dataTypeOf :: BlogsListByUser -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Generic BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Associated Types

type Rep BlogsListByUser :: Type -> Type #

GoogleRequest BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Associated Types

type Rs BlogsListByUser :: Type #

type Scopes BlogsListByUser :: [Symbol] #

type Rep BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

type Rep BlogsListByUser = D1 (MetaData "BlogsListByUser" "Network.Google.Resource.Blogger.Blogs.ListByUser" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "BlogsListByUser'" PrefixI True) ((S1 (MetaSel (Just "_blbuStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [BlogsListByUserStatus]) :*: S1 (MetaSel (Just "_blbuFetchUserInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_blbuUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_blbuRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BlogsListByUserRole])) :*: S1 (MetaSel (Just "_blbuView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BlogsListByUserView))))))
type Scopes BlogsListByUser Source # 
Instance details

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

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

Defined in Network.Google.Resource.Blogger.Blogs.ListByUser

Request Lenses

blbuStatus :: Lens' BlogsListByUser [BlogsListByUserStatus] Source #

Blog statuses to include in the result (default: Live blogs only). Note that ADMIN access is required to view deleted blogs.

blbuFetchUserInfo :: Lens' BlogsListByUser (Maybe Bool) Source #

Whether the response is a list of blogs with per-user information instead of just blogs.

blbuUserId :: Lens' BlogsListByUser Text Source #

ID of the user whose blogs are to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.

blbuRole :: Lens' BlogsListByUser [BlogsListByUserRole] Source #

User access types for blogs to include in the results, e.g. AUTHOR will return blogs where the user has author level access. If no roles are specified, defaults to ADMIN and AUTHOR roles.

blbuView :: Lens' BlogsListByUser (Maybe BlogsListByUserView) Source #

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