elasticsearch-api/lib/elasticsearch/api/actions/migration/deprecations.rb
# Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
#
# @option arguments [String] :index Index pattern
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-deprecation.html
#
Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
Retrieves information about different cluster node and index level settings that use deprecated features that will be removed or changed in the next major version .
def deprecations(arguments = {})
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _index = arguments.delete(:index)
          method = Elasticsearch::API::HTTP_GET
          path   = if _index
                     "#{Utils.__listify(_index)}/_migration/deprecations"
                   else
                     "_migration/deprecations"
                   end
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def deprecations ( arguments = { } ) headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _index = arguments . delete ( :index ) method = Elasticsearch :: API :: HTTP_GET path = if _index "#{Utils.__listify(_index)}/_migration/deprecations" else "_migration/deprecations" end params = { } perform_request ( method , path , params , body , headers ) . body end
Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
Retrieves information about different cluster node and index level settings that use deprecated features that will be removed or changed in the next major version .
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None