fix typo

fix typo in api.md