System
GET/healthHealth check
Auth
POST/api/auth/loginWeChat login
POST/api/auth/refreshRefresh token
GET/api/auth/meCurrent user
Generation
POST/api/generation/uploadUpload image
POST/api/generation/generateGenerate pattern
POST/api/generation/exportExport image
Works
GET/api/worksList works
GET/api/works/{id}Work detail
PUT/api/works/{id}Update work
DELETE/api/works/{id}Delete work
Colors
GET/api/colorsGet 221 bead colors
Quick test: curl http://127.0.0.1:8080/health |
curl http://127.0.0.1:8080/api/colors