mirror of
https://github.com/sstent/go-garth.git
synced 2026-01-25 16:42:28 +00:00
83 lines
4.6 KiB
YAML
83 lines
4.6 KiB
YAML
interactions:
|
|
- request:
|
|
body: null
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Authorization:
|
|
- Bearer SANITIZED
|
|
Connection:
|
|
- keep-alive
|
|
User-Agent:
|
|
- GCM-iOS-5.7.2.1
|
|
referer:
|
|
- https://sso.garmin.com/sso/verifyMFA/loginEnterMfaCode?id=gauth-widget&embedWidget=true&gauthHost=https%3A%2F%2Fsso.garmin.com%2Fsso%2Fembed&service=https%3A%2F%2Fsso.garmin.com%2Fsso%2Fembed&source=https%3A%2F%2Fsso.garmin.com%2Fsso%2Fembed&redirectAfterAccountLoginUrl=https%3A%2F%2Fsso.garmin.com%2Fsso%2Fembed&redirectAfterAccountCreationUrl=https%3A%2F%2Fsso.garmin.com%2Fsso%2Fembed
|
|
method: GET
|
|
uri: https://connectapi.garmin.com/userprofile-service/socialProfile
|
|
response:
|
|
body:
|
|
string: '{"id": 3154645, "profileId": 2591602, "garminGUID": "0690cc1d-d23d-4412-b027-80fd4ed1c0f6",
|
|
"displayName": "mtamizi", "fullName": "Matin Tamizi", "userName": "mtamizi",
|
|
"profileImageType": "UPLOADED_PHOTO", "profileImageUrlLarge": "https://s3.amazonaws.com/garmin-connect-prod/profile_images/73240e81-6e4d-43fc-8af8-c8f6c51b3b8f-2591602.png",
|
|
"profileImageUrlMedium": "https://s3.amazonaws.com/garmin-connect-prod/profile_images/685a19e9-a7be-4a11-9bf9-faca0c5d1f1a-2591602.png",
|
|
"profileImageUrlSmall": "https://s3.amazonaws.com/garmin-connect-prod/profile_images/6302f021-0ec7-4dc9-b0c3-d5a19bc5a08c-2591602.png",
|
|
"location": "Ciudad de M\u00e9xico, CDMX", "facebookUrl": null, "twitterUrl":
|
|
null, "personalWebsite": null, "motivation": null, "bio": null, "primaryActivity":
|
|
null, "favoriteActivityTypes": [], "runningTrainingSpeed": 0.0, "cyclingTrainingSpeed":
|
|
0.0, "favoriteCyclingActivityTypes": [], "cyclingClassification": null, "cyclingMaxAvgPower":
|
|
0.0, "swimmingTrainingSpeed": 0.0, "profileVisibility": "private", "activityStartVisibility":
|
|
"private", "activityMapVisibility": "public", "courseVisibility": "public",
|
|
"activityHeartRateVisibility": "public", "activityPowerVisibility": "public",
|
|
"badgeVisibility": "private", "showAge": false, "showWeight": false, "showHeight":
|
|
false, "showWeightClass": false, "showAgeRange": false, "showGender": false,
|
|
"showActivityClass": false, "showVO2Max": false, "showPersonalRecords": false,
|
|
"showLast12Months": false, "showLifetimeTotals": false, "showUpcomingEvents":
|
|
false, "showRecentFavorites": false, "showRecentDevice": false, "showRecentGear":
|
|
false, "showBadges": true, "otherActivity": null, "otherPrimaryActivity":
|
|
null, "otherMotivation": null, "userRoles": ["SCOPE_ATP_READ", "SCOPE_ATP_WRITE",
|
|
"SCOPE_COMMUNITY_COURSE_READ", "SCOPE_COMMUNITY_COURSE_WRITE", "SCOPE_CONNECT_READ",
|
|
"SCOPE_CONNECT_WRITE", "SCOPE_DT_CLIENT_ANALYTICS_WRITE", "SCOPE_GARMINPAY_READ",
|
|
"SCOPE_GARMINPAY_WRITE", "SCOPE_GCOFFER_READ", "SCOPE_GCOFFER_WRITE", "SCOPE_GHS_SAMD",
|
|
"SCOPE_GHS_UPLOAD", "SCOPE_GOLF_API_READ", "SCOPE_GOLF_API_WRITE", "SCOPE_INSIGHTS_READ",
|
|
"SCOPE_INSIGHTS_WRITE", "SCOPE_OMT_CAMPAIGN_READ", "SCOPE_OMT_SUBSCRIPTION_READ",
|
|
"SCOPE_PRODUCT_SEARCH_READ", "ROLE_CONNECTUSER", "ROLE_FITNESS_USER", "ROLE_WELLNESS_USER",
|
|
"ROLE_OUTDOOR_USER", "ROLE_CONNECT_2_USER", "ROLE_TACX_APP_USER"], "nameApproved":
|
|
true, "userProfileFullName": "Matin Tamizi", "makeGolfScorecardsPrivate":
|
|
true, "allowGolfLiveScoring": false, "allowGolfScoringByConnections": true,
|
|
"userLevel": 4, "userPoint": 166, "levelUpdateDate": "2024-01-31T12:18:59.0",
|
|
"levelIsViewed": false, "levelPointThreshold": 300, "userPointOffset": 0,
|
|
"userPro": false}'
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8f0d992ebcfb6c34-DFW
|
|
Cache-Control:
|
|
- no-cache, no-store, private
|
|
Connection:
|
|
- keep-alive
|
|
Content-Type:
|
|
- application/json;charset=UTF-8
|
|
Date:
|
|
- Thu, 12 Dec 2024 12:08:11 GMT
|
|
NEL:
|
|
- '{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}'
|
|
Report-To:
|
|
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=niRDLu7E86gruuRnFLQL4RUQO9vMZyAA5NQ64mt7vW0Gmmsl2%2BCut6v2k9Pj6yXDDr42mqOH%2B%2BvYhVgRbnkLUTD3xXo3YREb7jiUYBGZhBKpRQafvfz0TvC63Co%2BVJCaehygZ%2B9HlA%3D%3D"}],"group":"cf-nel","max_age":604800}'
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- _cfuvid=SANITIZED; path=SANITIZED; domain=SANITIZED; HttpOnly; Secure; SameSite=SANITIZED
|
|
Transfer-Encoding:
|
|
- chunked
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
pragma:
|
|
- no-cache
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
version: 1
|