@@ -67,7 +67,7 @@ async def aliases(
67
67
Shows information about currently configured aliases to indices including filter
68
68
and routing infos.
69
69
70
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-alias.html>`_
70
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-alias.html>`_
71
71
72
72
:param name: A comma-separated list of alias names to return
73
73
:param expand_wildcards: Whether to expand wildcard expression to concrete indices
@@ -151,7 +151,7 @@ async def allocation(
151
151
Provides a snapshot of how many shards are allocated to each data node and how
152
152
much disk space they are using.
153
153
154
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-allocation.html>`_
154
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-allocation.html>`_
155
155
156
156
:param node_id: A comma-separated list of node IDs or names to limit the returned
157
157
information
@@ -229,7 +229,7 @@ async def component_templates(
229
229
"""
230
230
Returns information about existing component_templates templates.
231
231
232
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-compoentn-templates.html>`_
232
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-compoentn-templates.html>`_
233
233
234
234
:param name: A pattern that returned component template names must match
235
235
:param format: Specifies the format to return the columnar data in, can be set
@@ -304,7 +304,7 @@ async def count(
304
304
Provides quick access to the document count of the entire cluster, or individual
305
305
indices.
306
306
307
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-count.html>`_
307
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-count.html>`_
308
308
309
309
:param index: A comma-separated list of index names to limit the returned information
310
310
:param format: Specifies the format to return the columnar data in, can be set
@@ -384,7 +384,7 @@ async def fielddata(
384
384
Shows how much heap memory is currently being used by fielddata on every data
385
385
node in the cluster.
386
386
387
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-fielddata.html>`_
387
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-fielddata.html>`_
388
388
389
389
:param fields: A comma-separated list of fields to return the fielddata size
390
390
:param bytes: The unit in which to display byte values
@@ -461,7 +461,7 @@ async def health(
461
461
"""
462
462
Returns a concise representation of the cluster health.
463
463
464
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-health.html>`_
464
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-health.html>`_
465
465
466
466
:param format: Specifies the format to return the columnar data in, can be set
467
467
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -533,7 +533,7 @@ async def help(
533
533
"""
534
534
Returns help for the Cat APIs.
535
535
536
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat.html>`_
536
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat.html>`_
537
537
538
538
:param format: Specifies the format to return the columnar data in, can be set
539
539
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -622,13 +622,16 @@ async def indices(
622
622
pretty : t .Optional [bool ] = None ,
623
623
pri : t .Optional [bool ] = None ,
624
624
s : t .Optional [t .Union [str , t .Union [t .List [str ], t .Tuple [str , ...]]]] = None ,
625
+ time : t .Optional [
626
+ t .Union ["t.Literal['d', 'h', 'm', 'micros', 'ms', 'nanos', 's']" , str ]
627
+ ] = None ,
625
628
v : t .Optional [bool ] = None ,
626
629
) -> t .Union [ObjectApiResponse [t .Any ], TextApiResponse ]:
627
630
"""
628
631
Returns information about indices: number of primaries and replicas, document
629
632
counts, disk size, ...
630
633
631
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-indices.html>`_
634
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-indices.html>`_
632
635
633
636
:param index: A comma-separated list of index names to limit the returned information
634
637
:param bytes: The unit in which to display byte values
@@ -652,6 +655,7 @@ async def indices(
652
655
:param s: List of columns that determine how the table should be sorted. Sorting
653
656
defaults to ascending and can be changed by setting `:asc` or `:desc` as
654
657
a suffix to the column name.
658
+ :param time: The unit in which to display time values
655
659
:param v: When set to `true` will enable verbose output.
656
660
"""
657
661
if index not in SKIP_IN_PATH :
@@ -689,6 +693,8 @@ async def indices(
689
693
__query ["pri" ] = pri
690
694
if s is not None :
691
695
__query ["s" ] = s
696
+ if time is not None :
697
+ __query ["time" ] = time
692
698
if v is not None :
693
699
__query ["v" ] = v
694
700
__headers = {"accept" : "text/plain,application/json" }
@@ -719,7 +725,7 @@ async def master(
719
725
"""
720
726
Returns information about the master node.
721
727
722
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-master.html>`_
728
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-master.html>`_
723
729
724
730
:param format: Specifies the format to return the columnar data in, can be set
725
731
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -838,7 +844,7 @@ async def ml_data_frame_analytics(
838
844
"""
839
845
Gets configuration and usage information about data frame analytics jobs.
840
846
841
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-dfanalytics.html>`_
847
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-dfanalytics.html>`_
842
848
843
849
:param id: The ID of the data frame analytics to fetch
844
850
:param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -969,7 +975,7 @@ async def ml_datafeeds(
969
975
"""
970
976
Gets configuration and usage information about datafeeds.
971
977
972
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-datafeeds.html>`_
978
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-datafeeds.html>`_
973
979
974
980
:param datafeed_id: A numerical character string that uniquely identifies the
975
981
datafeed.
@@ -1106,7 +1112,7 @@ async def ml_jobs(
1106
1112
"""
1107
1113
Gets configuration and usage information about anomaly detection jobs.
1108
1114
1109
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-anomaly-detectors.html>`_
1115
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-anomaly-detectors.html>`_
1110
1116
1111
1117
:param job_id: Identifier for the anomaly detection job.
1112
1118
:param allow_no_match: Specifies what to do when the request: * Contains wildcard
@@ -1246,7 +1252,7 @@ async def ml_trained_models(
1246
1252
"""
1247
1253
Gets configuration and usage information about inference trained models.
1248
1254
1249
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-trained-model.html>`_
1255
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-trained-model.html>`_
1250
1256
1251
1257
:param model_id: The ID of the trained models stats to fetch
1252
1258
:param allow_no_match: Whether to ignore if a wildcard expression matches no
@@ -1331,7 +1337,7 @@ async def nodeattrs(
1331
1337
"""
1332
1338
Returns information about custom node attributes.
1333
1339
1334
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-nodeattrs.html>`_
1340
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-nodeattrs.html>`_
1335
1341
1336
1342
:param format: Specifies the format to return the columnar data in, can be set
1337
1343
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1404,7 +1410,7 @@ async def nodes(
1404
1410
"""
1405
1411
Returns basic statistics about performance of cluster nodes.
1406
1412
1407
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-nodes.html>`_
1413
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-nodes.html>`_
1408
1414
1409
1415
:param bytes: The unit in which to display byte values
1410
1416
:param format: Specifies the format to return the columnar data in, can be set
@@ -1480,7 +1486,7 @@ async def pending_tasks(
1480
1486
"""
1481
1487
Returns a concise representation of the cluster pending tasks.
1482
1488
1483
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-pending-tasks.html>`_
1489
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-pending-tasks.html>`_
1484
1490
1485
1491
:param format: Specifies the format to return the columnar data in, can be set
1486
1492
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1549,7 +1555,7 @@ async def plugins(
1549
1555
"""
1550
1556
Returns information about installed plugins across nodes node.
1551
1557
1552
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-plugins.html>`_
1558
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-plugins.html>`_
1553
1559
1554
1560
:param format: Specifies the format to return the columnar data in, can be set
1555
1561
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1624,7 +1630,7 @@ async def recovery(
1624
1630
"""
1625
1631
Returns information about index shard recoveries, both on-going completed.
1626
1632
1627
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-recovery.html>`_
1633
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-recovery.html>`_
1628
1634
1629
1635
:param index: Comma-separated list or wildcard expression of index names to limit
1630
1636
the returned information
@@ -1708,7 +1714,7 @@ async def repositories(
1708
1714
"""
1709
1715
Returns information about snapshot repositories registered in the cluster.
1710
1716
1711
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-repositories.html>`_
1717
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-repositories.html>`_
1712
1718
1713
1719
:param format: Specifies the format to return the columnar data in, can be set
1714
1720
to `text`, `json`, `cbor`, `yaml`, or `smile`.
@@ -1781,7 +1787,7 @@ async def segments(
1781
1787
"""
1782
1788
Provides low-level information about the segments in the shards of an index.
1783
1789
1784
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-segments.html>`_
1790
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-segments.html>`_
1785
1791
1786
1792
:param index: A comma-separated list of index names to limit the returned information
1787
1793
:param bytes: The unit in which to display byte values
@@ -1861,7 +1867,7 @@ async def shards(
1861
1867
"""
1862
1868
Provides a detailed view of shard allocation on nodes.
1863
1869
1864
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-shards.html>`_
1870
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-shards.html>`_
1865
1871
1866
1872
:param index: A comma-separated list of index names to limit the returned information
1867
1873
:param bytes: The unit in which to display byte values
@@ -1941,7 +1947,7 @@ async def snapshots(
1941
1947
"""
1942
1948
Returns all snapshots in a specific repository.
1943
1949
1944
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-snapshots.html>`_
1950
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-snapshots.html>`_
1945
1951
1946
1952
:param repository: Name of repository from which to fetch the snapshot information
1947
1953
:param format: Specifies the format to return the columnar data in, can be set
@@ -2022,7 +2028,7 @@ async def tasks(
2022
2028
Returns information about the tasks currently executing on one or more nodes
2023
2029
in the cluster.
2024
2030
2025
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /tasks.html>`_
2031
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /tasks.html>`_
2026
2032
2027
2033
:param actions: A comma-separated list of actions that should be returned. Leave
2028
2034
empty to return all.
@@ -2105,7 +2111,7 @@ async def templates(
2105
2111
"""
2106
2112
Returns information about existing templates.
2107
2113
2108
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-templates.html>`_
2114
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-templates.html>`_
2109
2115
2110
2116
:param name: A pattern that returned template names must match
2111
2117
:param format: Specifies the format to return the columnar data in, can be set
@@ -2185,7 +2191,7 @@ async def thread_pool(
2185
2191
Returns cluster-wide thread pool statistics per node. By default the active,
2186
2192
queue and rejected statistics are returned for all thread pools.
2187
2193
2188
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-thread-pool.html>`_
2194
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-thread-pool.html>`_
2189
2195
2190
2196
:param thread_pool_patterns: List of thread pool names used to limit the request.
2191
2197
Accepts wildcard expressions.
@@ -2315,7 +2321,7 @@ async def transforms(
2315
2321
"""
2316
2322
Gets configuration and usage information about transforms.
2317
2323
2318
- `<https://www.elastic.co/guide/en/elasticsearch/reference/master /cat-transforms.html>`_
2324
+ `<https://www.elastic.co/guide/en/elasticsearch/reference/8.6 /cat-transforms.html>`_
2319
2325
2320
2326
:param transform_id: The id of the transform for which to get stats. '_all' or
2321
2327
'*' implies all transforms
0 commit comments