Append DevTool commands automatically prefix Space (#140443) (#143589)

In DevTools, if you go to run `kbn:/s/foo/api/MY_REQUEST` then IF default space you effectively run `KIBANA/s/foo/api/MY_REQUEST` BUT IF non-default space e.g. `admin` you end up running `KIBANA/s/admin/s/foo/api/MY_REQUEST` which is invalid.

This is not pointed out in Dev Tools and since this page updated to the emphasize the DevTools example, this is tripping up more users who think it should work via this page.

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 75f2d0c714)

Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
This commit is contained in:
Kibana Machine 2022-10-18 14:37:32 -06:00 committed by GitHub
parent 2236798a65
commit 207f1ddba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@ It is recommended that you use HTTPs on port 5601 because it is more secure.
NOTE: The {kib} Console supports only Elasticsearch APIs. You are unable to interact with the {kib} APIs with the Console and must use `curl` or another HTTP tool instead. For more information, refer to <<console-kibana,Console>>.
Note: this will automatically prefix `s/{space_id}/` on the API request if ran from a non-default Kibana Space.
[float]
[[api-authentication]]
=== Authentication