Update api.md

Fix incorrect link