Skip to content

Add note search API - #25

Merged
Clearner1 merged 1 commit into
mainfrom
codex
Aug 14, 2026
Merged

Add note search API#25
Clearner1 merged 1 commit into
mainfrom
codex

Conversation

@Clearner1

Copy link
Copy Markdown
Owner

Summary

  • add POST /v1/notes/search using native Anki queries
  • return matching note fields and tags with bounded pagination
  • cover tag, embedded-index, ordering, pagination, and empty-result behavior

Why

AIHOT and other trusted AI clients need one read-only endpoint to retrieve cards by tag, content, or an index already embedded in the card.

Validation

  • npm run lint
  • npm run typecheck
  • npm test
  • npm run deadcode
  • npm run build
  • git diff --check

@Clearner1
Clearner1 merged commit 90754c0 into main Aug 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant