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

Contents

Description

Retrieves the comments for a post, possibly filtered.

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

Synopsis

REST Resource

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

A resource alias for blogger.comments.list method which the CommentsList request conforms to.

Creating a Request

commentsList Source

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

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

Request Lenses

clEndDate :: Lens' CommentsList (Maybe UTCTime) Source

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

clBlogId :: Lens' CommentsList Text Source

ID of the blog to fetch comments from.

clStartDate :: Lens' CommentsList (Maybe UTCTime) Source

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

clFetchBodies :: Lens' CommentsList (Maybe Bool) Source

Whether the body content of the comments is included.

clView :: Lens' CommentsList (Maybe CommentsListView) Source

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

clPostId :: Lens' CommentsList Text Source

ID of the post to fetch posts from.

clPageToken :: Lens' CommentsList (Maybe Text) Source

Continuation token if request is paged.

clMaxResults :: Lens' CommentsList (Maybe Word32) Source

Maximum number of comments to include in the result.