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 |
Returns the specified data source.
See: Fitness Reference for fitness.users.dataSources.get
.
- type UsersDataSourcesGetResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource))))))
- usersDataSourcesGet :: Text -> Text -> UsersDataSourcesGet
- data UsersDataSourcesGet
- udsgDataSourceId :: Lens' UsersDataSourcesGet Text
- udsgUserId :: Lens' UsersDataSourcesGet Text
REST Resource
type UsersDataSourcesGetResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DataSource)))))) Source #
A resource alias for fitness.users.dataSources.get
method which the
UsersDataSourcesGet
request conforms to.
Creating a Request
Creates a value of UsersDataSourcesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDataSourcesGet Source #
Returns the specified data source.
See: usersDataSourcesGet
smart constructor.
Request Lenses
udsgDataSourceId :: Lens' UsersDataSourcesGet Text Source #
The data stream ID of the data source to retrieve.
udsgUserId :: Lens' UsersDataSourcesGet Text Source #
Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.