Skip to content

Commit 3598b06

Browse files
committed
[API] Adds index_details parameter to snapshot.get
1 parent 91e8d71 commit 3598b06

File tree

1 file changed

+2
-0
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/snapshot

1 file changed

+2
-0
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/snapshot/get.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module Actions
2525
# @option arguments [List] :snapshot A comma-separated list of snapshot names
2626
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
2727
# @option arguments [Boolean] :ignore_unavailable Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown
28+
# @option arguments [Boolean] :index_details Whether to include details of each index in the snapshot, if those details are available. Defaults to false.
2829
# @option arguments [Boolean] :verbose Whether to show verbose snapshot info or only show the basic info found in the repository index blob
2930
# @option arguments [Hash] :headers Custom HTTP headers
3031
#
@@ -60,6 +61,7 @@ def get(arguments = {})
6061
ParamsRegistry.register(:get, [
6162
:master_timeout,
6263
:ignore_unavailable,
64+
:index_details,
6365
:verbose
6466
].freeze)
6567
end

0 commit comments

Comments
 (0)