gogol-blogger-0.0.1: Google Blogger SDK.

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

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.