@@ -70,7 +70,7 @@ async def aliases(
70
70
"GET" , _make_path ("_cat" , "aliases" , name ), params = params , headers = headers
71
71
)
72
72
73
- @query_params ()
73
+ @query_params ("bytes" , "format" , "h" , "help" , "s" , "v" )
74
74
async def all_pit_segments (
75
75
self ,
76
76
params : Any = None ,
@@ -79,6 +79,16 @@ async def all_pit_segments(
79
79
"""
80
80
Lists all active point-in-time segments.
81
81
82
+
83
+ :arg bytes: The unit in which to display byte values. Valid
84
+ choices are b, k, kb, m, mb, g, gb, t, tb, p, pb.
85
+ :arg format: A short version of the Accept header, e.g. json,
86
+ yaml.
87
+ :arg h: Comma-separated list of column names to display.
88
+ :arg help: Return help information. Default is false.
89
+ :arg s: Comma-separated list of column names or column aliases
90
+ to sort by.
91
+ :arg v: Verbose mode. Display column headers. Default is false.
82
92
"""
83
93
return await self .transport .perform_request (
84
94
"GET" , "/_cat/pit_segments/_all" , params = params , headers = headers
@@ -503,7 +513,7 @@ async def pending_tasks(
503
513
"GET" , "/_cat/pending_tasks" , params = params , headers = headers
504
514
)
505
515
506
- @query_params ()
516
+ @query_params ("bytes" , "format" , "h" , "help" , "s" , "v" )
507
517
async def pit_segments (
508
518
self ,
509
519
body : Any = None ,
@@ -514,6 +524,15 @@ async def pit_segments(
514
524
List segments for one or several PITs.
515
525
516
526
527
+ :arg bytes: The unit in which to display byte values. Valid
528
+ choices are b, k, kb, m, mb, g, gb, t, tb, p, pb.
529
+ :arg format: A short version of the Accept header, e.g. json,
530
+ yaml.
531
+ :arg h: Comma-separated list of column names to display.
532
+ :arg help: Return help information. Default is false.
533
+ :arg s: Comma-separated list of column names or column aliases
534
+ to sort by.
535
+ :arg v: Verbose mode. Display column headers. Default is false.
517
536
"""
518
537
return await self .transport .perform_request (
519
538
"GET" , "/_cat/pit_segments" , params = params , headers = headers , body = body
@@ -632,15 +651,20 @@ async def repositories(
632
651
633
652
@query_params (
634
653
"active_only" ,
654
+ "allow_no_indices" ,
635
655
"bytes" ,
636
656
"completed_only" ,
637
657
"detailed" ,
658
+ "expand_wildcards" ,
638
659
"format" ,
639
660
"h" ,
640
661
"help" ,
662
+ "ignore_throttled" ,
663
+ "ignore_unavailable" ,
641
664
"s" ,
642
665
"shards" ,
643
666
"time" ,
667
+ "timeout" ,
644
668
"v" ,
645
669
)
646
670
async def segment_replication (
@@ -658,21 +682,32 @@ async def segment_replication(
658
682
names to limit the returned information.
659
683
:arg active_only: If `true`, the response only includes ongoing
660
684
segment replication events. Default is false.
685
+ :arg allow_no_indices: Whether to ignore if a wildcard indices
686
+ expression resolves into no concrete indices. (This includes `_all`
687
+ string or when no indices have been specified).
661
688
:arg bytes: The unit in which to display byte values. Valid
662
689
choices are b, k, kb, m, mb, g, gb, t, tb, p, pb.
663
690
:arg completed_only: If `true`, the response only includes
664
691
latest completed segment replication events. Default is false.
665
692
:arg detailed: If `true`, the response includes detailed
666
693
information about segment replications. Default is false.
694
+ :arg expand_wildcards: Whether to expand wildcard expression to
695
+ concrete indices that are open, closed or both. Valid choices are all,
696
+ open, closed, hidden, none.
667
697
:arg format: A short version of the Accept header, e.g. json,
668
698
yaml.
669
699
:arg h: Comma-separated list of column names to display.
670
700
:arg help: Return help information. Default is false.
701
+ :arg ignore_throttled: Whether specified concrete, expanded or
702
+ aliased indices should be ignored when throttled.
703
+ :arg ignore_unavailable: Whether specified concrete indices
704
+ should be ignored when unavailable (missing or closed).
671
705
:arg s: Comma-separated list of column names or column aliases
672
706
to sort by.
673
707
:arg shards: Comma-separated list of shards to display.
674
708
:arg time: The unit in which to display time values. Valid
675
709
choices are d, h, m, s, ms, micros, nanos.
710
+ :arg timeout: Operation timeout.
676
711
:arg v: Verbose mode. Display column headers. Default is false.
677
712
"""
678
713
return await self .transport .perform_request (
0 commit comments