gogol-blogger-0.1.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.PostUserInfos.List

Contents

Description

Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.

See: Blogger API Reference for blogger.postUserInfos.list.

Synopsis

REST Resource

type PostUserInfosListResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (QueryParams "status" PostUserInfosListStatus :> (QueryParam "orderBy" PostUserInfosListOrderBy :> (QueryParam "endDate" DateTime' :> (QueryParam "startDate" DateTime' :> (QueryParam "fetchBodies" Bool :> (QueryParam "view" PostUserInfosListView :> (QueryParam "labels" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PostUserInfosList)))))))))))))))) Source #

A resource alias for blogger.postUserInfos.list method which the PostUserInfosList' request conforms to.

Creating a Request

postUserInfosList' Source #

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

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

data PostUserInfosList' Source #

Retrieves a list of post and post user info pairs, possibly filtered. The post user info contains per-user information about the post, such as access rights, specific to the user.

See: postUserInfosList' smart constructor.

Instances

Eq PostUserInfosList' Source # 
Data PostUserInfosList' Source # 

Methods

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

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

toConstr :: PostUserInfosList' -> Constr #

dataTypeOf :: PostUserInfosList' -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PostUserInfosList' Source # 
Generic PostUserInfosList' Source # 
GoogleRequest PostUserInfosList' Source # 
type Rep PostUserInfosList' Source # 
type Rep PostUserInfosList' = D1 (MetaData "PostUserInfosList'" "Network.Google.Resource.Blogger.PostUserInfos.List" "gogol-blogger-0.1.0-BO8GjbI5Esh5jlPppORYc1" False) (C1 (MetaCons "PostUserInfosList''" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_puilStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PostUserInfosListStatus]))) (S1 (MetaSel (Just Symbol "_puilOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 PostUserInfosListOrderBy))) ((:*:) (S1 (MetaSel (Just Symbol "_puilEndDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) ((:*:) (S1 (MetaSel (Just Symbol "_puilBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_puilUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_puilStartDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DateTime'))) ((:*:) (S1 (MetaSel (Just Symbol "_puilFetchBodies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_puilView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PostUserInfosListView))))) ((:*:) (S1 (MetaSel (Just Symbol "_puilLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_puilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_puilMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))))
type Scopes PostUserInfosList' Source # 
type Scopes PostUserInfosList' = (:) Symbol "https://www.googleapis.com/auth/blogger" ((:) Symbol "https://www.googleapis.com/auth/blogger.readonly" ([] Symbol))
type Rs PostUserInfosList' Source # 

Request Lenses

puilOrderBy :: Lens' PostUserInfosList' PostUserInfosListOrderBy Source #

Sort order applied to search results. Default is published.

puilEndDate :: Lens' PostUserInfosList' (Maybe UTCTime) Source #

Latest post date to fetch, a date-time with RFC 3339 formatting.

puilBlogId :: Lens' PostUserInfosList' Text Source #

ID of the blog to fetch posts from.

puilUserId :: Lens' PostUserInfosList' Text Source #

ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.

puilStartDate :: Lens' PostUserInfosList' (Maybe UTCTime) Source #

Earliest post date to fetch, a date-time with RFC 3339 formatting.

puilFetchBodies :: Lens' PostUserInfosList' Bool Source #

Whether the body content of posts is included. Default is false.

puilView :: Lens' PostUserInfosList' (Maybe PostUserInfosListView) Source #

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

puilLabels :: Lens' PostUserInfosList' (Maybe Text) Source #

Comma-separated list of labels to search for.

puilPageToken :: Lens' PostUserInfosList' (Maybe Text) Source #

Continuation token if the request is paged.

puilMaxResults :: Lens' PostUserInfosList' (Maybe Word32) Source #

Maximum number of posts to fetch.