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



13
14
15
16
17
18
19
20
# File 'lib/elasticsearch/api/actions/remote/info.rb', line 13

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

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