global: snapshot

This commit is contained in:
nym21
2026-03-02 15:28:13 +01:00
parent 4d97cec869
commit 4e7cd9ab6f
21 changed files with 595 additions and 373 deletions

View File

@@ -37,6 +37,10 @@ Get a metric by name and index:
GET /api/metric/{metric}/{index}
GET /api/metric/{metric}/{index}?start=-30
Example — last 30 days of Bitcoin closing price:
GET /api/metric/close/1d?start=-30
Fetch multiple metrics at once:
GET /api/metrics/bulk?index={index}&metrics={metric1},{metric2}