Skip to main content

API Endpoints (Overview)

Authentication

  • POST /api/login — login
  • GET /api/logout — logout

Users

  • POST /api/user — create user
  • GET /api/users — get all users
  • GET /api/users/:id — get user by ID
  • PUT /api/users/:id — update user

Annotations

  • POST /api/annotation — create annotation
  • GET /api/annotations — get all annotations
  • GET /api/annotations/:id — get annotation by ID
  • PUT /api/annotations/:id — update annotation
  • DELETE /api/annotations/:id — delete annotation

Projects

  • GET /api/projects/:projId/permissions — get project permissions

👉 Full API docs available in Swagger UI.