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:
Russ Cam 2020-08-06 15:17:26 +10:00 committed by GitHub
parent 152d330369
commit d593c963f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -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."
}
}
]