mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-26 09:03:00 +00:00
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
interactions:
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer SANITIZED
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15
|
|
(KHTML, like Gecko) Mobile/15E148
|
|
method: GET
|
|
uri: https://connectapi.garmin.com/wellness-service/wellness/bodyBattery/events/2023-07-20
|
|
response:
|
|
body:
|
|
string: '[{"event": {"eventType": "sleep", "eventStartTimeGmt": "2023-07-19T21:30:00.000",
|
|
"timezoneOffset": -25200000, "durationInMilliseconds": 28800000, "bodyBatteryImpact": 35,
|
|
"feedbackType": "good_sleep", "shortFeedback": "Good sleep restored your Body Battery"},
|
|
"activityName": null, "activityType": null, "activityId": null, "averageStress": 15.5,
|
|
"stressValuesArray": [[1689811800000, 12], [1689812100000, 18], [1689812400000, 15]],
|
|
"bodyBatteryValuesArray": [[1689811800000, "charging", 45, 1.0], [1689812100000, "charging", 48, 1.0],
|
|
[1689812400000, "charging", 52, 1.0], [1689840600000, "draining", 85, 1.0]]}]'
|
|
headers:
|
|
Content-Type:
|
|
- application/json;charset=UTF-8
|
|
Date:
|
|
- Thu, 20 Jul 2023 12:00:00 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|