Method: OpenSearch::API::Indices::Actions#shard_stores
- Defined in:
- lib/opensearch/api/actions/indices/shard_stores.rb
#shard_stores(arguments = {}) ⇒ Object
Provides store information for shard copies of indices.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/opensearch/api/actions/indices/shard_stores.rb', line 41 def shard_stores(arguments = {}) headers = arguments.delete(:headers) || {} arguments = arguments.clone _index = arguments.delete(:index) method = OpenSearch::API::HTTP_GET path = if _index "#{Utils.__listify(_index)}/_shard_stores" else "_shard_stores" end params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__) body = nil perform_request(method, path, params, body, headers).body end |