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.
This commit is contained in:
parent
152d330369
commit
d593c963f3
|
@ -12,7 +12,11 @@
|
|||
"methods":[
|
||||
"POST",
|
||||
"GET"
|
||||
]
|
||||
],
|
||||
"deprecated":{
|
||||
"version":"7.6.0",
|
||||
"description":"Synced flush is deprecated and will be removed in 8.0. Use flush instead."
|
||||
}
|
||||
},
|
||||
{
|
||||
"path":"/{index}/_flush/synced",
|
||||
|
@ -25,6 +29,10 @@
|
|||
"type":"list",
|
||||
"description":"A comma-separated list of index names; use `_all` or empty string for all indices"
|
||||
}
|
||||
},
|
||||
"deprecated":{
|
||||
"version":"7.6.0",
|
||||
"description":"Synced flush is deprecated and will be removed in 8.0. Use flush instead."
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue