cat master

Introduced 1.0

The cat master operation lists information that helps identify the elected master node.

Example

  1. GET _cat/master?v

Path and HTTP methods

  1. GET _cat/master

URL parameters

All cat master URL parameters are optional.

In addition to the common URL parameters, you can specify the following parameters:

ParameterTypeDescription
master_timeoutTimeThe amount of time to wait for a connection to the master node. Default is 30 seconds.

Response

  1. id | host | ip | node
  2. ZaIkkUd4TEiAihqJGkp5CA | 172.18.0.3 | 172.18.0.3 | odfe-node2