Update docs/api.md

fixed link in docs