{ "opencollection": "1.0.0", "info": { "name": "Spike Application User Auth Statistics API", "version": "3.0.2" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Statistics", "type": "folder" }, "items": [ { "info": { "name": "Daily Statistics", "type": "http" }, "http": { "method": "GET", "url": "https://app-api.spikeapi.com/v3/queries/statistics/daily", "params": [ { "name": "metric", "value": "", "type": "query", "description": "Metric identifier - for example heartrate, heartrate_resting, hrv_rmssd, hrv_sdnn, glucose, weight, body_fat, spo2, breathing_rate, steps, distance, calories_burned, sleep_duration, sleep_efficiency." }, { "name": "start_time", "value": "", "type": "query", "description": "Start of the query window (ISO 8601)." }, { "name": "end_time", "value": "", "type": "query", "description": "End of the query window (ISO 8601)." } ] }, "docs": "Returns daily aggregated statistics for a metric over a time range." }, { "info": { "name": "Interval Statistics", "type": "http" }, "http": { "method": "GET", "url": "https://app-api.spikeapi.com/v3/queries/statistics/interval", "params": [ { "name": "metric", "value": "", "type": "query", "description": "Metric identifier - for example heartrate, heartrate_resting, hrv_rmssd, hrv_sdnn, glucose, weight, body_fat, spo2, breathing_rate, steps, distance, calories_burned, sleep_duration, sleep_efficiency." }, { "name": "start_time", "value": "", "type": "query", "description": "Start of the query window (ISO 8601)." }, { "name": "end_time", "value": "", "type": "query", "description": "End of the query window (ISO 8601)." } ] }, "docs": "Returns statistics aggregated over a specified interval." }, { "info": { "name": "Statistics by interpolation", "type": "http" }, "http": { "method": "GET", "url": "https://app-api.spikeapi.com/v3/queries/statistics/interpolation", "params": [ { "name": "metric", "value": "", "type": "query", "description": "Metric identifier - for example heartrate, heartrate_resting, hrv_rmssd, hrv_sdnn, glucose, weight, body_fat, spo2, breathing_rate, steps, distance, calories_burned, sleep_duration, sleep_efficiency." }, { "name": "start_time", "value": "", "type": "query", "description": "Start of the query window (ISO 8601)." }, { "name": "end_time", "value": "", "type": "query", "description": "End of the query window (ISO 8601)." } ] }, "docs": "Returns interpolated statistics for a metric where gaps are filled between samples." } ] } ], "bundled": true }