GET /dataRange
Description
The /dataRange
endpoint enables retrieval of a user's earliest and latest times for calibration, EGV, and event records. This can be used to efficiently pull historical data and determine whether new data is available.
Resource
GET /v2/users/self/dataRange
Authorization
OAuth 2.0 bearer token; see the Authentication section for details on this workflow.
Query Parameters
No query parameters are required for this endpoint.
Request Example
Response Example
Response Fields
Name |
Type |
Description |
---|---|---|
|
Object |
Set of dates and times bounding the user's historical calibration records (nullable) |
|
Object |
Set of dates and times bounding the user's historical EGV records (nullable) |
|
Object |
Set of dates and times bounding the user's historical event records (nullable) |
calibrations
, egvs
, and events
object fields are as follows
Name |
Type |
Description |
---|---|---|
|
Object |
The earliest records available for the specified dataset |
|
Object |
The latest records available for the specified dataset |
start
and end
object fields are as follows
Name |
Type |
Description |
---|---|---|
|
DateTime |
Time according to the system clock; nominally UTC |
|
DateTime |
Time displayed on the receiving device |