Update api.md

Added missing end punctuation.