Skip to content

Commit d593c96

Browse files
authored
Use deprecated object to deprecate synced flush API (#57096)
Relates: #50835 This commit updates the synced flush REST API spec to deprecate the whole API.
1 parent 152d330 commit d593c96

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
"methods":[
1313
"POST",
1414
"GET"
15-
]
15+
],
16+
"deprecated":{
17+
"version":"7.6.0",
18+
"description":"Synced flush is deprecated and will be removed in 8.0. Use flush instead."
19+
}
1620
},
1721
{
1822
"path":"/{index}/_flush/synced",
@@ -25,6 +29,10 @@
2529
"type":"list",
2630
"description":"A comma-separated list of index names; use `_all` or empty string for all indices"
2731
}
32+
},
33+
"deprecated":{
34+
"version":"7.6.0",
35+
"description":"Synced flush is deprecated and will be removed in 8.0. Use flush instead."
2836
}
2937
}
3038
]

0 commit comments

Comments
 (0)