Skip to content

Commit 7fed5fd

Browse files
committed
[API] Adds include_repository parameter to snapshot.get
1 parent 0e81804 commit 7fed5fd

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
@@ -26,6 +26,7 @@ module Actions
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
2828
# @option arguments [Boolean] :index_details Whether to include details of each index in the snapshot, if those details are available. Defaults to false.
29+
# @option arguments [Boolean] :include_repository Whether to include the repository name in the snapshot info. Defaults to true.
2930
# @option arguments [Boolean] :verbose Whether to show verbose snapshot info or only show the basic info found in the repository index blob
3031
# @option arguments [Hash] :headers Custom HTTP headers
3132
#
@@ -62,6 +63,7 @@ def get(arguments = {})
6263
:master_timeout,
6364
:ignore_unavailable,
6465
:index_details,
66+
:include_repository,
6567
:verbose
6668
].freeze)
6769
end

0 commit comments

Comments
 (0)