Skip to content

Commit

Permalink
Append DevTool commands automatically prefix Space (#140443) (#143590)
Browse files Browse the repository at this point in the history
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 <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 75f2d0c)

Co-authored-by: Stef Nestor <[email protected]>
  • Loading branch information
kibanamachine and stefnestor authored Oct 18, 2022
1 parent bcf2917 commit 5955fe6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/user/api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5955fe6

Please sign in to comment.