@@ -199,6 +199,96 @@ actions:
199
199
examples :
200
200
resumeFollowIndexResponseExample1 :
201
201
$ref : " ../../specification/ccr/resume_follow/examples/response/ResumeFollowIndexResponseExample1.yaml"
202
+ - target : " $.paths['/{index}/_ccr/unfollow']['post']"
203
+ description : " Add examples for unfollow an index"
204
+ update :
205
+ responses :
206
+ 200 :
207
+ content :
208
+ application/json :
209
+ examples :
210
+ ccrUnfollowIndexResponseExample1 :
211
+ $ref : " ../../specification/ccr/unfollow/examples/response/UnfollowIndexResponseExample1.yaml"
212
+ - target : " $.paths['/_ccr/stats']['get']"
213
+ description : " Add examples for get ccr stats"
214
+ update :
215
+ responses :
216
+ 200 :
217
+ content :
218
+ application/json :
219
+ examples :
220
+ ccrStatsResponseExample1 :
221
+ $ref : " ../../specification/ccr/stats/examples/response/CcrStatsResponseExample1.yaml"
222
+ - target : " $.paths['/_ccr/auto_follow/{name}/resume']['post']"
223
+ description : " Add examples for resume auto-follow pattern"
224
+ update :
225
+ responses :
226
+ 200 :
227
+ content :
228
+ application/json :
229
+ examples :
230
+ ccrResumeAutoFollowResponseExample1 :
231
+ $ref : " ../../specification/ccr/resume_auto_follow_pattern/examples/response/ResumeAutoFollowPatternResponseExample1.yaml"
232
+ - target : " $.paths['/{index}/_ccr/pause_follow']['post']"
233
+ description : " Add examples for resume auto-follow pattern"
234
+ update :
235
+ responses :
236
+ 200 :
237
+ content :
238
+ application/json :
239
+ examples :
240
+ ccrPauseFollowResponseExample1 :
241
+ $ref : " ../../specification/ccr/pause_follow/examples/response/PauseFollowIndexResponseExample1.yaml"
242
+ - target : " $.paths['/_ccr/auto_follow/{name}/pause']['post']"
243
+ description : " Add examples for pause auto-follow pattern"
244
+ update :
245
+ responses :
246
+ 200 :
247
+ content :
248
+ application/json :
249
+ examples :
250
+ ccrPauseAutoFollowPatternResponseExample1 :
251
+ $ref : " ../../specification/ccr/pause_auto_follow_pattern/examples/response/PauseAutoFollowPatternResponseExample1.yaml"
252
+ - target : " $.components['responses']['ccr.get_auto_follow_pattern#200']"
253
+ description : " Add examples for get auto-follow pattern"
254
+ update :
255
+ content :
256
+ application/json :
257
+ examples :
258
+ ccrPauseAutoFollowPatternResponseExample1 :
259
+ $ref : " ../../specification/ccr/get_auto_follow_pattern/examples/response/GetAutoFollowPatternResponseExample1.yaml"
260
+ - target : " $.paths['/{index}/_ccr/stats']['get']"
261
+ description : " Add examples for get follower stats"
262
+ update :
263
+ responses :
264
+ 200 :
265
+ content :
266
+ application/json :
267
+ examples :
268
+ ccrFollowerStatsResponseExample1 :
269
+ $ref : " ../../specification/ccr/follow_stats/examples/response/FollowIndexStatsResponseExample1.yaml"
270
+ - target : " $.paths['/{index}/_ccr/info']['get']"
271
+ description : " Add examples for get follower info"
272
+ update :
273
+ responses :
274
+ 200 :
275
+ content :
276
+ application/json :
277
+ examples :
278
+ ccrFollowerInfoResponseExample1 :
279
+ $ref : " ../../specification/ccr/follow_info/examples/response/FollowInfoResponseExample1.yaml"
280
+ ccrFollowerInfoResponseExample2 :
281
+ $ref : " ../../specification/ccr/follow_info/examples/response/FollowInfoResponseExample2.yaml"
282
+ - target : " $.paths['/_ccr/auto_follow/{name}']['delete']"
283
+ description : " Add examples for delete auto follow pattern"
284
+ update :
285
+ responses :
286
+ 200 :
287
+ content :
288
+ application/json :
289
+ examples :
290
+ ccrAutoFollowPatternDeleteResponseExample1 :
291
+ $ref : " ../../specification/ccr/delete_auto_follow_pattern/examples/response/DeleteAutoFollowPatternResponseExample1.yaml"
202
292
# # Examples for cluster
203
293
- target : " $.components['requestBodies']['cluster.allocation_explain']"
204
294
description : " Add examples for cluster allocation explain operation"
@@ -493,16 +583,16 @@ actions:
493
583
examples :
494
584
getIndicesRecoveryResponseExample1 :
495
585
$ref : " ../../specification/indices/recovery/examples/200_response/indicesRecoveryResponseExample1.yaml"
496
- - target : " $.paths['/_resolve/cluster/{name} ']['get ']"
586
+ - target : " $.components['responses ']['indices.resolve_cluster#200 ']"
497
587
description : " Add examples for resolve cluster operation"
498
588
update :
499
- responses :
500
- 200 :
501
- content :
502
- application/json :
503
- examples :
504
- resolveClusterResponseExample1 :
505
- $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1 .yaml"
589
+ content :
590
+ application/json :
591
+ examples :
592
+ resolveClusterResponseExample1 :
593
+ $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml "
594
+ resolveClusterResponseExample2 :
595
+ $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample2 .yaml"
506
596
- target : " $.components['requestBodies']['indices.shrink']"
507
597
description : " Add example for shrink index request"
508
598
update :
0 commit comments