Update api.txt to fix inconsistency in field name