Update codelist-api.rst

Fix endpoints typo