New Features
REST API
- Token-based authentication - Enable API by setting
API_TOKEN environment variable
- Full CRUD endpoints for lists, sections, and items at
/api/v1/
- Batch creation - Create complex structures (list + sections + items) in a single request
- Reordering support - Move items up/down via API
- History/suggestions management - Add, view, and delete item suggestions
API Endpoints
| Resource | Endpoints |
|----------|-----------|
| Lists | GET, POST, PUT, DELETE /api/v1/lists |
| Sections | GET, POST, PUT, DELETE /api/v1/sections |
| Items | GET, POST, PUT, DELETE /api/v1/items |
| Batch | POST /api/v1/batch |
| History | GET, POST, DELETE /api/v1/history |
Usage
# Enable API
export API_TOKEN="your-secure-token"
# Example request
curl -H "Authorization: Bearer your-secure-token" \
http://localhost:3000/api/v1/lists
Bug Fixes
- Fixed
list_id not being returned in section responses