elasticsearch-api/lib/elasticsearch/api/actions/cross_cluster_replication/follow_info.rb
# Retrieves information about all follower indices, including parameters and status for each follower index
#
# @option arguments [List] :index A comma-separated list of index patterns; use `_all` to perform the operation on all indices
# @option arguments [Hash] :headers Custom HTTP headers
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html
#
Retrieves information about all follower indices, including parameters and status for each follower index
Retrieves information about all follower indices including parameters and status for each follower index
def follow_info(arguments = {})
          raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
          headers = arguments.delete(:headers) || {}
          body = nil
          arguments = arguments.clone
          _index = arguments.delete(:index)
          method = Elasticsearch::API::HTTP_GET
          path   = "#{Utils.__listify(_index)}/_ccr/info"
          params = {}
          perform_request(method, path, params, body, headers).body
        end
def follow_info ( arguments = { } ) raise ArgumentError , "Required argument 'index' missing" unless arguments [ :index ] headers = arguments . delete ( :headers ) || { } body = nil arguments = arguments . clone _index = arguments . delete ( :index ) method = Elasticsearch :: API :: HTTP_GET path = "#{Utils.__listify(_index)}/_ccr/info" params = { } perform_request ( method , path , params , body , headers ) . body end
Retrieves information about all follower indices, including parameters and status for each follower index
Retrieves information about all follower indices including parameters and status for each follower index
arguments
:headers Custom HTTP headers
: headers Custom HTTP headers
see
None