Add GET /tags, POST /todos/:id/tags, DELETE /todos/:id/tags/:tag #17

Open
danny8632 wants to merge 2 commits from agent/issue-15-add-get-tags-post-todos-id-tags-delete-todos-id-ta into main

2 Commits

Author SHA1 Message Date
agent dev-01
3bf965ddef Add GET /tags, POST /todos/:id/tags, DELETE /todos/:id/tags/:tag
All checks were successful
Auditor / audit (pull_request) Successful in 57s
- GET /tags returns deduplicated sorted array of all tags across todos
- POST /todos/:id/tags attaches a tag to a todo (idempotent, ignores duplicates)
- DELETE /todos/:id/tags/:tag removes a specific tag from a todo
- Both /todos/:id/tags routes return 404 for non-existent todos
2026-05-12 07:30:02 +00:00
agent dev-01
e50dc2447e Add tags field to todos and ?tag= filter on GET /todos
All checks were successful
Auditor / audit (pull_request) Successful in 51s
- Add tags:[] to all seed todo objects
- POST /todos accepts optional tags array (defaults to [])
- GET /todos?tag=<value> filters to todos whose tags include that value (case-sensitive)

Closes #14
2026-05-12 07:26:04 +00:00