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 people in the specified collection for a particular activity.
See: Google+ API Reference for plus.people.listByActivity
.
Synopsis
- type PeopleListByActivityResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("people" :> (Capture "collection" PeopleListByActivityCollection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed))))))))
- peopleListByActivity :: Text -> PeopleListByActivityCollection -> PeopleListByActivity
- data PeopleListByActivity
- plbaActivityId :: Lens' PeopleListByActivity Text
- plbaCollection :: Lens' PeopleListByActivity PeopleListByActivityCollection
- plbaPageToken :: Lens' PeopleListByActivity (Maybe Text)
- plbaMaxResults :: Lens' PeopleListByActivity Word32
REST Resource
type PeopleListByActivityResource = "plus" :> ("v1" :> ("activities" :> (Capture "activityId" Text :> ("people" :> (Capture "collection" PeopleListByActivityCollection :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed)))))))) Source #
A resource alias for plus.people.listByActivity
method which the
PeopleListByActivity
request conforms to.
Creating a Request
Creates a value of PeopleListByActivity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleListByActivity Source #
List all of the people in the specified collection for a particular activity.
See: peopleListByActivity
smart constructor.
Instances
Request Lenses
plbaActivityId :: Lens' PeopleListByActivity Text Source #
The ID of the activity to get the list of people for.
plbaCollection :: Lens' PeopleListByActivity PeopleListByActivityCollection Source #
The collection of people to list.
plbaPageToken :: Lens' PeopleListByActivity (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.
plbaMaxResults :: Lens' PeopleListByActivity Word32 Source #
The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.