github.com/kardianos/nomad@v0.1.3-0.20151022182107-b13df73ee850/website/source/docs/http/agent-members.html.md (about)

     1  ---
     2  layout: "http"
     3  page_title: "HTTP API: /v1/agent/members"
     4  sidebar_current: "docs-http-agent-members"
     5  description: |-
     6    The '/1/agent/members' endpoint is used to query the gossip peers.
     7  ---
     8  
     9  # /v1/agent/members
    10  
    11  The `members` endpoint is used to query the agent for the known peers in
    12  the gossip pool. This is only applicable to servers.
    13  
    14  ## GET
    15  
    16  <dl>
    17    <dt>Description</dt>
    18    <dd>
    19      Lists the known members of the gossip pool.
    20    </dd>
    21  
    22    <dt>Method</dt>
    23    <dd>GET</dd>
    24  
    25    <dt>URL</dt>
    26    <dd>`/v1/agent/members`</dd>
    27  
    28    <dt>Parameters</dt>
    29    <dd>
    30      None
    31    </dd>
    32  
    33    <dt>Returns</dt>
    34    <dd>
    35  
    36      ```javascript
    37      [
    38      {
    39          "Name": "Armons-MacBook-Air.local.global",
    40          "Addr": "127.0.0.1",
    41          "Port": 4648,
    42          "Tags": {
    43              "bootstrap": "1",
    44              "build": "0.1.0dev",
    45              "dc": "dc1",
    46              "port": "4647",
    47              "region": "global",
    48              "role": "nomad",
    49              "vsn": "1",
    50              "vsn_max": "1",
    51              "vsn_min": "1"
    52          },
    53          "Status": "alive",
    54          "ProtocolMin": 1,
    55          "ProtocolMax": 3,
    56          "ProtocolCur": 2,
    57          "DelegateMin": 2,
    58          "DelegateMax": 4,
    59          "DelegateCur": 4
    60      },
    61      ...
    62      ]
    63      ```
    64  
    65    </dd>
    66  </dl>
    67