Skip to content

Commit a61c596

Browse files
committed
commit note 10 May 2025 at 2:19 PM
1 parent 5d8c255 commit a61c596

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

vault/engineering.runai.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
id: xa9mj59vyjun0u4l2cl1zjv
3+
title: Runai
4+
desc: ''
5+
updated: 1746866249360
6+
created: 1746866249360
7+
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
id: xgfscdcbcwqn3ffkmvebcqv
3+
title: Strava Integration
4+
desc: ''
5+
updated: 1746866979791
6+
created: 1746866255880
7+
---
8+
9+
10+
Things to do:
11+
12+
1. give permission flow: the user needs to be redirected to strava and then strava sends back a "exchange token", this exchange token, then needs to be exchanged for the actual auth bearer token and the refresh token.
13+
2. refresh when auth token has expired: the auth token expires often and the refresh token is needed to get a new auth token
14+
3. once done we cna use the api to get activities
15+
16+
next: webhooks
17+
18+
1. need to make a manual post request to subscribe to the webhook
19+
2. webhooks are sent when
20+
- access to the app is revoked in strava
21+
- activity is created
22+
- activity is deleted
23+
- activity fields are updated: title, type, privacy
24+
25+
26+
https://developers.strava.com/docs/webhooks/

vault/running.slow-is-smooth.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
id: lk80az5qa1am8b2mj0o55g2
3+
title: slow is smooth
4+
desc: ''
5+
updated: 1746356091971
6+
created: 1746356058209
7+
---
8+
9+
Notes

0 commit comments

Comments
 (0)