Get the blood oxygen measurement from a specific point in time.
Returns the latest blood oxygen reading
GET https://api.humanapi.co/v1/human/blood_oxygen
Returns all blood oxygen readings
GET https://api.humanapi.co/v1/human/blood_oxygen/readings
# Returns a json object of blood oxygen:
{
"id": "54d1f018810a5ba429951b07",
"userId": "52e20cb2fff56aac62000001",
"timestamp": "2015-01-26T06:58:37.000Z",
"tzOffset": "-07:00",
"value": 99,
"unit": "SpO2(%)",
"source": "withings",
"sourceData": {},
"createdAt": "2015-02-04T10:10:32.691Z",
"updatedAt": "2015-02-04T10:10:32.691Z",
"humanId": "5dc2527186aaf9de560e5841f1a44bd6"
}
# Get latest blood oxygen measurement associated with the user
curl -H "Authorization: Bearer demo" "https://api.humanapi.co/v1/human/blood_oxygen"
Property | Type | Description |
---|---|---|
id | String | The id of the resource. |
userId | String | [deprecated - use humanId] |
humanId | String | Unique user identifier |
timestamp | Date | The original date and time of the measurement |
tzOffset | String | The offset from UTC time in +/-hh:mm (e.g. -04:00) |
source | String | The source service for the measurement, where it was created |
value | Number | The duration in seconds |
unit | String | The unit of the measurement value |
notes | String | User created notes |
distance | Number | The value of the measurement in the unit specified |
createdAt | Date | The time the measurement was created on the Human API server |
updatedAt | Date | The time the measurement was updated on the Human API server |