1.2 KiB
1.2 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
http | HTTP API: /v1/agent/members | docs-http-agent-members | The '/1/agent/members' endpoint is used to query the gossip peers. |
/v1/agent/members
The members
endpoint is used to query the agent for the known peers in
the gossip pool. This is only applicable to servers.
GET
- Description
- Lists the known members of the gossip pool.
- Method
- GET
- URL
- `/v1/agent/members`
- Parameters
- None
- Returns
-
```javascript [ { "Name": "Armons-MacBook-Air.local.global", "Addr": "127.0.0.1", "Port": 4648, "Tags": { "bootstrap": "1", "build": "0.1.0dev", "dc": "dc1", "port": "4647", "region": "global", "role": "nomad", "vsn": "1" }, "Status": "alive", "ProtocolMin": 1, "ProtocolMax": 3, "ProtocolCur": 2, "DelegateMin": 2, "DelegateMax": 4, "DelegateCur": 4 }, ... ] ```