@@ -331,6 +331,39 @@ paths:
331
331
responses :
332
332
' 200 ' :
333
333
$ref : ' #/components/responses/cluster.stats@200'
334
+ /_cluster/stats/{metric}/nodes/{node_id} :
335
+ get :
336
+ operationId : cluster.stats.2
337
+ x-operation-group : cluster.stats
338
+ x-version-added : ' 2.18'
339
+ description : Returns high-level overview of cluster statistics.
340
+ externalDocs :
341
+ url : https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/
342
+ parameters :
343
+ - $ref : ' #/components/parameters/cluster.stats::path.metric'
344
+ - $ref : ' #/components/parameters/cluster.stats::path.node_id'
345
+ - $ref : ' #/components/parameters/cluster.stats::query.flat_settings'
346
+ - $ref : ' #/components/parameters/cluster.stats::query.timeout'
347
+ responses :
348
+ ' 200 ' :
349
+ $ref : ' #/components/responses/cluster.stats@200'
350
+ /_cluster/stats/{metric}/{index_metric}/nodes/{node_id} :
351
+ get :
352
+ operationId : cluster.stats.3
353
+ x-operation-group : cluster.stats
354
+ x-version-added : ' 2.18'
355
+ description : Returns high-level overview of cluster statistics.
356
+ externalDocs :
357
+ url : https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/
358
+ parameters :
359
+ - $ref : ' #/components/parameters/cluster.stats::path.index_metric'
360
+ - $ref : ' #/components/parameters/cluster.stats::path.metric'
361
+ - $ref : ' #/components/parameters/cluster.stats::path.node_id'
362
+ - $ref : ' #/components/parameters/cluster.stats::query.flat_settings'
363
+ - $ref : ' #/components/parameters/cluster.stats::query.timeout'
364
+ responses :
365
+ ' 200 ' :
366
+ $ref : ' #/components/responses/cluster.stats@200'
334
367
/_cluster/voting_config_exclusions :
335
368
post :
336
369
operationId : cluster.post_voting_config_exclusions.0
@@ -1380,6 +1413,27 @@ components:
1380
1413
schema :
1381
1414
$ref : ' ../schemas/_common.yaml#/components/schemas/Duration'
1382
1415
style : form
1416
+ cluster.stats::path.index_metric :
1417
+ in : path
1418
+ name : index_metric
1419
+ description : Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.
1420
+ required : true
1421
+ schema :
1422
+ type : array
1423
+ items :
1424
+ $ref : ' ../schemas/cluster.stats.yaml#/components/schemas/IndexMetric'
1425
+ style : simple
1426
+ cluster.stats::path.metric :
1427
+ in : path
1428
+ name : metric
1429
+ description : Limit the information returned to the specified metrics
1430
+ required : true
1431
+ schema :
1432
+ type : array
1433
+ items :
1434
+ $ref : ' ../schemas/cluster.stats.yaml#/components/schemas/Metric'
1435
+ style :
1436
+ simple
1383
1437
cluster.stats::path.node_id :
1384
1438
in : path
1385
1439
name : node_id
0 commit comments