23 lines
747 B
Plaintext
23 lines
747 B
Plaintext
[[java-rest-high-main]]
|
|
=== Info API
|
|
|
|
[[java-rest-high-main-request]]
|
|
==== Execution
|
|
|
|
Cluster information can be retrieved using the `info()` method:
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
--------------------------------------------------
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-execute]
|
|
--------------------------------------------------
|
|
|
|
[[java-rest-high-main-response]]
|
|
==== Response
|
|
|
|
The returned `MainResponse` provides various kinds of information about the cluster:
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
--------------------------------------------------
|
|
include-tagged::{doc-tests}/MiscellaneousDocumentationIT.java[main-response]
|
|
--------------------------------------------------
|