aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-31 01:18:37 +0900
committernsfisis <nsfisis@gmail.com>2025-12-31 01:20:00 +0900
commitef65c4e6d31b5df36bfff3254d614f61bf659bed (patch)
tree4cfab0983a1aa3f58c1b90c1a8bc17fa37c4049e /docs
parent139dd1a9ec77921ad757ec6bb9b2b97f9b1162c4 (diff)
downloadkioku-ef65c4e6d31b5df36bfff3254d614f61bf659bed.tar.gz
kioku-ef65c4e6d31b5df36bfff3254d614f61bf659bed.tar.zst
kioku-ef65c4e6d31b5df36bfff3254d614f61bf659bed.zip
feat(api): include note data in Card and Study route responses
Update Card GET endpoint to return note and field values when available, and Study GET endpoint to include note data for card display rendering. This enables the frontend to render note-based cards with their templates. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/roadmap.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/dev/roadmap.md b/docs/dev/roadmap.md
index 957f4c4..c3a4a19 100644
--- a/docs/dev/roadmap.md
+++ b/docs/dev/roadmap.md
@@ -180,15 +180,15 @@ Create these as default note types for each user:
- `PUT /api/note-types/:id/fields/:fieldId` - Update field
- `DELETE /api/note-types/:id/fields/:fieldId` - Remove field
- `PUT /api/note-types/:id/fields/reorder` - Reorder fields
-- [ ] Add Note routes
+- [x] Add Note routes
- `GET /api/decks/:deckId/notes` - List notes in deck
- `POST /api/decks/:deckId/notes` - Create note (auto-generates cards)
- `GET /api/decks/:deckId/notes/:noteId` - Get note with field values
- `PUT /api/decks/:deckId/notes/:noteId` - Update note field values
- `DELETE /api/decks/:deckId/notes/:noteId` - Delete note and its cards
-- [ ] Modify Card routes
+- [x] Modify Card routes
- Update GET to include note data when available
-- [ ] Modify Study routes
+- [x] Modify Study routes
- Fetch note/field data for card display
**Files to create/modify:**
@@ -299,6 +299,7 @@ Create these as default note types for each user:
- [ ] Remove deprecated `front`/`back` columns from Card (after migration)
- [ ] Update all tests
- [ ] Update API documentation
+- [ ] Update architecture.md
- [ ] Performance testing with multiple cards per note
## Migration Strategy