gogol-fitness-0.0.1: Google Fitness SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Fitness.Users.DataSources.List

Contents

Description

Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive: the user may have private data sources that are only visible to other developers or calls using other scopes.

See: Fitness Reference for fitness.users.dataSources.list.

Synopsis

REST Resource

type UsersDataSourcesListResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (QueryParams "dataTypeName" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` ListDataSourcesResponse)))))) Source

A resource alias for fitness.users.dataSources.list method which the UsersDataSourcesList request conforms to.

Creating a Request

usersDataSourcesList Source

Creates a value of UsersDataSourcesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersDataSourcesList Source

Lists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive: the user may have private data sources that are only visible to other developers or calls using other scopes.

See: usersDataSourcesList smart constructor.

Request Lenses

udslDataTypeName :: Lens' UsersDataSourcesList [Text] Source

The names of data types to include in the list. If not specified, all data sources will be returned.

udslUserId :: Lens' UsersDataSourcesList Text Source

List data sources for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.