{"message":"Welcome to Smartiz API","version":"1.0.0","endpoints":["GET /health - Health check","GET / - Welcome message","POST /api/auth/request-otp - Request OTP","POST /api/auth/verify-otp - Verify OTP and login","GET /api/users/profile - Get user profile (Protected)","PUT /api/users/profile - Update user profile (Protected)","DELETE /api/users/profile - Remove user profile (Protected)","POST /api/users/complete-profile - Complete user profile (Protected)","POST /api/admin/login - Admin login","GET /api/admin/profile - Get admin profile (Protected)","PUT /api/admin/password - Change admin password (Protected)","POST /api/admin/logout - Admin logout (Protected)","GET /api/content/education-levels - Get education levels (Admin)","GET /api/content/textbooks - Get textbooks (Admin)","GET /api/content/chapters/:id - Get chapters (Admin)","GET /api/content/lessons/:id - Get lessons (Admin)","POST /api/content-ingestion/upload - Upload and process PDF (Admin)","POST /api/content-ingestion/preview - Preview PDF structure (Admin)","GET /api/content-ingestion/logs - Get ingestion logs (Admin)","GET /api/content-ingestion/status/:id - Get ingestion status (Admin)","DELETE /api/content-ingestion/:id - Delete ingestion log (Admin)","POST /api/content-ingestion/:id/cancel - Cancel ingestion (Admin)","POST /api/upload/images - Upload images (Admin)","GET /api/upload/files/:filename - Serve uploaded files","POST /api/children - Add child (Protected)","GET /api/children - Get children (Protected)","DELETE /api/children/:childId - Remove child (Protected)","GET /api/connections/teachers/search - Search teachers by phone (Student)","POST /api/connections/teachers - Add teacher connection (Student)","DELETE /api/connections/teachers - Remove teacher connection (Student)","GET /api/connections/teachers - Get connected teachers (Student)","GET /api/connections/students/search - Search students by phone (Teacher)","POST /api/connections/students - Add student connection (Teacher)","DELETE /api/connections/students - Remove student connection (Teacher)","GET /api/connections/students - Get connected students (Teacher)","POST /api/chat - Create new chat (Protected)","GET /api/chat - Get user chats (Protected)","GET /api/chat/:chatId - Get chat by ID (Protected)","GET /api/chat/:chatId/messages - Get chat messages (Protected)","POST /api/chat/:chatId/messages - Send message with streaming (Protected)","PUT /api/chat/:chatId/title - Update chat title (Protected)","DELETE /api/chat/:chatId - Delete chat (Protected)","GET /api/ai-chat/ws/:chatId - AI Chat WebSocket connection","GET /api/ai-chat/chats - Get AI chats list","POST /api/ai-chat/chats - Create new AI chat","DELETE /api/ai-chat/chats/:chatId - Delete AI chat","GET /api/ai-chat/chats/:chatId/messages - Get AI chat messages"],"environment":"production"}