use generic name for api endpoint.