Skip to content

Commit

Permalink
Add a note to the docs that _cat api help option cannot be used if …
Browse files Browse the repository at this point in the history
…an optional url param is used (#28686)
  • Loading branch information
olcbean authored and bleskes committed Feb 15, 2018
1 parent 671e7e2 commit 658ca5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/reference/cat.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ GET /_cat/master?help
--------------------------------------------------
// CONSOLE

Might respond respond with:
Might respond with:

[source,txt]
--------------------------------------------------
Expand All @@ -66,6 +66,11 @@ node | n | node name
--------------------------------------------------
// TESTRESPONSE[s/[|]/[|]/ _cat]

NOTE: `help` is not supported if any optional url parameter is used.
For example `GET _cat/shards/twitter?help` or `GET _cat/indices/twi*?help`
results in an error. Use `GET _cat/shards?help` or `GET _cat/indices?help`
instead.

[float]
[[headers]]
=== Headers
Expand Down

0 comments on commit 658ca5e

Please sign in to comment.