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 |
Delete the data source if there are no datapoints associated with it
See: Fitness Reference for fitness.users.dataSources.delete
.
- type UsersDataSourcesDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` DataSource))))))
- usersDataSourcesDelete :: Text -> Text -> UsersDataSourcesDelete
- data UsersDataSourcesDelete
- udsdDataSourceId :: Lens' UsersDataSourcesDelete Text
- udsdUserId :: Lens' UsersDataSourcesDelete Text
REST Resource
type UsersDataSourcesDeleteResource = "fitness" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("dataSources" :> (Capture "dataSourceId" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` DataSource)))))) Source
A resource alias for fitness.users.dataSources.delete
method which the
UsersDataSourcesDelete
request conforms to.
Creating a Request
Creates a value of UsersDataSourcesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UsersDataSourcesDelete Source
Delete the data source if there are no datapoints associated with it
See: usersDataSourcesDelete
smart constructor.
Request Lenses
udsdDataSourceId :: Lens' UsersDataSourcesDelete Text Source
The data stream ID of the data source to delete.
udsdUserId :: Lens' UsersDataSourcesDelete Text Source
Retrieve a data source for the person identified. Use me to indicate the authenticated user. Only me is supported at this time.