API.md: clarify some inconsistent data types