github.com/ncodes/nomad@v0.5.7-0.20170403112158-97adf4a74fb3/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 "ServerName": "DIPTANUs-MBP", 39 "ServerRegion": "global", 40 "ServerDC": "dc1", 41 "Members": [ 42 { 43 "Name": "DIPTANUs-MBP.global", 44 "Addr": "127.0.0.1", 45 "Port": 4648, 46 "Tags": { 47 "mvn": "1", 48 "build": "0.5.0rc2", 49 "port": "4647", 50 "bootstrap": "1", 51 "role": "nomad", 52 "region": "global", 53 "dc": "dc1", 54 "vsn": "1" 55 }, 56 "Status": "alive", 57 "ProtocolMin": 1, 58 "ProtocolMax": 4, 59 "ProtocolCur": 2, 60 "DelegateMin": 2, 61 "DelegateMax": 4, 62 "DelegateCur": 4 63 } 64 ] 65 } 66 ``` 67 68 </dd> 69 </dl> 70