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 activities in the specified collection for a particular user.
See: Google+ API Reference for plus.activities.list
.
Synopsis
- type ActivitiesListResource = "plus" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("activities" :> (Capture "collection" ActivitiesListCollection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed))))))))
- activitiesList :: ActivitiesListCollection -> Text -> ActivitiesList
- data ActivitiesList
- alCollection :: Lens' ActivitiesList ActivitiesListCollection
- alUserId :: Lens' ActivitiesList Text
- alPageToken :: Lens' ActivitiesList (Maybe Text)
- alMaxResults :: Lens' ActivitiesList Word32
REST Resource
type ActivitiesListResource = "plus" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("activities" :> (Capture "collection" ActivitiesListCollection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed)))))))) Source #
A resource alias for plus.activities.list
method which the
ActivitiesList
request conforms to.
Creating a Request
Creates a value of ActivitiesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ActivitiesList Source #
List all of the activities in the specified collection for a particular user.
See: activitiesList
smart constructor.
Instances
Request Lenses
alCollection :: Lens' ActivitiesList ActivitiesListCollection Source #
The collection of activities to list.
alUserId :: Lens' ActivitiesList Text Source #
The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user.
alPageToken :: Lens' ActivitiesList (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.
alMaxResults :: Lens' ActivitiesList Word32 Source #
The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.