@@ -70,27 +70,29 @@ async def aliases(
70
70
or use `*` or `_all`.
71
71
:arg error_trace: Whether to include the stack trace of returned
72
72
errors. Default is false.
73
- :arg expand_wildcards: Whether to expand wildcard expression to
74
- concrete indexes that are open, closed or both.
73
+ :arg expand_wildcards: Expands wildcard expressions to concrete
74
+ indexes. Combine multiple values with commas. Supported values are
75
+ `all`, `open`, `closed`, `hidden`, and `none`.
75
76
:arg filter_path: Used to reduce the response. This parameter
76
77
takes a comma-separated list of filters. It supports using wildcards to
77
78
match any field or part of a field’s name. You can also exclude fields
78
79
with "-".
79
- :arg format: A short version of the Accept header (for example,
80
- `json`, `yaml`) .
81
- :arg h: Comma -separated list of column names to display.
82
- :arg help: Return help information. Default is false.
80
+ :arg format: A short version of the ` Accept` header, such as
81
+ `json` or `yaml`.
82
+ :arg h: A comma -separated list of column names to display.
83
+ :arg help: Returns help information. Default is false.
83
84
:arg human: Whether to return human readable values for
84
85
statistics. Default is True.
85
- :arg local: Return local information, do not retrieve the state
86
- from cluster- manager node. Default is false.
86
+ :arg local: Whether to return information from the local node
87
+ only instead of from the cluster manager node. Default is false.
87
88
:arg pretty: Whether to pretty format the returned JSON
88
89
response. Default is false.
89
- :arg s: Comma -separated list of column names or column aliases
90
+ :arg s: A comma -separated list of column names or column aliases
90
91
to sort by.
91
92
:arg source: The URL-encoded request definition. Useful for
92
93
libraries that do not accept a request body for non-POST requests.
93
- :arg v: Verbose mode. Display column headers. Default is false.
94
+ :arg v: Enables verbose mode, which displays column headers.
95
+ Default is false.
94
96
"""
95
97
return await self .transport .perform_request (
96
98
"GET" , _make_path ("_cat" , "aliases" , name ), params = params , headers = headers
@@ -171,36 +173,37 @@ async def allocation(
171
173
much disk space they are using.
172
174
173
175
174
- :arg node_id: Comma -separated list of node identifiers or names
175
- used to limit the returned information.
176
- :arg bytes: The unit used to display byte values. Valid choices
176
+ :arg node_id: A comma -separated list of node IDs or names used
177
+ to limit the returned information.
178
+ :arg bytes: The units used to display byte values. Valid choices
177
179
are b, g, gb, k, kb, m, mb, p, pb, t, tb.
178
- :arg cluster_manager_timeout: Operation timeout for connection
179
- to cluster- manager node.
180
+ :arg cluster_manager_timeout: A timeout for connection to the
181
+ cluster manager node.
180
182
:arg error_trace: Whether to include the stack trace of returned
181
183
errors. Default is false.
182
184
:arg filter_path: Used to reduce the response. This parameter
183
185
takes a comma-separated list of filters. It supports using wildcards to
184
186
match any field or part of a field’s name. You can also exclude fields
185
187
with "-".
186
- :arg format: A short version of the Accept header (for example,
187
- `json`, `yaml`) .
188
- :arg h: Comma -separated list of column names to display.
189
- :arg help: Return help information. Default is false.
188
+ :arg format: A short version of the HTTP ` Accept` header, such
189
+ as `json` or `yaml`.
190
+ :arg h: A comma -separated list of column names to display.
191
+ :arg help: Returns help information. Default is false.
190
192
:arg human: Whether to return human readable values for
191
193
statistics. Default is True.
192
- :arg local: Return local information, do not retrieve the state
193
- from cluster-manager node. Default is false.
194
+ :arg local: Returns local information but does not retrieve the
195
+ state from cluster-manager node. Default is false.
194
196
:arg master_timeout (Deprecated: To promote inclusive language,
195
- use `cluster_manager_timeout` instead.): Operation timeout for
196
- connection to cluster- manager node.
197
+ use `cluster_manager_timeout` instead.): A timeout for connection to the
198
+ cluster manager node.
197
199
:arg pretty: Whether to pretty format the returned JSON
198
200
response. Default is false.
199
- :arg s: Comma -separated list of column names or column aliases
201
+ :arg s: A comma -separated list of column names or column aliases
200
202
to sort by.
201
203
:arg source: The URL-encoded request definition. Useful for
202
204
libraries that do not accept a request body for non-POST requests.
203
- :arg v: Verbose mode. Display column headers. Default is false.
205
+ :arg v: Enables verbose mode, which displays column headers.
206
+ Default is false.
204
207
"""
205
208
return await self .transport .perform_request (
206
209
"GET" ,
@@ -233,32 +236,33 @@ async def cluster_manager(
233
236
Returns information about the cluster-manager node.
234
237
235
238
236
- :arg cluster_manager_timeout: Operation timeout for connection
237
- to cluster- manager node.
239
+ :arg cluster_manager_timeout: A timeout for connection to the
240
+ cluster manager node.
238
241
:arg error_trace: Whether to include the stack trace of returned
239
242
errors. Default is false.
240
243
:arg filter_path: Used to reduce the response. This parameter
241
244
takes a comma-separated list of filters. It supports using wildcards to
242
245
match any field or part of a field’s name. You can also exclude fields
243
246
with "-".
244
- :arg format: A short version of the Accept header (for example,
245
- `json`, `yaml`) .
246
- :arg h: Comma -separated list of column names to display.
247
+ :arg format: A short version of the HTTP ` Accept` header, such
248
+ as `json` or `yaml`.
249
+ :arg h: A comma -separated list of column names to display.
247
250
:arg help: Return help information. Default is false.
248
251
:arg human: Whether to return human readable values for
249
252
statistics. Default is True.
250
253
:arg local: Return local information, do not retrieve the state
251
254
from cluster-manager node. Default is false.
252
255
:arg master_timeout (Deprecated: To promote inclusive language,
253
- use `cluster_manager_timeout` instead.): Operation timeout for
254
- connection to cluster- manager node.
256
+ use `cluster_manager_timeout` instead.): A timeout for connection to the
257
+ cluster manager node.
255
258
:arg pretty: Whether to pretty format the returned JSON
256
259
response. Default is false.
257
- :arg s: Comma -separated list of column names or column aliases
260
+ :arg s: A comma -separated list of column names or column aliases
258
261
to sort by.
259
262
:arg source: The URL-encoded request definition. Useful for
260
263
libraries that do not accept a request body for non-POST requests.
261
- :arg v: Verbose mode. Display column headers. Default is false.
264
+ :arg v: Enables verbose mode, which displays column headers.
265
+ Default is false.
262
266
"""
263
267
return await self .transport .perform_request (
264
268
"GET" , "/_cat/cluster_manager" , params = params , headers = headers
@@ -498,8 +502,7 @@ async def indices(
498
502
`json`, `yaml`).
499
503
:arg h: Comma-separated list of column names to display.
500
504
:arg health: The health status used to limit returned indexes.
501
- By default, the response includes indexes of any health status. Valid
502
- choices are green, red, yellow.
505
+ By default, the response includes indexes of any health status.
503
506
:arg help: Return help information. Default is false.
504
507
:arg human: Whether to return human readable values for
505
508
statistics. Default is True.
0 commit comments