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.Comments.ListByBlog

Contents

Description

Retrieves the comments for a blog, across all posts, possibly filtered.

See: Blogger API Reference for blogger.comments.listByBlog.

Synopsis

REST Resource

type CommentsListByBlogResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("comments" :> (QueryParams "status" CommentsListByBlogStatus :> (QueryParam "endDate" DateTime' :> (QueryParam "startDate" DateTime' :> (QueryParam "fetchBodies" Bool :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` CommentList))))))))))) Source

A resource alias for blogger.comments.listByBlog method which the CommentsListByBlog request conforms to.

Creating a Request

commentsListByBlog Source

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

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

Request Lenses

clbbEndDate :: Lens' CommentsListByBlog (Maybe UTCTime) Source

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

clbbBlogId :: Lens' CommentsListByBlog Text Source

ID of the blog to fetch comments from.

clbbStartDate :: Lens' CommentsListByBlog (Maybe UTCTime) Source

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

clbbFetchBodies :: Lens' CommentsListByBlog (Maybe Bool) Source

Whether the body content of the comments is included.

clbbPageToken :: Lens' CommentsListByBlog (Maybe Text) Source

Continuation token if request is paged.

clbbMaxResults :: Lens' CommentsListByBlog (Maybe Word32) Source

Maximum number of comments to include in the result.