{
    "name": "Alles Dashboard API",
    "version": "1.0.0",
    "status": "Operationeel",
    "base_url": "https://alles.jasperbisschop.nl",
    "endpoints": {
        "auth": {
            "login": {
                "method": "POST",
                "url": "https://alles.jasperbisschop.nl/api/auth.php?action=login",
                "body": "{\"username\":\"admin\",\"password\":\"admin123\"}",
                "auth_required": false
            },
            "register": {
                "method": "POST",
                "url": "https://alles.jasperbisschop.nl/api/auth.php?action=register",
                "body": "{\"username\":\"john\",\"email\":\"john@example.com\",\"password\":\"test1234\",\"first_name\":\"John\",\"last_name\":\"Doe\"}",
                "auth_required": false
            },
            "me": {
                "method": "GET",
                "url": "https://alles.jasperbisschop.nl/api/auth.php?action=me",
                "auth_required": true
            },
            "apps": {
                "method": "GET",
                "url": "https://alles.jasperbisschop.nl/api/auth.php?action=apps",
                "auth_required": true
            },
            "permissions": {
                "method": "GET",
                "url": "https://alles.jasperbisschop.nl/api/auth.php?action=permissions",
                "auth_required": true
            }
        },
        "admin": {
            "users": {
                "method": "GET",
                "url": "https://alles.jasperbisschop.nl/api/admin.php?action=users",
                "auth_required": true,
                "admin_only": true
            },
            "create_user": {
                "method": "POST",
                "url": "https://alles.jasperbisschop.nl/api/admin.php?action=create-user",
                "auth_required": true,
                "admin_only": true
            },
            "update_user_role": {
                "method": "PUT",
                "url": "https://alles.jasperbisschop.nl/api/admin.php?action=update-user-role",
                "auth_required": true,
                "admin_only": true
            },
            "deactivate_user": {
                "method": "DELETE",
                "url": "https://alles.jasperbisschop.nl/api/admin.php?action=deactivate-user",
                "auth_required": true,
                "admin_only": true
            }
        }
    },
    "default_admin": {
        "username": "admin",
        "password": "admin123",
        "note": "WIJZIG DIT WACHTWOORD NA EERSTE LOGIN!"
    },
    "documentation": "zie SETUP_INSTRUCTIES.md"
}