rawdata

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.

posthttps://wbsapi.withings.net/v2/rawdata

Request

  • Base URL
    https://wbsapi.withings.net
  • Auth
    none declared. Required headers: Authorization

Query parameters

actionstring required

Service action name. Must take the string value get.

hash_deviceidstring required

Public device id. For any device installed on a user account, can be found by calling the User v2 - Get webservice.

rawdata_typeinteger required

The type of raw data you want to act upon. Set to 1 for accelerometer, set to 2 for optical sensor.

startdateinteger required

Data start date as a unix timestamp.

enddateinteger required

Data end date as a unix timestamp.

offsetinteger

When a first call returns more:true and offset:XX, set value XX in this parameter to retrieve next available rows.

Headers

Authorizationstring required

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)

statusinteger

Response status. See <a href='#tag/response_status'>Status</a> section for details.

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.