code: def get_repository_method(namespace, method, snapshot_id, wdl_only=False):
      
      uri = "methods/{0}/{1}/{2}?onlyPayload={3}".format(namespace, method,
                                                         snapshot_id,
                                                         str(wdl_only).lower())
      return __get(uri)
docs: Get a method definition from the method repository.
  
      Args:
          namespace (str): Methods namespace
          method (str): method name
          version (int): snapshot_id of the method
          wdl_only (bool): Exclude metadata
  
      Swagger:
          https://api.firecloud.org/#!/Method_Repository/get_api_methods_namespace_name_snapshotId