{
    "system": "EduPack Institutional OS API",
    "domain": "edupack.org",
    "live_server": "https://api.edupack.org/v1/",
    "base_url": "https://api.edupack.org/v1/",
    "version": "1.0.0",
    "php_version": "8.2.33",
    "database_connected": false,
    "database": "edupack",
    "database_stats": [],
    "auth_policy": {
        "token_type": "Bearer",
        "lifetime_seconds": 21600,
        "lifetime_human": "6 Hours",
        "master_role": "proprietor (Universal Access)"
    },
    "live_endpoints": {
        "POST /v1/auth/login.php": "Proprietor login (6-hour token)",
        "GET /v1/auth/me.php": "Proprietor active profile & session info",
        "POST /v1/auth/refresh.php": "Extend session by 6 hours",
        "POST /v1/auth/logout.php": "Revoke token session",
        "GET /v1/dashboard/stats.php": "Executive KPIs & financial ledger",
        "GET /v1/staff/list.php": "Faculty & staff directory",
        "POST /v1/staff/create.php": "Enroll new staff member",
        "POST /v1/staff/update.php": "Update staff record",
        "POST /v1/staff/delete.php": "Delete staff record",
        "POST /v1/staff/toggle_status.php": "Toggle Active / On Leave",
        "GET /v1/students/list.php": "Students roster (grouped/flat)",
        "GET /v1/students/dossier.php?id={id}": "Full student dossier & grades",
        "GET /v1/classes/list.php": "Class cohorts and arms",
        "GET /v1/subjects/list.php": "Curriculum directory",
        "GET /database/setup.php": "Run DB schema migration & seeder"
    },
    "legacy_endpoints": {
        "POST /api/auth/login.php": "Legacy alias for /v1/auth/login.php",
        "GET /api/dashboard/stats.php": "Legacy alias for /v1/dashboard/stats.php"
    }
}