Fix incorrect API endpoints in api/schema/