Module: OpenSearch::API::Remote::Actions

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

Instance Method Summary collapse

Instance Method Details

#info(_arguments = {}) ⇒ Object

Returns all of the configured remote cluster information



34
35
36
37
38
39
40
41
# File 'lib/opensearch/api/actions/remote/info.rb', line 34

def info(_arguments = {})
  method = HTTP_GET
  path   = '_remote/info'
  params = {}
  body   = nil

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