feat: add charts API endpoints (GET list, DELETE with cascade)

This commit is contained in:
Marko Djordjevic 2026-02-13 00:12:53 +01:00
parent 92d3339a48
commit b53cb1b7d1
3 changed files with 39 additions and 2 deletions

View file

@ -9,8 +9,8 @@
## 2. Charts API Endpoints
- [ ] 2.1 Create `GET /api/charts` endpoint — returns all charts ordered by `created_at` desc
- [ ] 2.2 Create `DELETE /api/charts/[id]` endpoint — deletes chart + cascading candles and annotations in a transaction
- [x] 2.1 Create `GET /api/charts` endpoint — returns all charts ordered by `created_at` desc
- [x] 2.2 Create `DELETE /api/charts/[id]` endpoint — deletes chart + cascading candles and annotations in a transaction
## 3. Upload Endpoint Changes