Append DevTool commands automatically prefix Space (#140443)

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>
This commit is contained in:
Stef Nestor 2022-10-18 14:18:36 -06:00 committed by GitHub
parent e71a522567
commit 75f2d0c714
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,8 @@ For example:
`GET kbn:/api/index_management/indices`
--------------------------------------------------
Note: this will automatically prefix `s/{space_id}/` on the API request if ran from a non-default Kibana Space.
[float]
[[api-authentication]]
=== Authentication