change api_endpoint example in doc