Skip to content

Commit 855a1b7

Browse files
committed
Clarify filenames; add start stop ILM examples
1 parent ca78f0c commit 855a1b7

File tree

5 files changed

+31
-12
lines changed

5 files changed

+31
-12
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,6 @@ actions:
7575
examples:
7676
getLifecycleResponseExample1:
7777
$ref: "../../specification/ilm/get_lifecycle/GetLifecycleResponseExample1.json"
78-
- target: "$.paths['/_ilm/status']['get']"
79-
description: "Add examples for get index lifecycle management status operation"
80-
update:
81-
responses:
82-
200:
83-
content:
84-
application/json:
85-
examples:
86-
getLifecycleStatusResponseExample1:
87-
$ref: "../../specification/ilm/get_status/GetStatusResponseExample1.json"
8878
- target: "$.paths['/_ilm/migrate_to_data_tiers']['post']"
8979
description: "Add examples for migrate to data tiers routing operation"
9080
update:
@@ -119,6 +109,36 @@ actions:
119109
examples:
120110
moveToStepResponseExample1:
121111
$ref: "../../specification/ilm/move_to_step/MoveToStepResponseExample1.json"
112+
- target: "$.paths['/_ilm/start']['post']"
113+
description: "Add examples for start index lifecycle management operation"
114+
update:
115+
responses:
116+
200:
117+
content:
118+
application/json:
119+
examples:
120+
startILMResponseExample1:
121+
$ref: "../../specification/ilm/start/StartILMResponseExample1.json"
122+
- target: "$.paths['/_ilm/stop']['post']"
123+
description: "Add examples for stop index lifecycle management operation"
124+
update:
125+
responses:
126+
200:
127+
content:
128+
application/json:
129+
examples:
130+
stopILMResponseExample1:
131+
$ref: "../../specification/ilm/stop/stopILMResponseExample1.json"
132+
- target: "$.paths['/_ilm/status']['get']"
133+
description: "Add examples for get index lifecycle management status operation"
134+
update:
135+
responses:
136+
200:
137+
content:
138+
application/json:
139+
examples:
140+
getILMStatusResponseExample1:
141+
$ref: "../../specification/ilm/get_status/GetILMStatusResponseExample1.json"
122142
- target: "$.paths['/{index}/_ilm/explain']['get']"
123143
description: "Add examples for explain lifecycle operation"
124144
update:
@@ -128,8 +148,7 @@ actions:
128148
application/json:
129149
examples:
130150
explainLifecycleResponseExample1:
131-
$ref: "../../specification/ilm/explain_lifecycle/ExplainResponseExample1.json"
132-
151+
$ref: "../../specification/ilm/explain_lifecycle/ExplainLifecycleResponseExample1.json"
133152
- target: "$.paths['/{index}/_ilm/remove']['post']"
134153
description: "Add examples for remove policy from index operation"
135154
update:

0 commit comments

Comments
 (0)