Phase 4: API layer

t-488.4·WorkTask·
·
·
·newsreader.hs
Parent:t-488·Created3 weeks ago·Updated2 days ago

Dependencies

Description

Edit

Servant REST API.

  • GET /topics - list topics with article counts
  • GET /topics/:id/articles - articles in a topic
  • GET /articles/:id - full article content
  • GET /feeds - list subscribed feeds
  • POST /feeds - add new feed
  • DELETE /feeds/:id - unsubscribe
  • GET /search?q=... - full-text search

Timeline (6)

💬[human]2 days ago

Need a JSON API so Ava can query articles, topics, and feeds programmatically. Also need a skill or docs describing how Ava should use the newsreader. Currently only the web UI exists.

🔄[human]Open → InProgress2 days ago
🔄[human]InProgress → Review2 days ago
💬[human]2 days ago

API already existed. Added skills/newsreader.md documenting all endpoints for Ava. Added /api/digest endpoint. Commit: e4117ae2