@@ -86,6 +86,8 @@ public CatAllocationDescriptor(NodeIds nodeId): base(r => r.Optional("node_id",
8686 ///<summary>A comma-separated list of node IDs or names to limit the returned information</summary>
8787 public CatAllocationDescriptor NodeId ( NodeIds nodeId ) => Assign ( nodeId , ( a , v ) => a . RouteValues . Optional ( "node_id" , v ) ) ;
8888 // Request parameters
89+ ///<summary>The unit in which to display byte values</summary>
90+ public CatAllocationDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
8991 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
9092 public CatAllocationDescriptor Format ( string format ) => Qs ( "format" , format ) ;
9193 ///<summary>Comma-separated list of column names to display</summary>
@@ -165,6 +167,8 @@ public CatFielddataDescriptor(Fields fields): base(r => r.Optional("fields", fie
165167 ///<summary>A comma-separated list of fields to return the fielddata size</summary>
166168 public CatFielddataDescriptor Fields < T > ( params Expression < Func < T , object > > [ ] fields ) => Assign ( fields , ( a , v ) => a . RouteValues . Optional ( "fields" , ( Fields ) v ) ) ;
167169 // Request parameters
170+ ///<summary>The unit in which to display byte values</summary>
171+ public CatFielddataDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
168172 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
169173 public CatFielddataDescriptor Format ( string format ) => Qs ( "format" , format ) ;
170174 ///<summary>Comma-separated list of column names to display</summary>
@@ -242,6 +246,8 @@ public CatIndicesDescriptor Index<TOther>()
242246 ///<summary>A shortcut into calling Index(Indices.All)</summary>
243247 public CatIndicesDescriptor AllIndices ( ) => Index ( Indices . All ) ;
244248 // Request parameters
249+ ///<summary>The unit in which to display byte values</summary>
250+ public CatIndicesDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
245251 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
246252 public CatIndicesDescriptor Format ( string format ) => Qs ( "format" , format ) ;
247253 ///<summary>Comma-separated list of column names to display</summary>
@@ -314,6 +320,8 @@ public partial class CatNodesDescriptor : RequestDescriptorBase<CatNodesDescript
314320 internal override ApiUrls ApiUrls => ApiUrlsLookups . CatNodes ;
315321 // values part of the url path
316322 // Request parameters
323+ ///<summary>The unit in which to display byte values</summary>
324+ public CatNodesDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
317325 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
318326 public CatNodesDescriptor Format ( string format ) => Qs ( "format" , format ) ;
319327 ///<summary>Return the full node ID instead of the shortened version (default: false)</summary>
@@ -403,6 +411,8 @@ public CatRecoveryDescriptor Index<TOther>()
403411 // Request parameters
404412 ///<summary>If `true`, the response only includes ongoing shard recoveries</summary>
405413 public CatRecoveryDescriptor ActiveOnly ( bool ? activeonly = true ) => Qs ( "active_only" , activeonly ) ;
414+ ///<summary>The unit in which to display byte values</summary>
415+ public CatRecoveryDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
406416 ///<summary>If `true`, the response includes detailed information about shard recoveries</summary>
407417 public CatRecoveryDescriptor Detailed ( bool ? detailed = true ) => Qs ( "detailed" , detailed ) ;
408418 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
@@ -466,6 +476,8 @@ public CatSegmentsDescriptor Index<TOther>()
466476 ///<summary>A shortcut into calling Index(Indices.All)</summary>
467477 public CatSegmentsDescriptor AllIndices ( ) => Index ( Indices . All ) ;
468478 // Request parameters
479+ ///<summary>The unit in which to display byte values</summary>
480+ public CatSegmentsDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
469481 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
470482 public CatSegmentsDescriptor Format ( string format ) => Qs ( "format" , format ) ;
471483 ///<summary>Comma-separated list of column names to display</summary>
@@ -503,6 +515,8 @@ public CatShardsDescriptor Index<TOther>()
503515 ///<summary>A shortcut into calling Index(Indices.All)</summary>
504516 public CatShardsDescriptor AllIndices ( ) => Index ( Indices . All ) ;
505517 // Request parameters
518+ ///<summary>The unit in which to display byte values</summary>
519+ public CatShardsDescriptor Bytes ( Bytes ? bytes ) => Qs ( "bytes" , bytes ) ;
506520 ///<summary>a short version of the Accept header, e.g. json, yaml</summary>
507521 public CatShardsDescriptor Format ( string format ) => Qs ( "format" , format ) ;
508522 ///<summary>Comma-separated list of column names to display</summary>
0 commit comments