[DOCS] Reformat cat master API ()

This commit is contained in:
James Rodewig 2019-08-07 09:03:31 -04:00
parent 15d41a7508
commit d8423f0a80

@ -1,8 +1,36 @@
[[cat-master]] [[cat-master]]
=== cat master === cat master
`master` doesn't have any extra options. It simply displays the Returns information about the master node, including the ID, bound IP address,
master's node ID, bound IP address, and node name. For example: and name.
[[cat-master-api-request]]
==== {api-request-title}
`GET /_cat/master`
[[cat-master-api-query-params]]
==== {api-query-parms-title}
include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format]
include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h]
include::{docdir}/rest-api/common-parms.asciidoc[tag=help]
include::{docdir}/rest-api/common-parms.asciidoc[tag=local]
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=cat-v]
[[cat-master-api-example]]
==== {api-examples-title}
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------
@ -10,7 +38,7 @@ GET /_cat/master?v
-------------------------------------------------- --------------------------------------------------
// CONSOLE // CONSOLE
might respond: The API returns the following response:
[source,txt] [source,txt]
-------------------------------------------------- --------------------------------------------------