Module: Elasticsearch::API::Features::Actions
- Included in:
- FeaturesClient
- Defined in:
- lib/elasticsearch/api/namespace/features.rb,
lib/elasticsearch/api/actions/features/get_features.rb,
lib/elasticsearch/api/actions/features/params_registry.rb
Defined Under Namespace
Modules: ParamsRegistry
Instance Method Summary collapse
-
#get_features(arguments = {}) ⇒ Object
Returns a list of features which can be snapshotted in this cluster.
Instance Method Details
#get_features(arguments = {}) ⇒ Object
Returns a list of features which can be snapshotted in this cluster.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/elasticsearch/api/actions/features/get_features.rb', line 29 def get_features(arguments = {}) headers = arguments.delete(:headers) || {} arguments = arguments.clone method = Elasticsearch::API::HTTP_GET path = "_features" params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__) body = nil perform_request(method, path, params, body, headers).body end |