From 9b30e8ccc4aaebb33c374bd233d11eb8cd7f6ee6 Mon Sep 17 00:00:00 2001 From: Anders Ha Date: Thu, 7 Nov 2024 14:01:00 +0000 Subject: [PATCH] Remove ResponseExample from most docs pt.1 --- docs/api-reference/data/activity/get-raw.mdx | 21 --- .../data/activity/get-summary.mdx | 33 ---- docs/api-reference/data/body/get-raw.mdx | 21 --- docs/api-reference/data/body/get-summary.mdx | 24 --- docs/api-reference/data/meal/get-summary.mdx | 92 ---------- docs/api-reference/data/profile/get-raw.mdx | 19 -- .../data/profile/get-summary.mdx | 18 -- docs/api-reference/data/sleep/get-raw.mdx | 21 --- docs/api-reference/data/sleep/get-stream.mdx | 167 ------------------ docs/api-reference/data/sleep/get-summary.mdx | 38 ---- .../data/timeseries/blood-oxygen.mdx | 26 --- .../data/timeseries/blood-pressure.mdx | 27 --- .../data/timeseries/body-fat.mdx | 26 --- .../timeseries/body-temperature-delta.mdx | 28 --- .../data/timeseries/body-temperature.mdx | 28 --- .../data/timeseries/body-weight.mdx | 26 --- .../data/timeseries/caffeine.mdx | 27 --- .../data/timeseries/calories-active.mdx | 27 --- .../data/timeseries/calories-basal.mdx | 27 --- .../data/timeseries/carbohydrates.mdx | 27 --- .../data/timeseries/cholesterol.mdx | 45 ----- .../data/timeseries/distance.mdx | 27 --- .../timeseries/electrocardiogram-voltage.mdx | 27 --- .../data/timeseries/floors-climbed.mdx | 27 --- .../api-reference/data/timeseries/glucose.mdx | 27 --- .../data/timeseries/heartrate.mdx | 26 --- docs/api-reference/data/timeseries/hrv.mdx | 26 --- .../data/timeseries/hypnogram.mdx | 27 --- docs/api-reference/data/timeseries/ige.mdx | 27 --- docs/api-reference/data/timeseries/igg.mdx | 27 --- .../data/timeseries/insulin-injection.mdx | 28 --- .../data/timeseries/mindfulness-minutes.mdx | 27 --- docs/api-reference/data/timeseries/note.mdx | 31 ---- .../data/timeseries/respiratory-rate.mdx | 26 --- docs/api-reference/data/timeseries/steps.mdx | 27 --- .../data/timeseries/stress-level.mdx | 26 --- .../api-reference/data/timeseries/vo2-max.mdx | 27 --- docs/api-reference/data/timeseries/water.mdx | 27 --- .../data/timeseries/workout-duration.mdx | 28 --- docs/api-reference/data/workouts/get-raw.mdx | 22 --- .../data/workouts/get-stream.mdx | 19 -- .../data/workouts/get-summary.mdx | 45 ----- .../link/complete-password-provider-mfa.mdx | 13 -- docs/api-reference/link/create-code.mdx | 11 -- .../link/generate-link-token.mdx | 10 -- .../api-reference/link/link-demo-provider.mdx | 11 -- .../link/link-email-provider.mdx | 10 -- .../link/link-oauth-provider.mdx | 16 -- .../link/link-password-provider.mdx | 13 -- docs/api-reference/providers.mdx | 16 -- .../timeseries/blood-pressure.mdx | 17 -- docs/api-reference/user/create-insurance.mdx | 28 --- .../user/create-sign-in-token.mdx | 11 -- docs/api-reference/user/create-user.mdx | 11 -- docs/api-reference/user/delete-user.mdx | 10 -- .../user/deregister-a-provider.mdx | 10 -- docs/api-reference/user/get-user.mdx | 32 ---- docs/api-reference/user/get-users.mdx | 29 --- docs/api-reference/user/patch-user.mdx | 8 - docs/api-reference/user/refresh-user-data.mdx | 19 -- docs/api-reference/user/undo-delete-user.mdx | 10 -- 61 files changed, 1627 deletions(-) diff --git a/docs/api-reference/data/activity/get-raw.mdx b/docs/api-reference/data/activity/get-raw.mdx index 34301df4a..d420f5661 100644 --- a/docs/api-reference/data/activity/get-raw.mdx +++ b/docs/api-reference/data/activity/get-raw.mdx @@ -93,24 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "activity": [ - { - "timestamp": "2022-08-04T12:42:44.847351+00:00", - "data": { - "data": "...provider_specific_data" - }, - "provider_id": "e2b25f37-846e-49a9-bf5b-5bb24d62b289", - "user_id": "8e837eec-0717-41df-b108-43f4f206582a", - "source_id": 1, - "priority_id": 1 - } - ] -} -``` - - diff --git a/docs/api-reference/data/activity/get-summary.mdx b/docs/api-reference/data/activity/get-summary.mdx index 7d2ea55b1..0f3bd35eb 100644 --- a/docs/api-reference/data/activity/get-summary.mdx +++ b/docs/api-reference/data/activity/get-summary.mdx @@ -93,36 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "activity": [ - { - "calendar_date": "2022-08-04", - "calories_total": 100, - "calories_active": 2000, - "steps": 10000, - "daily_movement": 200, - "low": 6400, - "medium": 6400, - "high": 6000, - "source": { - "name": "Garmin", - "slug": "garmin", - "logo": "https://logo_url.com" - }, - "user_id": "70c64d5a-ff06-4c16-b137-361b2441d86e", - "heart_rate": { - "avg_bpm": 76.4, - "max_bpm": 134, - "min_bpm": 55, - "resting_bpm": 60 - } - } - ] -} -``` - - diff --git a/docs/api-reference/data/body/get-raw.mdx b/docs/api-reference/data/body/get-raw.mdx index 516907f27..de0929d7c 100644 --- a/docs/api-reference/data/body/get-raw.mdx +++ b/docs/api-reference/data/body/get-raw.mdx @@ -93,24 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "body": [ - { - "timestamp": "2022-08-04T12:42:44.849767+00:00", - "data": { - "data": "...provider_specific_data" - }, - "provider_id": "ed059fb6-3bb4-4c4b-9aae-0fec51224e06", - "user_id": "9d2b6976-3226-40cc-8adc-e8c2b898e0de", - "source_id": 1, - "priority_id": 1 - } - ] -} -``` - - diff --git a/docs/api-reference/data/body/get-summary.mdx b/docs/api-reference/data/body/get-summary.mdx index 9868d7cff..13a19bac6 100644 --- a/docs/api-reference/data/body/get-summary.mdx +++ b/docs/api-reference/data/body/get-summary.mdx @@ -93,27 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "body": [ - { - "id": "4340a0fa-549c-4a47-bd83-b2af6bbeffa9", - "calendar_date": "2022-08-04", - "weight": "80kg", - "fat": "30%", - "height": 183, - "source": { - "name": "Oura", - "slug": "oura", - "logo": "https://logo_url.com" - }, - "user_id": "7a9ca5ad-2a2c-4a11-a9ee-e7a06c219594" - } - ] -} -``` - - diff --git a/docs/api-reference/data/meal/get-summary.mdx b/docs/api-reference/data/meal/get-summary.mdx index e4f0e4ef3..1fe750717 100644 --- a/docs/api-reference/data/meal/get-summary.mdx +++ b/docs/api-reference/data/meal/get-summary.mdx @@ -90,95 +90,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "meals": [ - { - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", - "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5", - "priority_id": 42, - "source_id": 10, - "provider_id": "123456", - "timestamp": "2019-08-24T14:15:22Z", - "name": "Dinner", - "data": { - "Chiken coquet starter": { - "energy": { - "unit": "kcal", - "value": 400 - }, - "macros": { - "carbs": 75, - "protein": 10, - "fats": { - "saturated": 98, - "monounsaturated": 1, - "polyunsaturated": 1, - "omega3": 0, - "omega6": 0, - "total": 100 - }, - "sugar": 25 - }, - "micros": { - "minerals": { - "sodium": 500 - } - } - }, - "Coffee, black, 1 tbsp(s)": { - "energy": { - "unit": "kcal", - "value": 0 - }, - "macros": { - "carbs": 0, - "protein": 0, - "fats": { - "total": 0 - }, - "sugar": 0 - }, - "micros": { - "minerals": { - "sodium": 0 - } - } - } - }, - "source": { - "name": "MyFitnessPal", - "slug": "my_fitness_pal", - "logo": "https://logo_url.com" - }, - "created_at": "2019-08-24T14:15:22Z", - "updated_at": "2019-08-24T14:15:22Z" - } - ] -} -``` - - - - -All values in the returned model are supplied in the following units: - - -- `meals[*].data[*].energy.value` in calories `kcal` -- `meals[*].data[*].macros.carbs` in grams `g` -- `meals[*].data[*].macros.protein` in grams `g` -- `meals[*].data[*].macros.fats.saturated` in grams `g` -- `meals[*].data[*].macros.fats.monounsaturated` in grams `g` -- `meals[*].data[*].macros.fats.polyunsaturated` in grams `g` -- `meals[*].data[*].macros.fats.omega3` in grams `g` -- `meals[*].data[*].macros.fats.omega6` in grams `g` -- `meals[*].data[*].macros.alcohol` in litres `lt` -- `meals[*].data[*].macros.water` in litres `lt` -- `meals[*].data[*].macros.fibre` in grams `g` -- `meals[*].data[*].macros.sugar` in grams `g` -- `meals[*].data[*].micros.minerals` key: value pairs in milligrams `mg` -- `meals[*].data[*].micros.trace_elements` key: value pairs in milligrams `mg` -- `meals[*].data[*].micros.vitamins` key: value pairs in milligrams `mg` diff --git a/docs/api-reference/data/profile/get-raw.mdx b/docs/api-reference/data/profile/get-raw.mdx index 128d837ef..095bc5469 100644 --- a/docs/api-reference/data/profile/get-raw.mdx +++ b/docs/api-reference/data/profile/get-raw.mdx @@ -70,22 +70,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "profile": [ - { - "data": { - "data": "...provider_specific_data" - }, - "provider_id": "d0a7670c-dff8-4026-a188-8f249fb92e13", - "user_id": "c0847403-4b5c-434d-ac32-8f347dcc6c33", - "source_id": 1 - } - ] -} -``` - - diff --git a/docs/api-reference/data/profile/get-summary.mdx b/docs/api-reference/data/profile/get-summary.mdx index fd6e73c2e..7893d2516 100644 --- a/docs/api-reference/data/profile/get-summary.mdx +++ b/docs/api-reference/data/profile/get-summary.mdx @@ -68,21 +68,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "id": "eadba0c7-4e81-4d17-962c-9ebe0629c08f", - "date": "2022-08-04", - "height": 183, - "source": { - "name": "Oura", - "slug": "oura", - "logo": "https://logo_url.com" - }, - "user_id": "71937dd3-aebe-46b7-ab64-c287bd75b2a6" -} -``` - - diff --git a/docs/api-reference/data/sleep/get-raw.mdx b/docs/api-reference/data/sleep/get-raw.mdx index 8ac17df01..3ae3cc680 100644 --- a/docs/api-reference/data/sleep/get-raw.mdx +++ b/docs/api-reference/data/sleep/get-raw.mdx @@ -91,24 +91,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "sleep": [ - { - "timestamp": "2022-08-04T12:42:44.853437+00:00", - "data": { - "data": "...provider_specific_data" - }, - "provider_id": "acddfb23-a2fd-417b-82ac-37c060074bef", - "user_id": "8479b190-fff6-44cf-84f2-0e906457b343", - "source_id": 1, - "priority_id": 1 - } - ] -} -``` - - diff --git a/docs/api-reference/data/sleep/get-stream.mdx b/docs/api-reference/data/sleep/get-stream.mdx index db6600f1c..8336a770c 100644 --- a/docs/api-reference/data/sleep/get-stream.mdx +++ b/docs/api-reference/data/sleep/get-stream.mdx @@ -71,170 +71,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "hrv": [ - { - "id": 0, - "timestamp": "2022-08-04T12:42:45.722013+00:00", - "value": 98, - "type": null, - "unit": "rmssd" - }, - { - "id": 1, - "timestamp": "2022-08-04T12:43:15.722058+00:00", - "value": 44, - "type": null, - "unit": "rmssd" - }, - { - "id": 2, - "timestamp": "2022-08-04T12:43:45.722075+00:00", - "value": 75, - "type": null, - "unit": "rmssd" - }, - { - "id": 3, - "timestamp": "2022-08-04T12:44:15.722089+00:00", - "value": 100, - "type": null, - "unit": "rmssd" - }, - { - "id": 4, - "timestamp": "2022-08-04T12:44:45.722101+00:00", - "value": 59, - "type": null, - "unit": "rmssd" - } - ], - "heartrate": [ - { - "id": 0, - "timestamp": "2022-08-04T12:42:45.722112+00:00", - "value": 29, - "type": null, - "unit": "bpm" - }, - { - "id": 1, - "timestamp": "2022-08-04T12:43:15.722124+00:00", - "value": 162, - "type": null, - "unit": "bpm" - }, - { - "id": 2, - "timestamp": "2022-08-04T12:43:45.722135+00:00", - "value": 75, - "type": null, - "unit": "bpm" - }, - { - "id": 3, - "timestamp": "2022-08-04T12:44:15.722146+00:00", - "value": 11, - "type": null, - "unit": "bpm" - }, - { - "id": 4, - "timestamp": "2022-08-04T12:44:45.722157+00:00", - "value": 41, - "type": null, - "unit": "bpm" - } - ], - "hypnogram": [ - { - "id": 0, - "timestamp": "2022-08-04T12:42:45.722168+00:00", - "start": "2022-08-04T12:42:45.722168+00:00", - "end": "2022-08-04T12:43:15.722179+00:00", - "value": 1, - "type": null, - "unit": "stage" - }, - { - "id": 1, - "timestamp": "2022-08-04T12:43:15.722179+00:00", - "start": "2022-08-04T12:43:15.722179+00:00", - "end": "2022-08-04T12:43:45.722190+00:00", - "value": 0, - "type": null, - "unit": "stage" - }, - { - "id": 2, - "timestamp": "2022-08-04T12:43:45.722190+00:00", - "start": "2022-08-04T12:43:45.722190+00:00", - "end": "2022-08-04T12:44:15.722201+00:00", - "value": 4, - "type": null, - "unit": "stage" - }, - { - "id": 3, - "timestamp": "2022-08-04T12:44:15.722201+00:00", - "start": "2022-08-04T12:44:15.722201+00:00", - "end": "2022-08-04T12:44:45.722212+00:00", - "value": 0, - "type": null, - "unit": "stage" - }, - { - "id": 4, - "timestamp": "2022-08-04T12:44:45.722212+00:00", - "start": "2022-08-04T12:44:45.722212+00:00", - "end": "2022-08-04T12:42:45.722223+00:00", - "value": 4, - "type": null, - "unit": "stage" - } - ], - "respiratory_rate": [ - { - "id": 0, - "timestamp": "2022-08-04T12:42:45.722223+00:00", - "value": 30, - "type": null, - "unit": "bpm" - }, - { - "id": 1, - "timestamp": "2022-08-04T12:43:15.722234+00:00", - "value": 29, - "type": null, - "unit": "bpm" - }, - { - "id": 2, - "timestamp": "2022-08-04T12:43:45.722245+00:00", - "value": 19, - "type": null, - "unit": "bpm" - }, - { - "id": 3, - "timestamp": "2022-08-04T12:44:15.722256+00:00", - "value": 14, - "type": null, - "unit": "bpm" - }, - { - "id": 4, - "timestamp": "2022-08-04T12:44:45.722266+00:00", - "value": 18, - "type": null, - "unit": "bpm" - } - ] -} -``` - - diff --git a/docs/api-reference/data/sleep/get-summary.mdx b/docs/api-reference/data/sleep/get-summary.mdx index 2e744f592..8bce6bc42 100644 --- a/docs/api-reference/data/sleep/get-summary.mdx +++ b/docs/api-reference/data/sleep/get-summary.mdx @@ -90,41 +90,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "sleep": [ - { - "id": "6f9d156f-a497-47b2-b940-d13771c7c937", - "calendar_date": "2022-08-04", - "bedtime_start": "2022-08-04T12:42:45.724597+00:00", - "bedtime_stop": "2022-08-04T12:42:45.724600+00:00", - "timezone_offset": 2400, - "duration": 28800, - "total": 28800, - "awake": 2400, - "light": 2400, - "rem": 2400, - "deep": 2400, - "hr_lowest": 43, - "hr_average": 50, - "hr_dip": 19.7, - "efficiency": 0.97, - "latency": 1000, - "temperature_delta": -0.2, - "average_hrv": 78, - "respiratory_rate": 14, - "source": { - "name": "Oura", - "slug": "oura", - "logo": "https://logo_url.com" - }, - "user_id": "1ede2505-5ba1-41d2-a1a5-ed6887198fa4" - } - ] -} -``` - - diff --git a/docs/api-reference/data/timeseries/blood-oxygen.mdx b/docs/api-reference/data/timeseries/blood-oxygen.mdx index eaab46786..7e0b95b85 100644 --- a/docs/api-reference/data/timeseries/blood-oxygen.mdx +++ b/docs/api-reference/data/timeseries/blood-oxygen.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "%", - "value": 98 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/blood-pressure.mdx b/docs/api-reference/data/timeseries/blood-pressure.mdx index 99608caf5..55233562b 100644 --- a/docs/api-reference/data/timeseries/blood-pressure.mdx +++ b/docs/api-reference/data/timeseries/blood-pressure.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "diastolic": 75, - "systolic": 125, - "timestamp": "2024-08-23T15:32:24+00:00", - "unit": "mmHg" - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/body-fat.mdx b/docs/api-reference/data/timeseries/body-fat.mdx index f179980f9..0fe8c156a 100644 --- a/docs/api-reference/data/timeseries/body-fat.mdx +++ b/docs/api-reference/data/timeseries/body-fat.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "%", - "value": 50 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/body-temperature-delta.mdx b/docs/api-reference/data/timeseries/body-temperature-delta.mdx index 09bfead70..d7989dc51 100644 --- a/docs/api-reference/data/timeseries/body-temperature-delta.mdx +++ b/docs/api-reference/data/timeseries/body-temperature-delta.mdx @@ -103,31 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "sensor_location": "wrist", - "start": "2023-02-13T14:30:52+00:00", - "unit": "\u00b0C", - "value": -1.0 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/body-temperature.mdx b/docs/api-reference/data/timeseries/body-temperature.mdx index ce08f4def..b637288b7 100644 --- a/docs/api-reference/data/timeseries/body-temperature.mdx +++ b/docs/api-reference/data/timeseries/body-temperature.mdx @@ -103,31 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:30:52+00:00", - "sensor_location": "eardrum", - "start": "2023-02-13T14:30:52+00:00", - "unit": "\u00b0C", - "value": 65 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/body-weight.mdx b/docs/api-reference/data/timeseries/body-weight.mdx index 562de1373..5a9d9ebdd 100644 --- a/docs/api-reference/data/timeseries/body-weight.mdx +++ b/docs/api-reference/data/timeseries/body-weight.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "kg", - "value": 65 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/caffeine.mdx b/docs/api-reference/data/timeseries/caffeine.mdx index 1ac0c9c15..2a848b788 100644 --- a/docs/api-reference/data/timeseries/caffeine.mdx +++ b/docs/api-reference/data/timeseries/caffeine.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "g", - "value": 42 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/calories-active.mdx b/docs/api-reference/data/timeseries/calories-active.mdx index b1350648e..e1b6d6b0a 100644 --- a/docs/api-reference/data/timeseries/calories-active.mdx +++ b/docs/api-reference/data/timeseries/calories-active.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "kcal", - "value": 184 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/calories-basal.mdx b/docs/api-reference/data/timeseries/calories-basal.mdx index 296b3902a..1966e6469 100644 --- a/docs/api-reference/data/timeseries/calories-basal.mdx +++ b/docs/api-reference/data/timeseries/calories-basal.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "kcal", - "value": 22.8 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/carbohydrates.mdx b/docs/api-reference/data/timeseries/carbohydrates.mdx index 481ebaea5..4d1bdd220 100644 --- a/docs/api-reference/data/timeseries/carbohydrates.mdx +++ b/docs/api-reference/data/timeseries/carbohydrates.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:30:52+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "g", - "value": 30 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/cholesterol.mdx b/docs/api-reference/data/timeseries/cholesterol.mdx index 8264d78a1..299858cef 100644 --- a/docs/api-reference/data/timeseries/cholesterol.mdx +++ b/docs/api-reference/data/timeseries/cholesterol.mdx @@ -103,48 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "cholesterol/ldl", - "unit": "mmol/L", - "value": 0.6 - }, - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "cholesterol/hdl", - "unit": "mmol/L", - "value": 0.2 - }, - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "cholesterol/total", - "unit": "mmol/L", - "value": 0.7 - }, - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "cholesterol/triglycerides", - "unit": "mmol/L", - "value": 0.7 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/distance.mdx b/docs/api-reference/data/timeseries/distance.mdx index 4c9de296d..c3b32d2bb 100644 --- a/docs/api-reference/data/timeseries/distance.mdx +++ b/docs/api-reference/data/timeseries/distance.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "m", - "value": 5.6 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/electrocardiogram-voltage.mdx b/docs/api-reference/data/timeseries/electrocardiogram-voltage.mdx index a9d5b87f5..30665a462 100644 --- a/docs/api-reference/data/timeseries/electrocardiogram-voltage.mdx +++ b/docs/api-reference/data/timeseries/electrocardiogram-voltage.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "lead_1", - "unit": "mV", - "value": -373 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/floors-climbed.mdx b/docs/api-reference/data/timeseries/floors-climbed.mdx index f5266f874..17a1f9784 100644 --- a/docs/api-reference/data/timeseries/floors-climbed.mdx +++ b/docs/api-reference/data/timeseries/floors-climbed.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "count", - "value": 2 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/glucose.mdx b/docs/api-reference/data/timeseries/glucose.mdx index 97b1e8283..b491c667a 100644 --- a/docs/api-reference/data/timeseries/glucose.mdx +++ b/docs/api-reference/data/timeseries/glucose.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "automatic | manual_scan", - "unit": "mmol/L", - "value": 0.5 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/heartrate.mdx b/docs/api-reference/data/timeseries/heartrate.mdx index 0359f2718..fb01808e3 100644 --- a/docs/api-reference/data/timeseries/heartrate.mdx +++ b/docs/api-reference/data/timeseries/heartrate.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "bpm", - "value": 70 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/hrv.mdx b/docs/api-reference/data/timeseries/hrv.mdx index fdd14d150..87b5db93c 100644 --- a/docs/api-reference/data/timeseries/hrv.mdx +++ b/docs/api-reference/data/timeseries/hrv.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "rmssd", - "value": 48 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/hypnogram.mdx b/docs/api-reference/data/timeseries/hypnogram.mdx index 4b6f9d6fa..efff6b4ac 100644 --- a/docs/api-reference/data/timeseries/hypnogram.mdx +++ b/docs/api-reference/data/timeseries/hypnogram.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "stage", - "value": 1 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/ige.mdx b/docs/api-reference/data/timeseries/ige.mdx index bbad9e60a..df24d2c54 100644 --- a/docs/api-reference/data/timeseries/ige.mdx +++ b/docs/api-reference/data/timeseries/ige.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "baha_grass", - "unit": "FSU", - "value": 70 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/igg.mdx b/docs/api-reference/data/timeseries/igg.mdx index 68c97f8e9..f7985b157 100644 --- a/docs/api-reference/data/timeseries/igg.mdx +++ b/docs/api-reference/data/timeseries/igg.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "type": "dairy", - "unit": "FSU", - "value": 12.0 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/insulin-injection.mdx b/docs/api-reference/data/timeseries/insulin-injection.mdx index ddc96b308..6a8a9ae73 100644 --- a/docs/api-reference/data/timeseries/insulin-injection.mdx +++ b/docs/api-reference/data/timeseries/insulin-injection.mdx @@ -103,31 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:30:52+00:00", - "start": "2023-02-13T14:30:52+00:00", - "type": "long_acting", - "unit": "unit", - "value": 60 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/mindfulness-minutes.mdx b/docs/api-reference/data/timeseries/mindfulness-minutes.mdx index c0ea0f3e3..0d54e4013 100644 --- a/docs/api-reference/data/timeseries/mindfulness-minutes.mdx +++ b/docs/api-reference/data/timeseries/mindfulness-minutes.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2024-08-23T15:37:24.453832+00:00", - "start": "2023-02-13T14:57:24+00:00", - "unit": "min", - "value": 42 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/note.mdx b/docs/api-reference/data/timeseries/note.mdx index 5324a16dd..44350dbcb 100644 --- a/docs/api-reference/data/timeseries/note.mdx +++ b/docs/api-reference/data/timeseries/note.mdx @@ -103,34 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:30:52+00:00", - "start": "2023-02-13T14:30:52+00:00", - "type": [ - "food", - "exercise" - ], - "unit": "text", - "value": "Lorem ipsum dolor sit amet" - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/respiratory-rate.mdx b/docs/api-reference/data/timeseries/respiratory-rate.mdx index bf6d79043..4076f4061 100644 --- a/docs/api-reference/data/timeseries/respiratory-rate.mdx +++ b/docs/api-reference/data/timeseries/respiratory-rate.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "bpm", - "value": 15.5 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/steps.mdx b/docs/api-reference/data/timeseries/steps.mdx index 09d1be3a2..caa17841a 100644 --- a/docs/api-reference/data/timeseries/steps.mdx +++ b/docs/api-reference/data/timeseries/steps.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "count", - "value": 123 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/stress-level.mdx b/docs/api-reference/data/timeseries/stress-level.mdx index 369ba2d45..5497ffed4 100644 --- a/docs/api-reference/data/timeseries/stress-level.mdx +++ b/docs/api-reference/data/timeseries/stress-level.mdx @@ -103,29 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "timestamp": "2023-02-13T14:30:52+00:00", - "unit": "%", - "value": 35 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/vo2-max.mdx b/docs/api-reference/data/timeseries/vo2-max.mdx index 20df86943..56aa9bfc3 100644 --- a/docs/api-reference/data/timeseries/vo2-max.mdx +++ b/docs/api-reference/data/timeseries/vo2-max.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "mL/kg/min", - "value": 48 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/water.mdx b/docs/api-reference/data/timeseries/water.mdx index 66e298f35..819277208 100644 --- a/docs/api-reference/data/timeseries/water.mdx +++ b/docs/api-reference/data/timeseries/water.mdx @@ -103,30 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:57:24+00:00", - "start": "2023-02-13T14:30:52+00:00", - "unit": "ml", - "value": 400 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/timeseries/workout-duration.mdx b/docs/api-reference/data/timeseries/workout-duration.mdx index b43ca507e..953d3c664 100644 --- a/docs/api-reference/data/timeseries/workout-duration.mdx +++ b/docs/api-reference/data/timeseries/workout-duration.mdx @@ -103,31 +103,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "groups": { - "oura": [ - { - "data": [ - { - "end": "2023-02-13T14:30:52+00:00", - "intensity": "medium", - "start": "2023-02-13T14:30:52+00:00", - "unit": "min", - "value": 48 - } - ], - "source": { - "provider": "oura", - "type": "ring" - } - } - ] - } -} -``` - - diff --git a/docs/api-reference/data/workouts/get-raw.mdx b/docs/api-reference/data/workouts/get-raw.mdx index 671b5ae07..4a13c523b 100644 --- a/docs/api-reference/data/workouts/get-raw.mdx +++ b/docs/api-reference/data/workouts/get-raw.mdx @@ -89,25 +89,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "workouts": [ - { - "timestamp": "2022-08-04T12:42:44.857707+00:00", - "data": { - "provider_specific": "..._data" - }, - "provider_id": "61709202-ab4d-480a-8cc0-254e64d7c33e", - "user_id": "ba6a785a-b3c3-4bda-ad8c-4571b67f6089", - "source_id": 1, - "priority_id": 1, - "sport_id": 3 - } - ] -} -``` - - diff --git a/docs/api-reference/data/workouts/get-stream.mdx b/docs/api-reference/data/workouts/get-stream.mdx index fd245f729..d15f009a3 100644 --- a/docs/api-reference/data/workouts/get-stream.mdx +++ b/docs/api-reference/data/workouts/get-stream.mdx @@ -71,22 +71,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "cadence": [10, 12, 12, 11, 10], - "time": [1626625123, 1626625140, 1626625145, 1626625150, 162662560], - "heartrate": [120, 125, 125, 130, 135], - "distance": [12, 15, 18, 20, 25], - "power": [100, 100, 100, 100, 100], - "altitude": [10, 20, 30, 40, 50], - "velocity_smooth": [10, 20, 30, 40, 50], - "lat": [10, 20, 30, 40, 50], - "lng": [10, 20, 30, 40, 50], - "resistance": [10, 20, 30, 40, 50] -} -``` - - diff --git a/docs/api-reference/data/workouts/get-summary.mdx b/docs/api-reference/data/workouts/get-summary.mdx index c3ccf4e05..4d1594dab 100644 --- a/docs/api-reference/data/workouts/get-summary.mdx +++ b/docs/api-reference/data/workouts/get-summary.mdx @@ -93,48 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "workouts": { - "id": "f09c1083-701f-4030-b43d-e48825377de9", - "average_hr": 100, - "max_hr": 190, - "distance": 1700, - "calendar_date": "2022-08-04", - "time_start": "2022-08-04T11:42:44.864554+00:00", - "time_end": "2022-08-04T12:42:44.864576+00:00", - "timezone_offset": 2400, - "calories": 300, - "sport": { - "id": 1, - "name": "football" - }, - "source": { - "name": "Strava", - "slug": "strava", - "logo": "https://logo_url.com" - }, - "hr_zones": [100, 90, 10, 10, 200], - "user_id": "701830a9-bd50-48d5-91e5-8c7485d95c12", - "moving_time": 100, - "total_elevation_gain": 10, - "elev_high": 20.2, - "elev_low": -10.2, - "average_speed": 4.2, - "max_speed": 7.8, - "average_watts": 100, - "device_watts": 80, - "max_watts": 200, - "weighted_average_watts": 250, - "map": { - "summary_polyline": "agn~Ftb{uOvr@daBunBjdBkHwiD????" - } - }, - "title": "Workout Data" -} -``` - - diff --git a/docs/api-reference/link/complete-password-provider-mfa.mdx b/docs/api-reference/link/complete-password-provider-mfa.mdx index e3f083bf6..0057fcf69 100644 --- a/docs/api-reference/link/complete-password-provider-mfa.mdx +++ b/docs/api-reference/link/complete-password-provider-mfa.mdx @@ -92,16 +92,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "state": "success", - "redirect_url": null, - "error_type": null, - "error": null -} -``` - - diff --git a/docs/api-reference/link/create-code.mdx b/docs/api-reference/link/create-code.mdx index aa62bcdc6..d7bb51127 100644 --- a/docs/api-reference/link/create-code.mdx +++ b/docs/api-reference/link/create-code.mdx @@ -87,14 +87,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "code": "skus17922ffe", - "exchange_url": "tryvital://tryvital?code=skus17922ffe" -} -``` - - diff --git a/docs/api-reference/link/generate-link-token.mdx b/docs/api-reference/link/generate-link-token.mdx index 41f3259a2..5a8ef97b7 100644 --- a/docs/api-reference/link/generate-link-token.mdx +++ b/docs/api-reference/link/generate-link-token.mdx @@ -95,13 +95,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "link_token": "dGVzdCB0ZXN0IHRlc3Q=" -} -``` - - diff --git a/docs/api-reference/link/link-demo-provider.mdx b/docs/api-reference/link/link-demo-provider.mdx index 759be8883..50bd2ff3d 100644 --- a/docs/api-reference/link/link-demo-provider.mdx +++ b/docs/api-reference/link/link-demo-provider.mdx @@ -93,14 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "success": true, - "redirect_url": null -} -``` - - diff --git a/docs/api-reference/link/link-email-provider.mdx b/docs/api-reference/link/link-email-provider.mdx index 2b7fba95f..18a9bea9d 100644 --- a/docs/api-reference/link/link-email-provider.mdx +++ b/docs/api-reference/link/link-email-provider.mdx @@ -128,13 +128,3 @@ fmt.Printf("Received data %s\n", emailAuth) ``` - - - -```json Example -{ - "success": true -} -``` - - diff --git a/docs/api-reference/link/link-oauth-provider.mdx b/docs/api-reference/link/link-oauth-provider.mdx index 4eed7137a..5325a8c87 100644 --- a/docs/api-reference/link/link-oauth-provider.mdx +++ b/docs/api-reference/link/link-oauth-provider.mdx @@ -120,19 +120,3 @@ fmt.Printf("Received data %s\n", oauth) ``` - - - -```json Example -{ - "name": "Garmin", - "slug": "hamin", - "logo": "https://garmin.com", - "description": "Garmin Watches", - "oauth_url": "https://garmin_aouth_url.com", - "auth_type": "oauth", - "id": 1 -} -``` - - diff --git a/docs/api-reference/link/link-password-provider.mdx b/docs/api-reference/link/link-password-provider.mdx index d0cdbdfb5..fa480a585 100644 --- a/docs/api-reference/link/link-password-provider.mdx +++ b/docs/api-reference/link/link-password-provider.mdx @@ -97,16 +97,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "state": "success", - "redirect_url": null, - "error_type": null, - "error": null -} -``` - - diff --git a/docs/api-reference/providers.mdx b/docs/api-reference/providers.mdx index eb62e9a1e..475f38829 100644 --- a/docs/api-reference/providers.mdx +++ b/docs/api-reference/providers.mdx @@ -69,19 +69,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -[ - { - "name": "Oura", - "slug": "oura", - "logo": "https://logo_url.com", - "auth_type": "oauth", - "supported_resources": ["workouts", "sleep"] - } -] -``` - - diff --git a/docs/api-reference/timeseries/blood-pressure.mdx b/docs/api-reference/timeseries/blood-pressure.mdx index be4fac3ea..3cebc0252 100644 --- a/docs/api-reference/timeseries/blood-pressure.mdx +++ b/docs/api-reference/timeseries/blood-pressure.mdx @@ -93,20 +93,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -[ - { - "id": 2, - "timestamp": "2022-08-04T12:42:45.727135+00:00", - "systolic": "125", - "diastolic": "75", - "type": null, - "unit": "mmHg" - } -] -``` - - diff --git a/docs/api-reference/user/create-insurance.mdx b/docs/api-reference/user/create-insurance.mdx index 87c1f1816..f00fb0d4d 100644 --- a/docs/api-reference/user/create-insurance.mdx +++ b/docs/api-reference/user/create-insurance.mdx @@ -37,31 +37,3 @@ curl --request POST \ ``` - - - -```json Response -{ - "payor_code": "UNITE", - "member_id": "test", - "group_id": "123", - "relationship": "Self", - "insured": { - "first_name": "John", - "last_name": "Doe", - "email": "john@email.com", - "phone_number":"+1123123123", - "gender": "Male", - "dob": "1999-01-01", - "address": { - "first_line": "Some Street", - "second_line": null, - "zip_code": "85004", - "state": "AZ", - "city": "Phoenix", - } - } -} -``` - - diff --git a/docs/api-reference/user/create-sign-in-token.mdx b/docs/api-reference/user/create-sign-in-token.mdx index 6a909fa17..5672fafcf 100644 --- a/docs/api-reference/user/create-sign-in-token.mdx +++ b/docs/api-reference/user/create-sign-in-token.mdx @@ -81,14 +81,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "user_id": "e209947b-323e-4108-8e18-1518b80da0bd", - "sign_in_token": "ZXlKaGJHY2lPaUpTVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnpkV0lpT2lJeE1qTTBOVFkzT0Rrd0lpd2lhV0YwSWpveE5URTJNak01TURJeWZRLmFqVXZaWlZrVVFJc3FMbl9uRWotcHkxbjZIV2VrN0tDdXlGbFlNRWU1RDM3WEhJN1lkdWpjczRNQUdLTlZJN3ZDWV9veVFIdEwzMmx4S0RpblRpVC13Z1dMeHdKdFNYQ3hmdTZhT1RGbnBDNEpPR1RGR2hqeldqT1NCNGRqVzJmS3Roa1MweFJfME5FT1dNRjNSanFNc25laVpES1JvYlpoa0gzVkxuTmdVaEFNMU1zeTZsYVB2eHdVZi1xZXFIMExaT2hSSjIxX1RzdElJN3hES3BpbGt3aUJDb0hGb1FUbE5FQ0hxQ2lDOEI2OWZDVmxVbzZSaS0tYTVXaFY2cF90NFNLRXRQMmJWUlhqeUlBOGU2dEcwcXNMOWtpNlVhVDRBZWpLN1V2QTRkSVJ3dTJkUlZGUEpHRGVnY2JCME9TVlNQYlRTSklfLXlnaS1aNkNqMDNmZw==" -} -``` - - diff --git a/docs/api-reference/user/create-user.mdx b/docs/api-reference/user/create-user.mdx index c4cd3ca31..4eed0589d 100644 --- a/docs/api-reference/user/create-user.mdx +++ b/docs/api-reference/user/create-user.mdx @@ -82,14 +82,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Response -{ - "client_user_id": "5269f80a-fb0b-432a-b311-c3eac1a46260", - "user_id": "e209947b-323e-4108-8e18-1518b80da0bd" -} -``` - - diff --git a/docs/api-reference/user/delete-user.mdx b/docs/api-reference/user/delete-user.mdx index 915f77def..1235f12af 100644 --- a/docs/api-reference/user/delete-user.mdx +++ b/docs/api-reference/user/delete-user.mdx @@ -80,13 +80,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "success": true -} -``` - - diff --git a/docs/api-reference/user/deregister-a-provider.mdx b/docs/api-reference/user/deregister-a-provider.mdx index 7f9153535..feed776da 100644 --- a/docs/api-reference/user/deregister-a-provider.mdx +++ b/docs/api-reference/user/deregister-a-provider.mdx @@ -97,13 +97,3 @@ fmt.Printf("Received data %s\n", response) - - - -```json Example -{ - "success": true -} -``` - - diff --git a/docs/api-reference/user/get-user.mdx b/docs/api-reference/user/get-user.mdx index 49b6c27f1..a590b1741 100644 --- a/docs/api-reference/user/get-user.mdx +++ b/docs/api-reference/user/get-user.mdx @@ -72,35 +72,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "user_id": "409d9870-21fb-443a-8daa-c5222659f40e", - "team_id": "3aac677c-557f-40b7-9251-0315c1f48e77", - "client_user_id": "d734e32e-dd43-4b77-ab56-692524279531", - "connected_sources": [ - { - "source": { - "name": "Oura", - "slug": "oura", - "logo": "logo_url" - }, - "created_on": "2022-08-04T12:42:45.596792+00:00" - } - ], - "fallback_time_zone": { - "id": "Europe/London", - "source_slug": "manual", - "updated_at": "2022-09-11T13:45:56+00:00" - }, - "fallback_birth_date": { - "value": "1980-03-13", - "source_slug": "manual", - "updated_at": "2022-09-11T13:45:56+00:00" - } -} -``` - - diff --git a/docs/api-reference/user/get-users.mdx b/docs/api-reference/user/get-users.mdx index 0656483a6..fd28dfc95 100644 --- a/docs/api-reference/user/get-users.mdx +++ b/docs/api-reference/user/get-users.mdx @@ -67,32 +67,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "users": [ - { - "user_id": "409d9870-21fb-443a-8daa-c5222659f40e", - "team_id": "3aac677c-557f-40b7-9251-0315c1f48e77", - "client_user_id": "d734e32e-dd43-4b77-ab56-692524279531", - "connected_sources": [ - { - "source": { - "name": "Oura", - "slug": "oura", - "logo": "logo_url" - }, - "created_on": "2022-08-04T12:42:45.596792+00:00" - } - ] - } - ], - "total": 1, - "offset": 0, - "limit": 100 -} -``` - - diff --git a/docs/api-reference/user/patch-user.mdx b/docs/api-reference/user/patch-user.mdx index 4933ca6b9..41ddef659 100644 --- a/docs/api-reference/user/patch-user.mdx +++ b/docs/api-reference/user/patch-user.mdx @@ -78,11 +78,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -``` Response -204 No Content -``` - - diff --git a/docs/api-reference/user/refresh-user-data.mdx b/docs/api-reference/user/refresh-user-data.mdx index 5687ef70b..34c6db614 100644 --- a/docs/api-reference/user/refresh-user-data.mdx +++ b/docs/api-reference/user/refresh-user-data.mdx @@ -71,22 +71,3 @@ if err != nil { fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "success": true, - "user_id": "55c39ede-16b8-438f-bbb9-62591dc2400e", - "refreshed_sources": [ - "Withings/workouts", - "Withings/sleep", - "Withings/body", - "Withings/vitals/blood_pressure", - "Withings/activity" - ], - "failed_sources": ["Oura/sleep"] -} -``` - - diff --git a/docs/api-reference/user/undo-delete-user.mdx b/docs/api-reference/user/undo-delete-user.mdx index 3af121a5c..ae7b3e854 100644 --- a/docs/api-reference/user/undo-delete-user.mdx +++ b/docs/api-reference/user/undo-delete-user.mdx @@ -97,13 +97,3 @@ fmt.Printf("Received data %s\n", response) ``` - - - -```json Example -{ - "success": true -} -``` - -