diff --git a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json
index e37a9797996..fd338fe2511 100644
--- a/src/ApiGenerator/RestSpecification/Core/snapshot.get.json
+++ b/src/ApiGenerator/RestSpecification/Core/snapshot.get.json
@@ -38,6 +38,10 @@
"type":"boolean",
"description":"Whether to ignore unavailable snapshots, defaults to false which means a SnapshotMissingException is thrown"
},
+ "index_details":{
+ "type":"boolean",
+ "description":"Whether to include details of each index in the snapshot, if those details are available. Defaults to false."
+ },
"verbose":{
"type":"boolean",
"description":"Whether to show verbose snapshot info or only show the basic info found in the repository index blob"
diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs
index 2aa6166e53f..0e574e1a871 100644
--- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs
+++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Snapshot.cs
@@ -149,6 +149,13 @@ public bool? IgnoreUnavailable
set => Q("ignore_unavailable", value);
}
+ ///Whether to include details of each index in the snapshot, if those details are available. Defaults to false.
+ public bool? IndexDetails
+ {
+ get => Q("index_details");
+ set => Q("index_details", value);
+ }
+
///Explicit operation timeout for connection to master node
public TimeSpan MasterTimeout
{