Sha256: 1447d46d6fc4a849fb102a29489f078d0862e5585619d160d656c79d5ca6926f
Contents?: true
Size: 933 Bytes
Versions: 11
Compression:
Stored size: 933 Bytes
Contents
module Elasticsearch module API module Indices module Actions # Get a list of all aliases, or aliases for a specific index. # # @example Get a list of all aliases # # client.indices.get_aliases # # @option arguments [List] :index A comma-separated list of index names to filter aliases # @option arguments [Time] :timeout Explicit timestamp for the document # # @see http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/ # def get_aliases(arguments={}) valid_params = [ :timeout ] method = 'GET' path = Utils.__pathify Utils.__listify(arguments[:index]), '_aliases' params = 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
11 entries across 11 versions & 1 rubygems