added
Phone diagnostic information now returned in mobile records
almost 5 years ago by Deb Conroy
On 5/14/2020 the Inform API was updated to return phone diagnostic information for records of source type "apple_health", "bluetooth", "google_fit_sdk", "vitalsnap", and "samsung_health". An example is provided below.
"diagnostics": [
{
"type": "mobile_device_manufacturer",
"unit": "n/a",
"value": "Apple"
},
{
"type": "mobile_device_model_number",
"unit": "n/a",
"value": "iPhone10,3"
},
{
"type": "operating_system",
"unit": "n/a",
"value": "iOS"
},
{
"type": "operating_system_version",
"unit": "n/a",
"value": "13.4.1"
},
{
"type": "validic_library_version",
"unit": "n/a",
"value": "1.12.1"
}
]
{
"category": "daily",
"checksum": "a0e532be4089614cb41c87c1ac6db3fa",
"created_at": "2020-05-12T19:14:21.640Z",
"deleted_at": null,
"end_time": "2020-05-13T03:59:59Z",
"id": "de243df401084eb2d089a3f90dc56d09",
"log_id": "routine-5d8915922141970001655137-com.Apple.Health.AggregateRecord-2020-5-12",
"metrics": [
{
"type": "active_duration",
"origin": "unknown",
"unit": "s",
"value": 600.0
},
{
"type": "energy_burned",
"origin": "unknown",
"unit": "kcal",
"value": 130.03300000000013
},
{
"type": "distance",
"origin": "unknown",
"unit": "m",
"value": 1479.4443172278116
},
{
"type": "floors_climbed",
"origin": "unknown",
"unit": "count",
"value": 9
},
{
"type": "steps",
"origin": "device",
"unit": "count",
"value": 2021
}
],
"offset_origin": "source",
"segments": [],
"source": {
"type": "apple_health",
"device": {
"id": null,
"model": "com.apple.health.aggregaterecord",
"manufacturer": "apple health aggregate",
"diagnostics": [
{
"type": "mobile_device_manufacturer",
"unit": "n/a",
"value": "Apple"
},
{
"type": "mobile_device_model_number",
"unit": "n/a",
"value": "iPhone10,3"
},
{
"type": "operating_system",
"unit": "n/a",
"value": "iOS"
},
{
"type": "operating_system_version",
"unit": "n/a",
"value": "13.4.1"
},
{
"type": "validic_library_version",
"unit": "n/a",
"value": "1.12.1"
}
]
}
},
"start_time": "2020-05-12T04:00:00Z",
"tags": [],
"type": "summary",
"user": {
"organization_id": "5c45d9bc21419700018774a5",
"user_id": "5d8915922141970001655137",
"uid": "dummy-mobile-user"
},
"user_notes": [],
"utc_offset": -14400,
"version": "1.0"
}