Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the comments for a blog, across all posts, possibly filtered.
See: Blogger API Reference for blogger.comments.listByBlog
.
Synopsis
- 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)))))))))))
- commentsListByBlog :: Text -> CommentsListByBlog
- data CommentsListByBlog
- clbbStatus :: Lens' CommentsListByBlog [CommentsListByBlogStatus]
- clbbEndDate :: Lens' CommentsListByBlog (Maybe UTCTime)
- clbbBlogId :: Lens' CommentsListByBlog Text
- clbbStartDate :: Lens' CommentsListByBlog (Maybe UTCTime)
- clbbFetchBodies :: Lens' CommentsListByBlog (Maybe Bool)
- clbbPageToken :: Lens' CommentsListByBlog (Maybe Text)
- clbbMaxResults :: Lens' CommentsListByBlog (Maybe Word32)
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
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:
data CommentsListByBlog Source #
Retrieves the comments for a blog, across all posts, possibly filtered.
See: commentsListByBlog
smart constructor.
Instances
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.