Creates a single identifiable data point.
HTTP request
POST https://health.googleapis.com/v4/{parent=users/*/dataTypes/*}/dataPoints
The URL uses gRPC Transcoding syntax. To know more about valid error responses that can be thrown by this HTTP request, please refer to the service error catalog
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource name where the data point will be created. Format: |
Request body
The request body contains an instance of DataPoint.
Response body
If successful, the response body contains a newly created instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/googlehealth.activity_and_fitnesshttps://www.googleapis.com/auth/googlehealth.health_metrics_and_measurementshttps://www.googleapis.com/auth/googlehealth.locationhttps://www.googleapis.com/auth/googlehealth.nutritionhttps://www.googleapis.com/auth/googlehealth.sleep
For more information, see the OAuth 2.0 Overview.