{
    "name": "Kishan Singh Portfolio PHP API",
    "version": "1.0.0",
    "description": "RESTful API for portfolio management system",
    "endpoints": {
        "authentication": {
            "POST \/login.php": "User authentication",
            "GET \/logout.php": "User logout"
        },
        "gallery": {
            "POST \/save_gallery_img.php": "Upload gallery image",
            "POST \/get_images.php": "Get all gallery images",
            "POST \/delete_image.php": "Delete gallery image"
        },
        "news": {
            "POST \/save_news.php": "Create news article",
            "POST \/get_news.php": "Get all news articles",
            "POST \/delete_news.php": "Delete news article"
        },
        "users": {
            "POST \/add_user.php": "Create new user",
            "POST \/userlist.php": "Get all users",
            "POST \/delete_user.php": "Delete user"
        },
        "contacts": {
            "POST \/get_contacts.php": "Get contact submissions"
        }
    },
    "response_format": {
        "success": "1|0",
        "message": "Response message",
        "data": "Optional data payload"
    },
    "authentication": "Session-based, required for all admin endpoints",
    "documentation": "See README.md for detailed API documentation"
}