Sha256: 5b7e9cb1b5de93467b565751295b167dea6c675657e781a9022e6b1878b78c82

Contents?: true

Size: 1016 Bytes

Versions: 10

Compression:

Stored size: 1016 Bytes

Contents

module Elasticsearch
  module XPack
    module API
      module Actions

        # Retrieve information about xpack, including build number/timestamp and license status
        #
        # @option arguments [Boolean] :human Presents additional info for humans
        #                                   (feature descriptions and X-Pack tagline)
        # @option arguments [List] :categories Comma-separated list of info categories.
        #                                      (Options: build, license, features)
        #
        # @see https://www.elastic.co/guide/en/x-pack/current/info-api.html
        #
        def info(arguments={})
          valid_params = [
            :human,
            :categories ]

          method = Elasticsearch::API::HTTP_GET
          path   = "_xpack"
          params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
          body   = nil

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
elasticsearch-xpack-6.8.1 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.8.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.3.1 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.3.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.2.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.1.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-6.0.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-5.5.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-5.0.0 lib/elasticsearch/xpack/api/actions/info.rb
elasticsearch-xpack-0.1.0.pre lib/elasticsearch/xpack/api/actions/info.rb