lib/elasticsearch/api/actions/snapshot/status.rb in elasticsearch-api-2.0.2 vs lib/elasticsearch/api/actions/snapshot/status.rb in elasticsearch-api-5.0.0.pre
- old
+ new
@@ -13,16 +13,18 @@
#
# client.snapshot.status repository: 'my-backups', human: true
#
# @option arguments [String] :repository A repository name
# @option arguments [List] :snapshot A comma-separated list of snapshot names
+ # @option arguments [Boolean] :ignore_unavailable Whether to ignore unavailable snapshots, defaults to # false which means a SnapshotMissingException is thrown
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Number,List] :ignore The list of HTTP errors to ignore
#
# @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html#_snapshot_status
#
def status(arguments={})
valid_params = [
+ :ignore_unavailable,
:master_timeout ]
repository = arguments.delete(:repository)
snapshot = arguments.delete(:snapshot)