@@ -1360,6 +1360,293 @@ actions:
1360
1360
examples :
1361
1361
getBehavioralAnalyticsCollectionsResponseExample1 :
1362
1362
$ref : " ../../specification/search_application/get_behavioral_analytics/examples/200_response/BehavioralAnalyticsGetResponseExample1.yaml"
1363
+ # # Examples for cat
1364
+ - target : " $.components['responses']['cat.aliases#200']"
1365
+ description : " Add example for cat aliases response"
1366
+ update :
1367
+ content :
1368
+ text/plain :
1369
+ schema :
1370
+ type : string
1371
+ examples :
1372
+ catAliasesResponseExample1 :
1373
+ $ref : " ../../specification/cat/aliases/examples/200_response/CatAliasesResponseExample1.yaml"
1374
+ - target : " $.components['responses']['cat.allocation#200']"
1375
+ description : " Add example for cat allocation response"
1376
+ update :
1377
+ content :
1378
+ text/plain :
1379
+ schema :
1380
+ type : string
1381
+ examples :
1382
+ catAllocationResponseExample1 :
1383
+ $ref : " ../../specification/cat/allocation/examples/200_response/CatAllocationResponseExample1.yaml"
1384
+ - target : " $.components['responses']['cat.component_templates#200']"
1385
+ description : " Add example for cat component templates response"
1386
+ update :
1387
+ content :
1388
+ text/plain :
1389
+ schema :
1390
+ type : string
1391
+ examples :
1392
+ catComponentTemplatesResponseExample1 :
1393
+ $ref : " ../../specification/cat/component_templates/examples/200_response/CatComponentTemplatesResponseExample1.yaml"
1394
+ - target : " $.components['responses']['cat.count#200']"
1395
+ description : " Add example for cat count response"
1396
+ update :
1397
+ content :
1398
+ text/plain :
1399
+ schema :
1400
+ type : string
1401
+ examples :
1402
+ catCountResponseExample1 :
1403
+ $ref : " ../../specification/cat/count/examples/200_response/CatCountResponseExample1.yaml"
1404
+ catCountResponseExample2 :
1405
+ $ref : " ../../specification/cat/count/examples/200_response/CatCountResponseExample2.yaml"
1406
+ - target : " $.components['responses']['cat.fielddata#200']"
1407
+ description : " Add example for cat fielddata response"
1408
+ update :
1409
+ content :
1410
+ text/plain :
1411
+ schema :
1412
+ type : string
1413
+ examples :
1414
+ catFieldDataResponseExample1 :
1415
+ $ref : " ../../specification/cat/fielddata/examples/200_response/CatFielddataResponseExample1.yaml"
1416
+ catFieldDataResponseExample2 :
1417
+ $ref : " ../../specification/cat/fielddata/examples/200_response/CatFielddataResponseExample2.yaml"
1418
+ - target : " $.components['responses']['cat.indices#200']"
1419
+ description : " Add example for cat indices response"
1420
+ update :
1421
+ content :
1422
+ text/plain :
1423
+ schema :
1424
+ type : string
1425
+ examples :
1426
+ catIndicesResponseExample1 :
1427
+ $ref : " ../../specification/cat/indices/examples/200_response/CatIndicesResponseExample1.yaml"
1428
+ - target : " $.components['responses']['cat.ml_datafeeds#200']"
1429
+ description : " Add example for cat datafeeds response"
1430
+ update :
1431
+ content :
1432
+ text/plain :
1433
+ schema :
1434
+ type : string
1435
+ examples :
1436
+ catDatafeedsResponseExample1 :
1437
+ $ref : " ../../specification/cat/ml_datafeeds/examples/200_response/CatDatafeedsResponseExample1.yaml"
1438
+ - target : " $.components['responses']['cat.ml_data_frame_analytics#200']"
1439
+ description : " Add example for cat data frame analytics response"
1440
+ update :
1441
+ content :
1442
+ text/plain :
1443
+ schema :
1444
+ type : string
1445
+ examples :
1446
+ catDataFrameAnalyticsResponseExample1 :
1447
+ $ref : " ../../specification/cat/ml_data_frame_analytics/examples/200_response/CatDataFrameAnalyticsResponseExample1.yaml"
1448
+ - target : " $.components['responses']['cat.ml_jobs#200']"
1449
+ description : " Add example for cat anomaly detectors response"
1450
+ update :
1451
+ content :
1452
+ text/plain :
1453
+ schema :
1454
+ type : string
1455
+ examples :
1456
+ catAnomalyDetectorsResponseExample1 :
1457
+ $ref : " ../../specification/cat/ml_jobs/examples/200_response/CatJobsResponseExample1.yaml"
1458
+ - target : " $.components['responses']['cat.ml_trained_models#200']"
1459
+ description : " Add example for cat trained models response"
1460
+ update :
1461
+ content :
1462
+ text/plain :
1463
+ schema :
1464
+ type : string
1465
+ examples :
1466
+ catTrainedModelsResponseExample1 :
1467
+ $ref : " ../../specification/cat/ml_trained_models/examples/200_response/CatTrainedModelsResponseExample1.yaml"
1468
+ - target : " $.components['responses']['cat.recovery#200']"
1469
+ description : " Add example for cat recovery response"
1470
+ update :
1471
+ content :
1472
+ text/plain :
1473
+ schema :
1474
+ type : string
1475
+ examples :
1476
+ catRecoveryResponseExample1 :
1477
+ $ref : " ../../specification/cat/recovery/examples/200_response/CatRecoveryResponseExample1.yaml"
1478
+ catRecoveryResponseExample2 :
1479
+ $ref : " ../../specification/cat/recovery/examples/200_response/CatRecoveryResponseExample2.yaml"
1480
+ catRecoveryResponseExample3 :
1481
+ $ref : " ../../specification/cat/recovery/examples/200_response/CatRecoveryResponseExample3.yaml"
1482
+ - target : " $.components['responses']['cat.segments#200']"
1483
+ description : " Add example for cat segments response"
1484
+ update :
1485
+ content :
1486
+ text/plain :
1487
+ schema :
1488
+ type : string
1489
+ examples :
1490
+ catSegmentsResponseExample1 :
1491
+ $ref : " ../../specification/cat/segments/examples/200_response/CatSegmentsResponseExample1.yaml"
1492
+ - target : " $.components['responses']['cat.shards#200']"
1493
+ description : " Add example for cat shards response"
1494
+ update :
1495
+ content :
1496
+ text/plain :
1497
+ schema :
1498
+ type : string
1499
+ examples :
1500
+ catShardsResponseExample1 :
1501
+ $ref : " ../../specification/cat/shards/examples/200_response/CatShardsResponseExample1.yaml"
1502
+ catShardsResponseExample2 :
1503
+ $ref : " ../../specification/cat/shards/examples/200_response/CatShardsResponseExample2.yaml"
1504
+ catShardsResponseExample3 :
1505
+ $ref : " ../../specification/cat/shards/examples/200_response/CatShardsResponseExample3.yaml"
1506
+ catShardsResponseExample4 :
1507
+ $ref : " ../../specification/cat/shards/examples/200_response/CatShardsResponseExample4.yaml"
1508
+ catShardsResponseExample5 :
1509
+ $ref : " ../../specification/cat/shards/examples/200_response/CatShardsResponseExample5.yaml"
1510
+ - target : " $.components['responses']['cat.snapshots#200']"
1511
+ description : " Add example for cat snapshot response"
1512
+ update :
1513
+ content :
1514
+ text/plain :
1515
+ schema :
1516
+ type : string
1517
+ examples :
1518
+ catSnapshotsResponseExample1 :
1519
+ $ref : " ../../specification/cat/snapshots/examples/200_response/CatSnapshotsResponseExample1.yaml"
1520
+ - target : " $.components['responses']['cat.templates#200']"
1521
+ description : " Add example for cat templates response"
1522
+ update :
1523
+ content :
1524
+ text/plain :
1525
+ schema :
1526
+ type : string
1527
+ examples :
1528
+ catTemplatesResponseExample1 :
1529
+ $ref : " ../../specification/cat/templates/examples/200_response/CatTemplatesResponseExample1.yaml"
1530
+ - target : " $.components['responses']['cat.thread_pool#200']"
1531
+ description : " Add example for cat thread pool response"
1532
+ update :
1533
+ content :
1534
+ text/plain :
1535
+ schema :
1536
+ type : string
1537
+ examples :
1538
+ catThreadPoolResponseExample1 :
1539
+ $ref : " ../../specification/cat/thread_pool/examples/200_response/CatThreadPoolResponseExample1.yaml"
1540
+ catThreadPoolResponseExample2 :
1541
+ $ref : " ../../specification/cat/thread_pool/examples/200_response/CatThreadPoolResponseExample2.yaml"
1542
+ - target : " $.components['responses']['cat.transforms#200']"
1543
+ description : " Add example for cat transforms response"
1544
+ update :
1545
+ content :
1546
+ application/json :
1547
+ examples :
1548
+ catTransformsResponseExample1 :
1549
+ $ref : " ../../specification/cat/transforms/examples/200_response/CatTransformsResponseExample1.yaml"
1550
+ - target : " $.paths['/_cat/health']['get']"
1551
+ description : " Add examples for cat health operation"
1552
+ update :
1553
+ responses :
1554
+ 200 :
1555
+ content :
1556
+ text/plain :
1557
+ schema :
1558
+ type : string
1559
+ examples :
1560
+ catMasterResponseExample1 :
1561
+ $ref : " ../../specification/cat/health/examples/200_response/CatHealthResponseExample1.yaml"
1562
+ - target : " $.paths['/_cat/master']['get']"
1563
+ description : " Add examples for cat master operation"
1564
+ update :
1565
+ responses :
1566
+ 200 :
1567
+ content :
1568
+ text/plain :
1569
+ schema :
1570
+ type : string
1571
+ examples :
1572
+ catMasterResponseExample1 :
1573
+ $ref : " ../../specification/cat/master/examples/200_response/CatMasterResponseExample1.yaml"
1574
+ - target : " $.paths['/_cat/nodeattrs']['get']"
1575
+ description : " Add examples for cat node attributes operation"
1576
+ update :
1577
+ responses :
1578
+ 200 :
1579
+ content :
1580
+ text/plain :
1581
+ schema :
1582
+ type : string
1583
+ examples :
1584
+ catNodeAttributesResponseExample1 :
1585
+ $ref : " ../../specification/cat/nodeattrs/examples/200_response/CatNodeAttributesResponseExample1.yaml"
1586
+ catNodeAttributesResponseExample2 :
1587
+ $ref : " ../../specification/cat/nodeattrs/examples/200_response/CatNodeAttributesResponseExample2.yaml"
1588
+ - target : " $.paths['/_cat/nodes']['get']"
1589
+ description : " Add examples for cat nodes operation"
1590
+ update :
1591
+ responses :
1592
+ 200 :
1593
+ content :
1594
+ text/plain :
1595
+ schema :
1596
+ type : string
1597
+ examples :
1598
+ catNodesResponseExample1 :
1599
+ $ref : " ../../specification/cat/nodes/examples/200_response/CatNodesResponseExample1.yaml"
1600
+ catNodesResponseExample2 :
1601
+ $ref : " ../../specification/cat/nodes/examples/200_response/CatNodesResponseExample2.yaml"
1602
+ - target : " $.paths['/_cat/pending_tasks']['get']"
1603
+ description : " Add examples for cat pending tasks operation"
1604
+ update :
1605
+ responses :
1606
+ 200 :
1607
+ content :
1608
+ text/plain :
1609
+ schema :
1610
+ type : string
1611
+ examples :
1612
+ catPendingTasksResponseExample1 :
1613
+ $ref : " ../../specification/cat/pending_tasks/examples/200_response/CatPendingTasksResponseExample1.yaml"
1614
+ - target : " $.paths['/_cat/plugins']['get']"
1615
+ description : " Add examples for cat plugins operation"
1616
+ update :
1617
+ responses :
1618
+ 200 :
1619
+ content :
1620
+ text/plain :
1621
+ schema :
1622
+ type : string
1623
+ examples :
1624
+ catPluginsResponseExample1 :
1625
+ $ref : " ../../specification/cat/plugins/examples/200_response/CatPluginsResponseExample1.yaml"
1626
+ - target : " $.paths['/_cat/repositories']['get']"
1627
+ description : " Add examples for cat repositories operation"
1628
+ update :
1629
+ responses :
1630
+ 200 :
1631
+ content :
1632
+ text/plain :
1633
+ schema :
1634
+ type : string
1635
+ examples :
1636
+ catRepositoriesResponseExample1 :
1637
+ $ref : " ../../specification/cat/repositories/examples/200_response/CatRepositoriesResponseExample1.yaml"
1638
+ - target : " $.paths['/_cat/tasks']['get']"
1639
+ description : " Add examples for cat tasks operation"
1640
+ update :
1641
+ responses :
1642
+ 200 :
1643
+ content :
1644
+ text/plain :
1645
+ schema :
1646
+ type : string
1647
+ examples :
1648
+ catTasksResponseExample1 :
1649
+ $ref : " ../../specification/cat/tasks/examples/200_response/CatTasksResponseExample1.yaml"
1363
1650
# # Examples for licensing
1364
1651
- target : " $.paths['/_license']['get']"
1365
1652
description : " Add example for get license response"
@@ -1408,4 +1695,4 @@ actions:
1408
1695
application/json :
1409
1696
examples :
1410
1697
searchApplicationSearchRequestExample1 :
1411
- $ref : " ../../specification/search_application/search/examples/request/SearchApplicationsSearchRequestExample1.yaml"
1698
+ $ref : " ../../specification/search_application/search/examples/request/SearchApplicationsSearchRequestExample1.yaml"
0 commit comments