Update Api.php

quit ldd