@@ -149,7 +149,7 @@ actions:
149
149
application/json :
150
150
examples :
151
151
nodesInfoResponseExample1 :
152
- $ref : " ../../specification/nodes/info/nodesInfoResponseExample1.yaml"
152
+ $ref : " ../../specification/nodes/info/examples/200_response/ nodesInfoResponseExample1.yaml"
153
153
- target : " $.paths['/_ilm/policy/{policy}']['delete']"
154
154
description : " Add examples for delete lifecycle policy operation"
155
155
update :
@@ -275,7 +275,7 @@ actions:
275
275
application/json :
276
276
examples :
277
277
indicesCloneRequestExample1 :
278
- $ref : " ../../specification/indices/clone/indicesCloneRequestExample1.yaml"
278
+ $ref : " ../../specification/indices/clone/examples/request/ indicesCloneRequestExample1.yaml"
279
279
- target : " $.paths['/{index}/_close']['post']"
280
280
description : " Add examples for close index response"
281
281
update :
@@ -293,7 +293,7 @@ actions:
293
293
application/json :
294
294
examples :
295
295
indicesDataStreamStatsResponseExample1 :
296
- $ref : " ../../specification/indices/data_streams_stats/indicesDataStreamStatsResponseExample1.yaml"
296
+ $ref : " ../../specification/indices/data_streams_stats/examples/200_response/ indicesDataStreamStatsResponseExample1.yaml"
297
297
- target : " $.paths['/{index}/_open']['post']"
298
298
description : " Add examples for open index response"
299
299
update :
@@ -303,7 +303,7 @@ actions:
303
303
application/json :
304
304
examples :
305
305
indicesOpenResponseExample1 :
306
- $ref : " ../../specification/indices/open/indicesOpenResponseExample1.yaml"
306
+ $ref : " ../../specification/indices/open/examples/200_response/ indicesOpenResponseExample1.yaml"
307
307
- target : " $.paths['/_autoscaling/policy/{name}']['delete']"
308
308
description : " Add examples for delete autoscaling policy response"
309
309
update :
@@ -313,7 +313,7 @@ actions:
313
313
application/json :
314
314
examples :
315
315
deleteAutoscalingPolicyResponseExample1 :
316
- $ref : " ../../specification/autoscaling/delete_autoscaling_policy/autoscalingApisDeleteAutoscalingPolicyResponseExample1 .yaml"
316
+ $ref : " ../../specification/autoscaling/delete_autoscaling_policy/examples/response/DeleteAutoscalingPolicyResponseExample1 .yaml"
317
317
- target : " $.paths['/_autoscaling/capacity']['get']"
318
318
description : " Add examples for get autoscaling capacity response"
319
319
update :
@@ -323,7 +323,7 @@ actions:
323
323
application/json :
324
324
examples :
325
325
getAutoscalingCapacityResponseExample1 :
326
- $ref : " ../../specification/autoscaling/get_autoscaling_capacity/autoscalingApisGetAutoscalingCapacityResponseExample1 .yaml"
326
+ $ref : " ../../specification/autoscaling/get_autoscaling_capacity/examples/200_response/GetAutoscalingCapacityResponseExample1 .yaml"
327
327
- target : " $.paths['/_autoscaling/policy/{name}']['get']"
328
328
description : " Add examples for get autoscaling policy response"
329
329
update :
@@ -333,7 +333,7 @@ actions:
333
333
application/json :
334
334
examples :
335
335
getAutoscalingPolicyResponseExample1 :
336
- $ref : " ../../specification/autoscaling/get_autoscaling_policy/autoscalingApisGetAutoscalingPolicyResponseExample1 .yaml"
336
+ $ref : " ../../specification/autoscaling/get_autoscaling_policy/examples/200_response/GetAutoscalingPolicyResponseExample1 .yaml"
337
337
- target : " $.paths['/_autoscaling/policy/{name}']['put']"
338
338
description : " Add examples for create autoscaling policy operation"
339
339
update :
@@ -342,24 +342,24 @@ actions:
342
342
application/json :
343
343
examples :
344
344
createAutoscalingPolicyRequestExample1 :
345
- $ref : " ../../specification/autoscaling/put_autoscaling_policy/autoscalingApisPutAutoscalingPolicyRequestExample1 .yaml"
345
+ $ref : " ../../specification/autoscaling/put_autoscaling_policy/examples/request/PutAutoscalingPolicyRequestExample1 .yaml"
346
346
createAutoscalingPolicyRequestExample2 :
347
- $ref : " ../../specification/autoscaling/put_autoscaling_policy/autoscalingApisPutAutoscalingPolicyRequestExample2 .yaml"
347
+ $ref : " ../../specification/autoscaling/put_autoscaling_policy/examples/request/PutAutoscalingPolicyRequestExample2 .yaml"
348
348
responses :
349
349
200 :
350
350
content :
351
351
application/json :
352
352
examples :
353
353
createAutoscalingPolicyResponseExample1 :
354
- $ref : " ../../specification/autoscaling/put_autoscaling_policy/autoscalingApisPutAutoscalingPolicyResponseExample1 .yaml"
354
+ $ref : " ../../specification/autoscaling/put_autoscaling_policy/examples/200_response/PutAutoscalingPolicyResponseExample1 .yaml"
355
355
- target : " $.components['responses']['indices.recovery#200']"
356
356
description : " Add example for get index recovery response"
357
357
update :
358
358
content :
359
359
application/json :
360
360
examples :
361
361
getIndicesRecoveryResponseExample1 :
362
- $ref : " ../../specification/indices/recovery/indicesRecoveryResponseExample1.yaml"
362
+ $ref : " ../../specification/indices/recovery/examples/200_response/ indicesRecoveryResponseExample1.yaml"
363
363
- target : " $.paths['/_resolve/cluster/{name}']['get']"
364
364
description : " Add examples for resolve cluster operation"
365
365
update :
@@ -369,31 +369,31 @@ actions:
369
369
application/json :
370
370
examples :
371
371
resolveClusterResponseExample1 :
372
- $ref : " ../../specification/indices/resolve_cluster/ResolveClusterResponseExample1.yaml"
372
+ $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ ResolveClusterResponseExample1.yaml"
373
373
- target : " $.components['requestBodies']['indices.shrink']"
374
374
description : " Add example for shrink index request"
375
375
update :
376
376
content :
377
377
application/json :
378
378
examples :
379
379
indicesShrinkRequestExample1 :
380
- $ref : " ../../specification/indices/shrink/indicesShrinkRequestExample1.yaml"
380
+ $ref : " ../../specification/indices/shrink/examples/request/ indicesShrinkRequestExample1.yaml"
381
381
- target : " $.components['requestBodies']['indices.split']"
382
382
description : " Add example for split index request"
383
383
update :
384
384
content :
385
385
application/json :
386
386
examples :
387
387
indicesSplitRequestExample1 :
388
- $ref : " ../../specification/indices/split/indicesSplitRequestExample1.yaml"
388
+ $ref : " ../../specification/indices/split/examples/request/ indicesSplitRequestExample1.yaml"
389
389
- target : " $.components['requestBodies']['indices.put_template']"
390
390
description : " Add example for legacy create template request"
391
391
update :
392
392
content :
393
393
application/json :
394
394
examples :
395
395
indicesLegacyPutTemplateRequestExample1 :
396
- $ref : " ../../specification/indices/put_template/indicesPutTemplateRequestExample1.yaml"
396
+ $ref : " ../../specification/indices/put_template/examples/request/ indicesPutTemplateRequestExample1.yaml"
397
397
# # Examples for behavioral analytics
398
398
- target : " $.paths['/_application/analytics/{collection_name}/event/{event_type}']['post']"
399
399
description : " Add examples for post analytics collection event operation"
@@ -403,7 +403,7 @@ actions:
403
403
application/json :
404
404
examples :
405
405
postBehavioralAnalyticsEventRequestExample1 :
406
- $ref : " ../../specification/search_application/post_behavioral_analytics_event/BehavioralAnalyticsEventPostRequestExample1.yaml"
406
+ $ref : " ../../specification/search_application/post_behavioral_analytics_event/examples/request/ BehavioralAnalyticsEventPostRequestExample1.yaml"
407
407
# # Examples for indices
408
408
- target : " $.paths['/_lifecycle/stats']['get']"
409
409
description : " Add examples for get lifecycle stats operation"
@@ -452,7 +452,7 @@ actions:
452
452
application/json :
453
453
examples :
454
454
getBasicStatusResponseExample1 :
455
- $ref : " ../../specification/license/get_basic_status/GetBasicLicenseStatusResponseExample1.yaml"
455
+ $ref : " ../../specification/license/get_basic_status/examples/200_response/ GetBasicLicenseStatusResponseExample1.yaml"
456
456
- target : " $.paths['/_license/trial_status']['get']"
457
457
description : " Add example for get trial status response"
458
458
update :
@@ -462,7 +462,7 @@ actions:
462
462
application/json :
463
463
examples :
464
464
getLicenseResponseExample1 :
465
- $ref : " ../../specification/license/get_trial_status/GetTrialLicenseStatusResponseExample1.yaml"
465
+ $ref : " ../../specification/license/get_trial_status/examples/200_response/ GetTrialLicenseStatusResponseExample1.yaml"
466
466
- target : " $.paths['/_license/start_basic']['post']"
467
467
description : " Add example for start basic response"
468
468
update :
@@ -472,7 +472,7 @@ actions:
472
472
application/json :
473
473
examples :
474
474
startBasicLicenseResponseExample1 :
475
- $ref : " ../../specification/license/post_start_basic/StartBasicLicenseResponseExample1.yaml"
475
+ $ref : " ../../specification/license/post_start_basic/examples/200_response/ StartBasicLicenseResponseExample1.yaml"
476
476
- target : " $.paths['/_license/start_trial']['post']"
477
477
description : " Add example for start trial response"
478
478
update :
@@ -482,23 +482,23 @@ actions:
482
482
application/json :
483
483
examples :
484
484
startTrialLicenseResponseExample1 :
485
- $ref : " ../../specification/license/post_start_trial/StartTrialLicenseResponseExample1.yaml"
485
+ $ref : " ../../specification/license/post_start_trial/examples/200_response/ StartTrialLicenseResponseExample1.yaml"
486
486
- target : " $.components['requestBodies']['license.post']"
487
487
description : " Add examples for update license request"
488
488
update :
489
489
content :
490
490
application/json :
491
491
examples :
492
492
updateLicenseRequestExample1 :
493
- $ref : " ../../specification/license/post/PostLicenseRequestExample1.yaml"
493
+ $ref : " ../../specification/license/post/examples/request/ PostLicenseRequestExample1.yaml"
494
494
- target : " $.components['responses']['license.post#200']"
495
495
description : " Add examples for update license response"
496
496
update :
497
497
content :
498
498
application/json :
499
499
examples :
500
500
clusterHealthResponseExample1 :
501
- $ref : " ../../specification/license/post/PostLicenseResponseExample1.yaml"
501
+ $ref : " ../../specification/license/post/examples/200_response/ PostLicenseResponseExample1.yaml"
502
502
# # Examples for search applications
503
503
- target : " $.paths['/_application/search_application/{name}/_render_query']['post']"
504
504
description : " Add examples for render search application query operation"
@@ -508,9 +508,9 @@ actions:
508
508
application/json :
509
509
examples :
510
510
renderSearchApplicationQueryRequestExample1 :
511
- $ref : " ../../specification/search_application/render_query/SearchApplicationsRenderQueryRequestExample1.yaml"
511
+ $ref : " ../../specification/search_application/render_query/examples/request/ SearchApplicationsRenderQueryRequestExample1.yaml"
512
512
renderSearchApplicationQueryResponseExample1 :
513
- $ref : " ../../specification/search_application/render_query/SearchApplicationsRenderQueryResponseExample1.yaml"
513
+ $ref : " ../../specification/search_application/render_query/examples/request/ SearchApplicationsRenderQueryResponseExample1.yaml"
514
514
# Examples for security
515
515
- target : " $.paths['/_security/api_key/_bulk_update']['post']"
516
516
description : " Add examples for bulk update API keys operation"
0 commit comments