API Reference

Human Summaries

84 views 0

The data contains all the discrete Health measurements and summary information about the person’s activity and sleep data.

Overview

Property Type Description
activities Object with the last record from activity
activities_summary Object with the last record from activity_summary
blood_glucoses Object with the last record from blood_glucoses
blood_oxygens Object with the last record from blood_oxygens
blood_pressures Object with the last record from blood_pressures
body_fats Object with the last record from body_fats
body_mass_indexes Object with the last record from body_mass_indexes
falls Object with the last record from falls
genetics Object with the last record from genetics
heart_rates Object with the last record from heart_rates
heights Object with the last record from heights
locations Object with the last record from locations
meals Object with the last record from meals
respiration_rates Object with the last record from respiration_rates
sleeps Object with the last record from sleeps
sleeps_summaries Object with the last record from sleeps_summaries
steps Object with the last record from steps
waters Object with the last record from waters
weights Object with the last record from weights

Example

GET https://api.zivacare.com/api/v2/human/human_summary?access_token=demo

{
  "activities": {
      "code": "089fb1e6-076a-48f5-bb68-e7594e5f2c33",
      "unit": "m",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-23 08:52:50.932372+00"
   },
   "activities_summary": {
      "code": "a26dc114-4c02-4c59-9b34-3a11aa6e8f97",
      "date": "2014-09-16",
      "source": "fitbit",
      "duration": 155,
      "distance": 144,
      "steps": 1000,
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2014-09-10 10:59:03+00"
    },
    "blood_glucoses": {
      "code": "902fbf4a-43d3-4d1c-a530-9c51d4bf5523",
      "value": 18,
      "unit": "mmo/L",
      "record_time": "2016-01-16 15:52:01+00",
      "source": "pegaso",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2014-09-10 10:59:03+00"
    },
    "blood_oxygens": {
      "code": "422de232-08d9-4d34-aa9f-63dcb335ec76",
      "value": 98,
      "unit": "02",
      "record_time": "2014-12-14 15:52:01+00",
      "source": "my-source",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2015-12-15 09:15:43+00",
      "updated_at": "2015-12-15 09:18:03+00"
    }, 
   "blood_pressures": {
      "code": "d73d3b16-1495-4f9a-8d26-8fb296041605",
      "systolic": 120,
      "diastolic": 75,
      "heart_rate": 59,
      "unit": "mmHg",
      "record_time": "2014-09-16 15:52:01+00",
      "source": "withings",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2015-04-07 14:19:31+00"
    },
   "body_fats": {
      "code": "03795338-c77f-42d6-88c9-8ac6946dbcb4",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-09 14:35:36.42673+00"
    },
   "body_mass_indexes": {
      "code": "b833a9eb-8066-49d5-bf7f-8ddea2350008",
      "value": 30.87,
      "unit": "kg/m2",
      "record_time": "2016-02-06 22:00:00+00",
      "source": "fitbit",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-02-07 17:00:06+00",
      "updated_at": "2016-02-07 22:00:08+00"
    },
   "falls": {
      "code": "3b279631-a0d0-4c49-b273-8d9c555017bf",
      "value": true,
      "source": "fitbit",
      "record_time": "2015-09-16 15:52:01+00",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-30 12:00:13+00"
    },
   "genetics": {
      "code": "a13a11d5-8219-43d4-882a-dd76b16987fd",
      "trait": "trait",
      "description": "blue eyes",
      "possible_traits": "",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2014-09-10 11:39:04+00"
    },
   "heart_rates": {
      "code": "354c5396-5e8b-4ae1-bcbe-fb110c11fc33",
      "value": 90,
      "unit": "bpm",
      "source": "fitbit",
      "record_time": "2016-01-01 15:52:01+00",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-01-07 12:13:31+00"
    },
   "heights": {
      "code": "0ee89a86-6420-4b41-b7b6-75ed4b187731",
      "value": 11,
      "unit": "cm",
      "source": "fitbit",
      "record_time": "2014-09-16 15:52:01+00",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2014-09-10 11:47:10+00"
    },
   "locations": {
      "code": "76c271fb-f1a7-4414-bead-52e46cd7b4bc",
      "name": "Sibiu",
      "source": "fitbit",
      "type": "test",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "e231e984-2209-4a10-b634-2257b89c200f"
    },
   "meals": {
      "code": "58e678b6-648a-476a-9b91-ab7d34668c7a",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-09 14:35:50.577097+00"
    },
   "respiration_rates": {
      "code": "a9b0fa1b-60cd-46aa-beb5-10ab0484a005",
      "value": 15,
      "unit": "breaths per minute",
      "source": "fitbit",
      "record_time": "2014-11-16 15:52:01+00",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-30 06:14:12+00"
    },
   "sleeps": {
      "code": "758ed613-b9d3-4ce6-8573-b7777aadd54a",
      "day": "2014-09-16",
      "start_time": "2014-09-16 15:52:01+00",
      "end_time": "2014-09-17 15:52:01+00",
      "main_sleep": true,
      "time_asleep": 177,
      "time_awake": 12,
      "source": "fitbit",
      "efficiency": 37,
      "time_to_fall_asleep": 11,
      "time_after_wakeup": 0,
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2015-04-07 17:48:40+00"
    },
   "sleeps_summaries": {
      "code": "ecb7dfb2-07a0-4003-83d0-d9e0d026cf54",
      "record_time": "2014-09-15",
      "source": "fitbit",
      "time_asleep": 50,
      "time_awake": 50,
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2014-09-10 14:31:25+00"
    },
   "steps": {
      "code": "e06a6953-0750-421e-aa4d-917232f04ac8",
      "value": 2500,
      "record_time": "2016-05-13 15:52:01+00",
      "source": "fitbit",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-13 06:38:10.497835+00"
    },
   "waters": {
      "code": "8405355e-e2ed-4efb-ae21-c3f6118654a3",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "created_at": "2016-05-30 13:01:47.024848+00",
      "unit": "ml"
    },
   "weights": {
      "code": "0ef4f3b7-b74a-4d12-bc68-f452346e3afa",
      "user_code": "e231e984-2209-4a10-b634-2257b89c200f",
      "unit": "kg",
      "created_at": "2016-05-09 14:37:25.93501+00"
    }
}

Was this helpful?

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close