mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
* Ignore env.test from source control * Simplification of providers interface * Synth tests * Update money to use new find rates method * Remove unused issues code * Additional issue feature removals * Update price data fetching and tests * Update documentation for providers * Security test fixes * Fix self host test * Update synth usage data access * Remove AI pr schema changes
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.12.2
|
|
Accept-Encoding:
|
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
Accept:
|
|
- "*/*"
|
|
response:
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
headers:
|
|
Date:
|
|
- Sat, 15 Mar 2025 22:18:46 GMT
|
|
Content-Type:
|
|
- application/json; charset=utf-8
|
|
Transfer-Encoding:
|
|
- chunked
|
|
Connection:
|
|
- keep-alive
|
|
Cache-Control:
|
|
- max-age=0, private, must-revalidate
|
|
Etag:
|
|
- W/"b0b21c870fe53492404cc5ac258fa465"
|
|
Referrer-Policy:
|
|
- strict-origin-when-cross-origin
|
|
Rndr-Id:
|
|
- 44367fcb-e5b4-457d
|
|
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:
|
|
- 8ce9dc85-afbd-437c-b18d-ec788b712334
|
|
X-Runtime:
|
|
- '0.031963'
|
|
X-Xss-Protection:
|
|
- '0'
|
|
Cf-Cache-Status:
|
|
- DYNAMIC
|
|
Report-To:
|
|
- '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=SwRPS1vBsrKtk%2Ftb7Ix8j%2FCWYw9tZgbJxR1FCmotWn%2FIZAE3Ri%2FUwHtvkOSqBq6HN5pLVetfem5hp%2BkqWmD5GRCVho0mp3VgRr3J1tBMwrVK2p50tfpmb3X22Jj%2BOfapq1C22PnN"}],"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:
|
|
- 920f6378fe582237-ORD
|
|
Alt-Svc:
|
|
- h3=":443"; ma=86400
|
|
Server-Timing:
|
|
- cfL4;desc="?proto=TCP&rtt=26670&min_rtt=26569&rtt_var=10167&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2829&recv_bytes=922&delivery_rate=105759&cwnd=181&unsent_bytes=0&cid=f0a872e0b2909c59&ts=188&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":249830,"date":"2024-01-01"}}'
|
|
recorded_at: Sat, 15 Mar 2025 22:18:46 GMT
|
|
recorded_with: VCR 6.3.1
|