mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 21:45:23 +02:00
* Exchange rate syncer implementation * Security price syncer * Fix issues with provider API * Add back prod schedule * Add back price and exchange rate syncs to account syncs * Remove unused stock_exchanges table
81 lines
2.4 KiB
YAML
81 lines
2.4 KiB
YAML
---
|
|
http_interactions:
|
|
- request:
|
|
method: get
|
|
uri: https://api.synthfinance.com/rates/historical?date=2024-01-01&from=USD&to=GBP
|
|
body:
|
|
encoding: US-ASCII
|
|
string: ''
|
|
headers:
|
|
Authorization:
|
|
- Bearer <SYNTH_API_KEY>
|
|
X-Source:
|
|
- maybe_app
|
|
X-Source-Type:
|
|
- managed
|
|
User-Agent:
|
|
- Faraday v2.13.1
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Fri, 16 May 2025 13:01:38 GMT
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Transfer-Encoding:
|
|
- chunked
|
|
Connection:
|
|
- keep-alive
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
Etag:
|
|
- W/"0c93a67d0c68e6f206e2954a41aa2933"
|
|
Referrer-Policy:
|
|
- strict-origin-when-cross-origin
|
|
Rndr-Id:
|
|
- 146e30b2-e03b-47e3
|
|
Strict-Transport-Security:
|
|
- max-age=63072000; includeSubDomains
|
|
Vary:
|
|
- Accept-Encoding
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
X-Frame-Options:
|
|
- SAMEORIGIN
|
|
X-Permitted-Cross-Domain-Policies:
|
|
- none
|
|
X-Render-Origin-Server:
|
|
- Render
|
|
X-Request-Id:
|
|
- 3cf7ade1-8066-422a-97c7-5f8b99e24296
|
|
X-Runtime:
|
|
- '0.024284'
|
|
X-Xss-Protection:
|
|
- '0'
|
|
Cf-Cache-Status:
|
|
- DYNAMIC
|
|
Report-To:
|
|
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=ih8sEFqAOWyINqAEtKGKPKO2lr1qAYSVeipyB5F8g2umPODXvCD4hN3G6wTTs2Q7H8CDWsqiOlYkmVvmr%2BWvl2ojOtBwO25Ahk9TbhlcgRO9nT6mEIXOSdVXJpzpRn5Ov%2FMGigpQ"}],"group":"cf-nel","max_age":604800}'
|
|
Nel:
|
|
- '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}'
|
|
Speculation-Rules:
|
|
- '"/cdn-cgi/speculation"'
|
|
Server:
|
|
- cloudflare
|
|
Cf-Ray:
|
|
- 940b109b5df1a3d7-ORD
|
|
Alt-Svc:
|
|
- h3=":443"; ma=86400
|
|
Server-Timing:
|
|
- cfL4;desc="?proto=TCP&rtt=25865&min_rtt=25683&rtt_var=9996&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2827&recv_bytes=922&delivery_rate=106690&cwnd=219&unsent_bytes=0&cid=e48ae188d1f86721&ts=190&x=0"
|
|
body:
|
|
encoding: ASCII-8BIT
|
|
string: '{"data":{"date":"2024-01-01","source":"USD","rates":{"GBP":0.785476}},"meta":{"total_records":1,"credits_used":1,"credits_remaining":249734,"date":"2024-01-01"}}'
|
|
recorded_at: Fri, 16 May 2025 13:01:38 GMT
|
|
recorded_with: VCR 6.3.1
|