Rawdata v2 - Get
This service allows to fetch raw data of a specific type that were captured and synchronized by a Withings device. Detailled information about the data structure can be found in the Raw Data structure section.
Request
- Base URLhttps://wbsapi.withings.net
- Authnone declared. Required headers: Authorization
Query parameters
Service action name. Must take the string value get.
Public device id. For any device installed on a user account, can be found by calling the User v2 - Get webservice.
The type of raw data you want to act upon. Set to 1 for accelerometer, set to 2 for optical sensor.
Data start date as a unix timestamp.
Data end date as a unix timestamp.
When a first call returns more:true and offset:XX, set value XX in this parameter to retrieve next available rows.
Headers
Used to pass your access token. Must take value: Bearer {your access_token} Replace {your access_token} with the access_token
Response
(Click to unfold)
Example response
{
"body": {
"rawdata": [
{
"data": "JSON of rawdata",
"hash_deviceid": "892359876fd8805ac45bab078c4828692f0276b1",
"type": 2,
"format_version": 1,
"firmware_version": 2561,
"sensor_name": "MAX86142_RAW"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.