@@ -40,7 +40,7 @@ actions:
4040 examples :
4141 resetFeaturesResponseExample1 :
4242 $ref : " ../../specification/features/reset_features/ResetFeaturesResponseExample1.json"
43- - target : " $.components['requestBodies']['cluster.allocation_explain']"
43+ - target : " $.components['requestBodies']['cluster.allocation_explain']"
4444 description : " Add examples for cluster allocation explain operation"
4545 update :
4646 content :
@@ -107,4 +107,123 @@ actions:
107107 application/json :
108108 examples :
109109 nodesInfoResponseExample1 :
110- $ref : " ../../specification/nodes/info/nodesInfoResponseExample1.yaml"
110+ $ref : " ../../specification/nodes/info/nodesInfoResponseExample1.yaml"
111+ - target : " $.paths['/_ilm/policy/{policy}']['delete']"
112+ description : " Add examples for delete lifecycle policy operation"
113+ update :
114+ responses :
115+ 200 :
116+ content :
117+ application/json :
118+ examples :
119+ deleteLifecycleResponseExample1 :
120+ $ref : " ../../specification/ilm/delete_lifecycle/DeleteLifecycleResponseExample1.json"
121+ - target : " $.paths['/_ilm/policy/{policy}']['put']"
122+ description : " Add examples for create a lifecycle operation"
123+ update :
124+ update :
125+ requestBody :
126+ content :
127+ application/json :
128+ examples :
129+ putLifecycleRequestExample1 :
130+ $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleRequestExample1.json"
131+ responses :
132+ 200 :
133+ content :
134+ application/json :
135+ examples :
136+ putLifecycleResponseExample1 :
137+ $ref : " ../../specification/ilm/put_lifecycle/PutLifecycleResponseExample1.json"
138+ - target : " $.components['responses']['ilm.get_lifecycle#200']"
139+ description : " Add examples for get lifecycle policy operation"
140+ update :
141+ content :
142+ application/json :
143+ examples :
144+ getLifecycleResponseExample1 :
145+ $ref : " ../../specification/ilm/get_lifecycle/GetLifecycleResponseExample1.json"
146+ - target : " $.paths['/_ilm/migrate_to_data_tiers']['post']"
147+ description : " Add examples for migrate to data tiers routing operation"
148+ update :
149+ update :
150+ requestBody :
151+ content :
152+ application/json :
153+ examples :
154+ migrateToDataTiersRequestExample1 :
155+ $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersRequestExample1.json"
156+ responses :
157+ 200 :
158+ content :
159+ application/json :
160+ examples :
161+ migrateToDataTiersResponseExample1 :
162+ $ref : " ../../specification/ilm/migrate_to_data_tiers/MigrateToDataTiersResponseExample1.json"
163+ - target : " $.paths['/_ilm/move/{index}']['post']"
164+ description : " Add examples for move to lifecycle step operation"
165+ update :
166+ update :
167+ requestBody :
168+ content :
169+ application/json :
170+ examples :
171+ moveToStepRequestExample1 :
172+ $ref : " ../../specification/ilm/move_to_step/MoveToStepRequestExample1.json"
173+ responses :
174+ 200 :
175+ content :
176+ application/json :
177+ examples :
178+ moveToStepResponseExample1 :
179+ $ref : " ../../specification/ilm/move_to_step/MoveToStepResponseExample1.json"
180+ - target : " $.paths['/_ilm/start']['post']"
181+ description : " Add examples for start index lifecycle management operation"
182+ update :
183+ responses :
184+ 200 :
185+ content :
186+ application/json :
187+ examples :
188+ startILMResponseExample1 :
189+ $ref : " ../../specification/ilm/start/StartILMResponseExample1.json"
190+ - target : " $.paths['/_ilm/stop']['post']"
191+ description : " Add examples for stop index lifecycle management operation"
192+ update :
193+ responses :
194+ 200 :
195+ content :
196+ application/json :
197+ examples :
198+ stopILMResponseExample1 :
199+ $ref : " ../../specification/ilm/stop/stopILMResponseExample1.json"
200+ - target : " $.paths['/_ilm/status']['get']"
201+ description : " Add examples for get index lifecycle management status operation"
202+ update :
203+ responses :
204+ 200 :
205+ content :
206+ application/json :
207+ examples :
208+ getILMStatusResponseExample1 :
209+ $ref : " ../../specification/ilm/get_status/GetILMStatusResponseExample1.json"
210+ - target : " $.paths['/{index}/_ilm/explain']['get']"
211+ description : " Add examples for explain lifecycle operation"
212+ update :
213+ responses :
214+ 200 :
215+ content :
216+ application/json :
217+ examples :
218+ explainLifecycleResponseExample1 :
219+ $ref : " ../../specification/ilm/explain_lifecycle/ExplainLifecycleResponseExample1.json"
220+ - target : " $.paths['/{index}/_ilm/remove']['post']"
221+ description : " Add examples for remove policy from index operation"
222+ update :
223+ responses :
224+ 200 :
225+ content :
226+ application/json :
227+ examples :
228+ removePolicyResponseExample1 :
229+ $ref : " ../../specification/ilm/remove_policy/RemovePolicyResponseExample1.json"
0 commit comments