| Copyright | (c) 2015 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 |
Network.Google.Resource.Fitness.Users.DataSources.Get
Description
Returns a data source identified by a data stream ID.
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
Arguments
| :: Text | |
| -> Text | |
| -> UsersDataSourcesGet |
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 a data source identified by a data stream ID.
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.