OpenSearch/docs/reference/cat
Alexander Lin d31a8e6558 Provides a cat api endpoint for templates. (#20545)
Adds a cat api endpoint: /_cat/templates and its more specific version, /_cat/templates/{name}.

It looks something like:

$ curl "localhost:9200/_cat/templates?v"
name                  template     order version
sushi_california_roll *avocado*    1     1
pizza_hawaiian        *pineapples* 1
pizza_pepperoni       *pepperoni*  1

The specified version (only allows * globs) looks like:

$ curl "localhost:9200/_cat/templates/pizza*"
name            template     order version
pizza_hawaiian  *pineapples* 1
pizza_pepperoni *pepperoni*  1

Partially specified columns:

$ curl "localhost:9200/_cat/templates/pizza*?v=true&h=name,template"
name            template
pizza_hawaiian  *pineapples*
pizza_pepperoni *pepperoni*

The help text:

$ curl "localhost:9200/_cat/templates/pizza*?help"
name     | n | template name
template | t | template pattern string
order    | o | template application order number
version  | v | version

Closes #20467
2016-09-20 10:40:23 +02:00
..
alias.asciidoc Names of indexRouting and searchRouting infos are out of date. 2015-10-15 21:55:06 +02:00
allocation.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
count.asciidoc Update count.asciidoc 2016-03-01 13:40:32 +01:00
fielddata.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
health.asciidoc Update health.asciidoc 2015-11-17 14:46:18 -07:00
indices.asciidoc Fixed typo in cat indices docs 2016-09-14 18:36:58 +01:00
master.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
nodeattrs.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
nodes.asciidoc [DOC] Update /_cat/nodes doc 2016-09-19 09:31:48 +02:00
pending_tasks.asciidoc Docs: Use "js" instead of "json" and "sh" instead of "shell" for source highlighting 2015-07-14 18:14:09 +02:00
plugins.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
recovery.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
repositories.asciidoc Add cat API for repositories and snapshots 2015-10-26 18:37:10 +01:00
segments.asciidoc Add some clarification regarding docs.count 2016-04-07 11:15:32 +02:00
shards.asciidoc [DOC] Remove obsolete node names from documentation 2016-09-19 11:56:28 +02:00
snapshots.asciidoc Add duration field to /_cat/snapshots 2015-11-04 10:34:00 +01:00
templates.asciidoc Provides a cat api endpoint for templates. (#20545) 2016-09-20 10:40:23 +02:00
thread_pool.asciidoc Improve cat thread pool API 2016-08-03 23:02:13 -04:00