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 |
List all of the comments for an activity.
See: Google+ API Reference for plus.comments.list
.
Synopsis
- type CommentsListResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "sortOrder" CommentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentFeed))))))))
- commentsList :: Text -> CommentsList
- data CommentsList
- clActivityId :: Lens' CommentsList Text
- clSortOrder :: Lens' CommentsList CommentsListSortOrder
- clPageToken :: Lens' CommentsList (Maybe Text)
- clMaxResults :: Lens' CommentsList Word32
REST Resource
type CommentsListResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("comments" :> (QueryParam "sortOrder" CommentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentFeed)))))))) Source #
A resource alias for plus.comments.list
method which the
CommentsList
request conforms to.
Creating a Request
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:
data CommentsList Source #
List all of the comments for an activity.
See: commentsList
smart constructor.
Instances
Request Lenses
clActivityId :: Lens' CommentsList Text Source #
The ID of the activity to get comments for.
clSortOrder :: Lens' CommentsList CommentsListSortOrder Source #
The order in which to sort the list of comments.
clPageToken :: Lens' CommentsList (Maybe Text) Source #
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.
clMaxResults :: Lens' CommentsList Word32 Source #
The maximum number of comments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.