@@ -199,6 +199,74 @@ 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"
202
270
# # Examples for cluster
203
271
- target : " $.components['requestBodies']['cluster.allocation_explain']"
204
272
description : " Add examples for cluster allocation explain operation"
@@ -258,16 +326,6 @@ actions:
258
326
examples :
259
327
nodesInfoResponseExample1 :
260
328
$ref : " ../../specification/nodes/info/examples/200_response/nodesInfoResponseExample1.yaml"
261
- - target : " $.paths['/_resolve/cluster/{name}']['get']"
262
- description : " Add examples for resolve cluster operation"
263
- update :
264
- responses :
265
- 200 :
266
- content :
267
- application/json :
268
- examples :
269
- resolveClusterResponseExample1 :
270
- $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml"
271
329
# # Examples for connectors
272
330
- target : " $.paths['/_connector/_sync_job/{connector_sync_job_id}/_error']['put']"
273
331
description : " Add examples for connector job sync error operation"
@@ -501,6 +559,16 @@ actions:
501
559
examples :
502
560
getIndicesRecoveryResponseExample1 :
503
561
$ref : " ../../specification/indices/recovery/examples/200_response/indicesRecoveryResponseExample1.yaml"
562
+ - target : " $.components['responses']['indices.resolve_cluster#200']"
563
+ description : " Add examples for resolve cluster operation"
564
+ update :
565
+ content :
566
+ application/json :
567
+ examples :
568
+ resolveClusterResponseExample1 :
569
+ $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml"
570
+ resolveClusterResponseExample2 :
571
+ $ref : " ../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample2.yaml"
504
572
- target : " $.components['requestBodies']['indices.shrink']"
505
573
description : " Add example for shrink index request"
506
574
update :
0 commit comments