API Endpoints (Overview)
Authentication
POST /api/login— loginGET /api/logout— logout
Users
POST /api/user— create userGET /api/users— get all usersGET /api/users/:id— get user by IDPUT /api/users/:id— update user
Annotations
POST /api/annotation— create annotationGET /api/annotations— get all annotationsGET /api/annotations/:id— get annotation by IDPUT /api/annotations/:id— update annotationDELETE /api/annotations/:id— delete annotation
Projects
GET /api/projects/:projId/permissions— get project permissions
👉 Full API docs available in Swagger UI.