Migration to RESTful API v1
Complete migration from legacy RPC-style API endpoints to modern RESTful architecture.
New REST API v1 (/api/v1/):
- 11 controllers created: Notes, Folders, Trash, Workspaces, Tags, Attachments, Share, Settings, Backup, System
- 40 legacy API files migrated to REST endpoints
- Custom Router class for pattern matching and HTTP verb routing
Updated Documentation:
- OpenAPI/Swagger spec reduced from 2112 to ~1200 lines
- README API section completely rewritten with REST v1 examples
JavaScript Updates:
- All frontend files updated to use new REST endpoints