api.php: changed root api path