{
    "api": "Вдвижухе API",
    "version": "2.0.0",
    "description": "Complete REST API for managing events, users, participants, reviews, messages, notifications, dating, and more",
    "documentation": "See API_DOCUMENTATION.md for complete documentation",
    "timestamp": "2026-05-21T19:09:02+03:00",
    "request_info": {
        "method": "GET",
        "uri": "/",
        "parsed_path": "",
        "segments": []
    },
    "endpoints": {
        "GET /events": "Get all events with pagination and filters",
        "GET /events/{id}": "Get single event by ID",
        "GET /events/popular": "Get popular events",
        "GET /events/upcoming": "Get upcoming events",
        "GET /events/categories": "Get event categories",
        "GET /events/statistics": "Get events statistics",
        "GET /events/search?q={query}": "Search events",
        "GET /events/nearby": "Get nearby events",
        "POST /events": "Create new event",
        "POST /events/{id}/join": "Join event",
        "PUT /events/{id}": "Update event",
        "PUT /events/{id}/status": "Update event status",
        "DELETE /events/{id}": "Delete event",
        "DELETE /events/{id}/leave": "Leave event",
        "GET /events/{id}/participants": "Get event participants",
        "POST /events/{id}/participants/{userId}/approve": "Approve participant",
        "POST /events/{id}/participants/{userId}/reject": "Reject participant",
        "GET /users": "Get all users",
        "GET /users/{id}": "Get user profile",
        "GET /users/search?q={query}": "Search users",
        "GET /users/statistics": "Get users statistics",
        "POST /users": "Create user",
        "POST /users/register": "Register new user",
        "PUT /users/{id}": "Update user",
        "DELETE /users/{id}": "Delete user",
        "GET /participants?event_id={id}": "Get event participants",
        "GET /participants?user_id={id}": "Get user participations",
        "GET /participants/check?event_id={id}&user_id={id}": "Check participation",
        "POST /participants": "Join event",
        "PUT /participants/{id}/status": "Update participation status",
        "DELETE /participants?event_id={id}&user_id={id}": "Leave event",
        "GET /reviews?target_id={id}": "Get user reviews",
        "GET /reviews?event_id={id}": "Get event reviews",
        "GET /reviews/{id}": "Get review by ID",
        "GET /reviews/statistics?user_id={id}": "Get review statistics",
        "POST /reviews": "Create review",
        "PUT /reviews/{id}": "Update review",
        "PUT /reviews/{id}/visibility": "Toggle review visibility",
        "DELETE /reviews/{id}": "Delete review",
        "GET /messages?chat_id={id}": "Get chat messages",
        "GET /messages/{id}": "Get message by ID",
        "GET /messages/unread?chat_id={id}&user_id={id}": "Get unread count",
        "POST /messages": "Send message",
        "PUT /messages/{id}": "Update message",
        "DELETE /messages/{id}": "Delete message",
        "GET /notifications?user_id={id}": "Get user notifications",
        "GET /notifications/{id}": "Get notification by ID",
        "GET /notifications/unread-count?user_id={id}": "Get unread count",
        "GET /notifications/types": "Get notification types",
        "POST /notifications": "Create notification",
        "PUT /notifications/{id}/read": "Mark as read",
        "PUT /notifications/read-all": "Mark all as read",
        "DELETE /notifications/{id}": "Delete notification",
        "POST /auth/login": "Login by phone (or email) and password",
        "POST /auth/register": "Register new user (phone required, email optional)",
        "POST /auth/verify-phone": "Verify phone number",
        "POST /auth/social-login": "Social login (VK, Telegram, MAX)",
        "POST /auth/forgot-password": "Request password reset",
        "POST /auth/reset-password": "Reset password",
        "POST /auth/refresh": "Refresh token",
        "GET /dating/profile": "Get dating profile",
        "PUT /dating/profile": "Update dating profile",
        "GET /dating/recommendations": "Get swipe recommendations",
        "POST /dating/swipe": "Swipe (like/dislike/superlike)",
        "GET /dating/matches": "Get matches",
        "GET /dating/liked-me": "Get who liked me (VIP)",
        "GET /dating/stats": "Get dating statistics",
        "GET /dating/chats": "Get dating chats",
        "GET /dating/chats/{id}": "Get chat messages",
        "POST /dating/chats/{id}/messages": "Send message",
        "POST /dating/chats/{id}/invite-to-event": "Invite to event",
        "GET /invitations": "Get invitations",
        "GET /invitations/{id}": "Get invitation by ID",
        "POST /invitations": "Create invitation",
        "PUT /invitations/{id}": "Respond to invitation",
        "DELETE /invitations/{id}": "Cancel invitation",
        "GET /vip/status": "Get VIP status",
        "GET /vip/features": "Get VIP features",
        "POST /vip/subscribe": "Subscribe to VIP",
        "PUT /vip/cancel": "Cancel VIP subscription",
        "GET /favorites/events": "Get favorite events",
        "POST /favorites/events/{id}": "Add to favorites",
        "DELETE /favorites/events/{id}": "Remove from favorites",
        "POST /reports": "Create report",
        "POST /push-tokens": "Register push token",
        "DELETE /push-tokens": "Unregister push token",
        "GET /admin/reports": "Get reports (admin only)",
        "PUT /admin/reports/{id}": "Update report status (admin only)",
        "GET /admin/statistics": "Get statistics (admin only)",
        "GET /admin/users": "Get users list (admin only)",
        "PUT /admin/users/{id}/block": "Block/unblock user (admin only)",
        "GET /admin/events": "Get events for moderation (admin only)",
        "POST /payments/create-intent": "Create payment intent",
        "POST /payments/confirm": "Confirm payment",
        "GET /payments/history": "Get payment history",
        "GET /info": "Get site statistics",
        "PUT /info": "Update site statistics (admin only)",
        "GET /users/{id}/reviews": "Get user reviews",
        "POST /users/{id}/verify-selfie": "Upload verification selfie",
        "POST /users/{id}/report": "Report user",
        "GET /events/{id}/chat": "Get event chat",
        "GET /events/{id}/chat/messages": "Get event chat messages",
        "POST /events/{id}/chat/messages": "Send message to event chat",
        "POST /auth/verify-phone-code": "Verify phone code"
    },
    "url_patterns": {
        "Basic CRUD": {
            "GET /{resource}": "List all items",
            "GET /{resource}/{id}": "Get item by ID",
            "POST /{resource}": "Create new item",
            "PUT /{resource}/{id}": "Update item",
            "DELETE /{resource}/{id}": "Delete item"
        },
        "Actions": {
            "POST /{resource}/{action}": "Perform action (e.g., /users/login)",
            "POST /{resource}/{id}/{action}": "Perform action on specific item (e.g., /events/123/status)",
            "GET /{resource}/{action}/{subaction}": "Nested actions (e.g., /events/export/csv)"
        }
    }
}