Get Timeseries
Changed onReturns granular time series data (biometrics or activity).
Request
- Base URL: https://api.openwearables.io (the document declares no server; this is the origin it was published from)
- URL: https://api.openwearables.io/api/v1/users/{user_id}/timeseries
- Auth: OAuth 2 (password, token URL /api/v1/auth/login)
Path parameters
Query parameters
ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and cover the whole day, so a date-only range includes both boundary days.
ISO 8601 datetime (e.g. 2023-11-07T05:31:56Z) or Unix timestamp in seconds. Date-only strings (e.g. 2023-11-07) are also accepted and cover the whole day, so a date-only range includes both boundary days.
Bucket width requested when reading time series. RAW returns stored samples untouched.
Supported data providers.
Headers
Response
Successful Response
Example response
{
"data": [
{
"zone_offset": "+01:00",
"source": {
"provider": "apple",
"source": "Connect",
"device": "iPhone15,2",
"device_id": "R9ZW30ABC12"
}
}
],
"pagination": {
"next_cursor": "eyJpZCI6IjEyMzQ1Njc4OTAiLCJ0cyI6MTcwNDA2NzIwMH0",
"total_count": 150
}
}Changes
- warning
added the new
total_energyenum value to the//response property for the response status - info
added the enum value
total_energyto the propertyitems/of thequeryrequest parametertypes
- warning
- info
added the optional property
////to the response with the status
- info