Cleaned code in api.php