{"service":"KiraX Chat API Service","status":"Running","time":"2026-05-26T00:16:10.6507131+03:00","version":"1.0","environment":"Production","endpoints":["/chatHub - SignalR Hub","/api/chat/partners - Get chat partners","/api/chat/partners-with-unread - Get chat partners with unread counts","/api/chat/history/{partnerId} - Get chat history","/api/chat/send-message - Send message","/api/chat/unread-count - Get total unread count + chat count","/api/chat/unread-summary - Get detailed unread summary","/api/chat/unread-by-chats - Get unread messages by individual chats","/api/chat/unread-count/{partnerId} - Get unread count for specific chat","/api/chat/GetPartner/{partnerId} - Get partner details by ID","/api/chat/GetPartnerByUsername/{username} - Get partner by exact username","/api/chat/search-partners?q={term}&limit={count} - Search all users by name","/api/chat/search-chat-partners?q={term}&limit={count} - Search only chat partners","/api/notification/register-token - Register device for push notifications","/api/notification/unregister-token - Unregister device token","/api/notification/test-notification - Send test push notification","/health - Health check","/swagger - API Documentation"],"socketMethods":["SendMessage(receiverUserId, message) - Send real-time message","MarkMessagesAsRead(senderUserId) - Mark messages as read","GetUnreadCount() - Get total unread count + chat count","GetUnreadSummary() - Get detailed unread breakdown","GetUnreadCountForChat(partnerId) - Get unread count for specific chat","StartTyping(receiverUserId) - Notify typing started","StopTyping(receiverUserId) - Notify typing stopped","CheckUserOnlineStatus(userId) - Check if user is online","\uD83C\uDD95 Heartbeat() - Client heartbeat to keep connection alive","\uD83C\uDD95 GetActiveConnections() - Get list of all active connections (admin)","\uD83C\uDD95 GetDebugInfo() - Get debug information for current user","GetOnlineUsersCount() - Get count of online users","Ping() - Basic ping test","TestMethod() - Test method (anonymous)"],"socketEvents":["ReceiveMessage - New message received","NewMessageNotification - Push notification data","UnreadCountUpdate - Total unread count + chat count updated","UnreadSummaryUpdate - Detailed unread breakdown updated","ChatUnreadCountUpdate - Specific chat unread count updated","MessagesRead - Messages marked as read","UserStartedTyping - User started typing","UserStoppedTyping - User stopped typing","UserOnlineStatus - User online status response (deprecated)","\uD83C\uDD95 UserStatusResponse - Enhanced user status response","UserStatusChanged - User went online/offline","MessageSent - Message sent confirmation","MessageError - Message sending error","\uD83C\uDD95 ConnectionEstablished - Connection confirmation from server","\uD83C\uDD95 HeartbeatResponse - Heartbeat response from server","\uD83C\uDD95 ConnectionError - Connection error from server","\uD83C\uDD95 ActiveConnectionsList - List of active connections (admin)","\uD83C\uDD95 DebugInfo - Debug information response","OnlineUsersCount - Online users count (enhanced with unique users + total connections)","Pong - Ping response","TestResponse - Test method response"],"newFeatures":["\uD83D\uDD04 Auto-reconnection with exponential backoff","\uD83D\uDC93 Client-side heartbeat mechanism","\uD83D\uDD0D Enhanced connection debugging","\uD83D\uDCCA Multiple connection support per user","\uD83E\uDDF9 Automatic stale connection cleanup","\uD83D\uDCF1 Improved connection status tracking","⚡ Better error handling and recovery","\uD83D\uDD17 Connection state management","\uD83D\uDCC8 Connection analytics and monitoring"]}