Module: Elasticsearch::API::Remote::Actions

Included in:
RemoteClient
Defined in:
lib/elasticsearch/api/namespace/remote.rb,
lib/elasticsearch/api/actions/remote/info.rb

Instance Method Summary collapse

Instance Method Details

#info(arguments = {}) ⇒ Object

Returns all of the configured remote cluster information


26
27
28
29
30
31
32
33
# File 'lib/elasticsearch/api/actions/remote/info.rb', line 26

def info(arguments = {})
  method = HTTP_GET
  path   = "_remote/info"
  params = {}
  body   = nil

  perform_request(method, path, params, body).body
end