Skip to content

Commit d2d7eef

Browse files
committed
Add example overlays for update data stream lifecycle
1 parent 4456048 commit d2d7eef

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,3 +243,21 @@ actions:
243243
examples:
244244
indicesGetDataStreamResponseExample:
245245
$ref: "../../specification/indices/get_data_stream/indicesGetDataStreamResponseExample1.yaml"
246+
- target: "$.paths['/_data_stream/{name}/_lifecycle']['put']"
247+
description: "Add examples update data stream lifecycle request and response"
248+
update:
249+
requestBody:
250+
content:
251+
application/json:
252+
examples:
253+
indicesPutDataLifecycleRequestExample1:
254+
$ref: "../../specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequestExample1.yaml"
255+
indicesPutLifecycleRequestExample2:
256+
$ref: "../../specification/indices/put_data_lifecycle/IndicesPutDataLifecycleRequestExample2.yaml"
257+
responses:
258+
200:
259+
content:
260+
application/json:
261+
examples:
262+
indicesPutDataLifecycleResponseExample1:
263+
$ref: "../../specification/indices/put_data_lifecycle/IndicesPutDataLifecycleResponseExample1.yaml"

0 commit comments

Comments
 (0)