Closed hendrikmuhs closed 1 year ago
Pinging @elastic/es-ui (Team:Elasticsearch UI)
@hendrikmuhs thanks for opening this issue for discussion!
I see that the spec on ES side includes this key:
...
"deprecated":{
"version":"7.5.0",
"description":"[_data_frame/transforms/] is deprecated, use [_transform/] in the future."
}
...
Under the top-level url
key. This is exactly the information we can use to show the user when it was deprecated and what we recommend they use instead. This can probably be displayed in the autocomplete drop-down.
So we would need to:
spec_to_console
script to include the deprecated
key mentioned aboveI do want to add - this may be more complex than I am making it sound - updating Console's completion logic can be complex so perhaps inside the autcomplete is not the best place.
This endpoint is not displayed in the autocompletions anymore
For 7.5 the API
/_data_frame/transforms/
has been deprecated and renamed to/transform/
.Completions have been updated with #47735, thank you!
However, it would be nice if the old endpoints
/_data_frame/transforms/
could be blacklisted. We still provide completions for them.(The REST API specs have "deprecated" in there name, maybe that can be used as indicator to blacklist those)