Namespace: API-Features

API-Features

Methods

(static) FeaturesApi#getFeatures(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}

Gets a list of features
Parameters:
Name Type Attributes Description
params Object
Properties
Name Type Attributes Description
cluster_manager_timeout string <optional>
Explicit operation timeout for connection to cluster_manager node
options Object <optional>
Options for Transport#request
callback function <optional>
Callback that handles errors and response
Source:
Returns:
Type
Object | Promise.<never> | *

(static) FeaturesApi#resetFeatures(params, optionsopt, callbackopt) → {Object|Promise.<never>|*}

Resets the internal state of features, usually by deleting system indices
Parameters:
Name Type Attributes Description
params Object (Unused)
options Object <optional>
Options for Transport#request
callback function <optional>
Callback that handles errors and response
Source:
Returns:
Type
Object | Promise.<never> | *