Changed description slightly and made the endpoint info generic