{
    "info": {
        "version": "v1.0.0",
        "name": "YessFish App API",
        "description": "Complete REST API for YessFish Flutter App",
        "base_url": "https:\/\/app.yessfish.com",
        "documentation_url": "https:\/\/app.yessfish.com"
    },
    "authentication": [
        {
            "endpoint": "\/auth\/register.php",
            "method": "POST",
            "description": "Register new user",
            "requires_auth": false
        },
        {
            "endpoint": "\/auth\/login.php",
            "method": "POST",
            "description": "Login user",
            "requires_auth": false
        },
        {
            "endpoint": "\/auth\/logout.php",
            "method": "POST",
            "description": "Logout user",
            "requires_auth": true
        }
    ],
    "profile": [
        {
            "endpoint": "\/profile\/me.php",
            "method": "GET",
            "description": "Get current user profile",
            "requires_auth": true
        },
        {
            "endpoint": "\/profile\/update.php",
            "method": "POST",
            "description": "Update user profile",
            "requires_auth": true
        }
    ],
    "catches": [
        {
            "endpoint": "\/catches\/create.php",
            "method": "POST",
            "description": "Create new catch",
            "requires_auth": true
        },
        {
            "endpoint": "\/catches\/list.php",
            "method": "GET",
            "description": "List catches",
            "requires_auth": false
        }
    ],
    "posts": [
        {
            "endpoint": "\/posts\/create.php",
            "method": "POST",
            "description": "Create new post",
            "requires_auth": true
        },
        {
            "endpoint": "\/posts\/feed.php",
            "method": "GET",
            "description": "Get feed\/timeline",
            "requires_auth": false
        },
        {
            "endpoint": "\/posts\/like.php",
            "method": "POST",
            "description": "Like\/unlike post",
            "requires_auth": true
        },
        {
            "endpoint": "\/posts\/comment.php",
            "method": "POST",
            "description": "Comment on post",
            "requires_auth": true
        }
    ],
    "messages": [
        {
            "endpoint": "\/messages\/conversations.php",
            "method": "GET",
            "description": "Get all conversations",
            "requires_auth": true
        },
        {
            "endpoint": "\/messages\/get.php",
            "method": "GET",
            "description": "Get messages in conversation",
            "requires_auth": true
        },
        {
            "endpoint": "\/messages\/send.php",
            "method": "POST",
            "description": "Send message",
            "requires_auth": true
        }
    ],
    "fishing_spots": [
        {
            "endpoint": "\/spots\/list.php",
            "method": "GET",
            "description": "List fishing spots (with location filter)",
            "requires_auth": false
        }
    ],
    "notifications": [
        {
            "endpoint": "\/notifications\/list.php",
            "method": "GET",
            "description": "List notifications",
            "requires_auth": true
        },
        {
            "endpoint": "\/notifications\/mark_read.php",
            "method": "POST",
            "description": "Mark notification(s) as read",
            "requires_auth": true
        }
    ],
    "friends": [
        {
            "endpoint": "\/friends\/list.php",
            "method": "GET",
            "description": "List friends",
            "requires_auth": true
        },
        {
            "endpoint": "\/friends\/send_request.php",
            "method": "POST",
            "description": "Send friend request",
            "requires_auth": true
        },
        {
            "endpoint": "\/friends\/respond.php",
            "method": "POST",
            "description": "Accept\/reject friend request",
            "requires_auth": true
        }
    ],
    "settings": [
        {
            "endpoint": "\/settings\/privacy.php",
            "method": "GET\/POST",
            "description": "Get\/update privacy settings",
            "requires_auth": true
        }
    ]
}