Update api.md

fix a slight copy/cut error that misled me for 10 minutes ;)