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 |
Provides a list of the authenticated user's contacts merged with any linked profiles.
See: Google People API Reference for people.people.connections.list
.
- type PeopleConnectionsListResource = "v1" :> (Capture "resourceName" Text :> ("connections" :> (QueryParam "syncToken" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "sortOrder" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListConnectionsResponse)))))))))))))))
- peopleConnectionsList :: Text -> PeopleConnectionsList
- data PeopleConnectionsList
- pclSyncToken :: Lens' PeopleConnectionsList (Maybe Text)
- pclXgafv :: Lens' PeopleConnectionsList (Maybe Text)
- pclUploadProtocol :: Lens' PeopleConnectionsList (Maybe Text)
- pclResourceName :: Lens' PeopleConnectionsList Text
- pclRequestMaskIncludeField :: Lens' PeopleConnectionsList (Maybe Text)
- pclPp :: Lens' PeopleConnectionsList Bool
- pclAccessToken :: Lens' PeopleConnectionsList (Maybe Text)
- pclUploadType :: Lens' PeopleConnectionsList (Maybe Text)
- pclSortOrder :: Lens' PeopleConnectionsList (Maybe Text)
- pclBearerToken :: Lens' PeopleConnectionsList (Maybe Text)
- pclPageToken :: Lens' PeopleConnectionsList (Maybe Text)
- pclPageSize :: Lens' PeopleConnectionsList (Maybe Int32)
- pclCallback :: Lens' PeopleConnectionsList (Maybe Text)
REST Resource
type PeopleConnectionsListResource = "v1" :> (Capture "resourceName" Text :> ("connections" :> (QueryParam "syncToken" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "sortOrder" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListConnectionsResponse))))))))))))))) Source #
A resource alias for people.people.connections.list
method which the
PeopleConnectionsList
request conforms to.
Creating a Request
peopleConnectionsList Source #
Creates a value of PeopleConnectionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleConnectionsList Source #
Provides a list of the authenticated user's contacts merged with any linked profiles.
See: peopleConnectionsList
smart constructor.
Request Lenses
pclSyncToken :: Lens' PeopleConnectionsList (Maybe Text) Source #
A sync token, returned by a previous call to `people.connections.list`. Only resources changed since the sync token was created are returned.
pclUploadProtocol :: Lens' PeopleConnectionsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pclResourceName :: Lens' PeopleConnectionsList Text Source #
The resource name to return connections for. Only `people/me` is valid.
pclRequestMaskIncludeField :: Lens' PeopleConnectionsList (Maybe Text) Source #
Comma-separated list of fields to be included in the response. Omitting this field will include all fields. Each path should start with `person.`: for example, `person.names` or `person.photos`.
pclAccessToken :: Lens' PeopleConnectionsList (Maybe Text) Source #
OAuth access token.
pclUploadType :: Lens' PeopleConnectionsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pclSortOrder :: Lens' PeopleConnectionsList (Maybe Text) Source #
The order in which the connections should be sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
pclBearerToken :: Lens' PeopleConnectionsList (Maybe Text) Source #
OAuth bearer token.
pclPageToken :: Lens' PeopleConnectionsList (Maybe Text) Source #
The token of the page to be returned.
pclPageSize :: Lens' PeopleConnectionsList (Maybe Int32) Source #
The number of connections to include in the response. Valid values are between 1 and 500, inclusive. Defaults to 100.
pclCallback :: Lens' PeopleConnectionsList (Maybe Text) Source #
JSONP