class_docstr: Base class client for a remote model registry server accessed via REST API calls
code: def _call_endpoint(
      self, api, json_body, call_all_endpoints=False, extra_headers=None
  ):
      response_proto = self._get_response_from_method(api)
      if call_all_endpoints:
          endpoints = self._get_all_endpoints_from_method(api)
          return call_endpoints(
              self.get_host_creds(),
              endpoints,
              json_body,
              response_proto,
              extra_headers,
          )
      else:
          endpoint, method = self._get_endpoint_from_method(api)
          return call_endpoint(
              self.get_host_creds(),
              endpoint,
              method,
              json_body,
              response_proto,
              extra_headers,
          )
  
file_path: mlflow/mlflow/store/model_registry/base_rest_store.py
imports: from abc import ABCMeta, abstractmethod
  from mlflow.store.model_registry.abstract_store import AbstractStore
  from mlflow.utils.annotations import experimental
  from mlflow.utils.rest_utils import call_endpoint, call_endpoints
label_desc: Use image node_id 5 for calling the BaseRestStore obj's underlying member method code with example usage: obj._call_endpoint(api, json_body, call_all_endpoints, extra_headers) and returns: call_endpoints, call_endpoint