{"message":"ELP Server - Serveur de gestion des rapports vidéo chiffrés","status":"running","version":"2.0.0","auth":"maison (JWT + RBAC)","endpoints":{"public":{"info":"GET /","health":"GET /health","upload":"POST /upload","myReports":"GET /api/my-reports/:deviceId","registerDevice":"POST /api/register-device"},"auth":{"login":"POST /auth/login","logout":"POST /auth/logout","refresh":"POST /auth/refresh","me":"GET /auth/me","changePassword":"POST /auth/change-password"},"protected":{"allReports":"GET /api/reports (permission: reports:read_all)","report":"GET /api/report/:reportId (permission: reports:read_all)","deleteReport":"DELETE /api/reports/:reportId (permission: reports:delete)","video":"GET /api/video/:reportId (permission: videos:read_all)","videoH264":"GET /api/video/:reportId/h264 (permission: videos:read_all)","videoDownload":"GET /api/video/:reportId/download (permission: videos:read_all)","deleteVideo":"DELETE /api/video/:reportId/file (permission: videos:delete)","adminUsers":"GET /admin/users (auth requise)"}},"authInfo":"Les endpoints protégés nécessitent un token JWT via \"Authorization: Bearer <token>\"","roles":{"admin":"Accès complet (toutes permissions)","user":"Accès limité (reports:read_all, videos:read_all)"}}