-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] Document bytes and time params in cat API docs
#47672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,8 @@ docs, the bytes it takes on disk, and the node where it's located. | |
|
|
||
| `GET /_cat/shards/<index>` | ||
|
|
||
| `GET /_cat/shards` | ||
|
|
||
|
|
||
| [[cat-shards-path-params]] | ||
| ==== {api-path-parms-title} | ||
|
|
@@ -269,6 +271,8 @@ include::{docdir}/rest-api/common-parms.asciidoc[tag=master-timeout] | |
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s] | ||
|
|
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=time] | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i think this should also include bytes
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like |
||
| include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v] | ||
|
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -433,11 +433,6 @@ such as `1264`. | |
| A value of `-1` indicates {es} was unable to compute this number. | ||
| end::memory[] | ||
|
|
||
| tag::name[] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| `<name>`:: | ||
| (Optional, string) Comma-separated list of alias names to return. | ||
| end::name[] | ||
|
|
||
| tag::node-id[] | ||
| `<node_id>`:: | ||
| (Optional, string) Comma-separated list of node IDs or names used to limit | ||
|
|
@@ -682,6 +677,12 @@ tag::terminate_after[] | |
| upon reaching which the query execution will terminate early. | ||
| end::terminate_after[] | ||
|
|
||
| tag::time[] | ||
| `time`:: | ||
| (Optional, <<time-units,time units>>) | ||
| Unit used to display time values. | ||
| end::time[] | ||
|
|
||
| tag::timeoutparms[] | ||
|
|
||
| tag::timeout[] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this one should include bytes too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like
bytesis already documented for this API:https://github.com/elastic/elasticsearch/blame/be233f3d235b39d9315fc79974e9b69f20b1fe38/docs/reference/cat/indices.asciidoc#L48