Skip to content

Commit

Permalink
[Rollup] Add a comment about api use by the data view plugin (elastic…
Browse files Browse the repository at this point in the history
…#163432)

## Summary
Adds a comment that the API endpoint /rollup/indices is used by the data
view plugin.

With elastic#162674 merged, the issue
elastic#152708 has been closed. The
Data Discovery team is not planning any further work around rollup api
use due to the feature being deprecated. I think adding a comment to the
API code directly will help us remember this dependency for when we are
going to edit or remove the endpoint.
  • Loading branch information
yuliacech authored Aug 8, 2023
1 parent 346fc7e commit c7053d4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const registerGetRoute = ({
}: RouteDependencies) => {
router.get(
{
// this endpoint is used by the data views plugin, see https://github.com/elastic/kibana/issues/152708
path: addBasePath('/indices'),
validate: false,
},
Expand Down

0 comments on commit c7053d4

Please sign in to comment.