Method: Elasticsearch::API::Migration::Actions#get_feature_upgrade_status

Defined in:
lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb

#get_feature_upgrade_status(arguments = {}) ⇒ Object

Find out whether system features need to be upgraded or not

Parameters:

  • arguments (Hash) (defaults to: {})

    a customizable set of options

Options Hash (arguments):

  • :headers (Hash)

    Custom HTTP headers

See Also:


31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/elasticsearch/api/actions/migration/get_feature_upgrade_status.rb', line 31

def get_feature_upgrade_status(arguments = {})
  request_opts = { endpoint: arguments[:endpoint] || 'migration.get_feature_upgrade_status' }

  arguments = arguments.clone
  headers = arguments.delete(:headers) || {}

  body   = nil

  method = Elasticsearch::API::HTTP_GET
  path   = '_migration/system_features'
  params = {}

  Elasticsearch::API::Response.new(
    perform_request(method, path, params, body, headers, request_opts)
  )
end