After https://github.com/elastic/kibana/pull/128562 is merged, Dev Tools Console will support Kibana APIs requests. Users need to prepend their Kibana requests with kbn: which can be cumbersome if a user wants to send a lot of requests. They can't just copy the endpoints from the Network tab.
Maybe we can add a UI toggle for Kibana requests? When the toggle is enabled, requests are sent only to Kibana APIs.
Or maybe we can always try to call Kibana and if the endpoint is not found, then request ES?
Or maybe we can even rely on a specific strings that Kibana requests start with (internal and api vs ES endpoints start with _)?
After https://github.com/elastic/kibana/pull/128562 is merged, Dev Tools Console will support Kibana APIs requests. Users need to prepend their Kibana requests with
kbn:
which can be cumbersome if a user wants to send a lot of requests. They can't just copy the endpoints from the Network tab. Maybe we can add a UI toggle for Kibana requests? When the toggle is enabled, requests are sent only to Kibana APIs. Or maybe we can always try to call Kibana and if the endpoint is not found, then request ES? Or maybe we can even rely on a specific strings that Kibana requests start with (internal
andapi
vs ES endpoints start with_
)?