v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
node

Get basic information about all configured peers

get/v1/node/peers

Response

A list of all peers

isAliveboolean required

Whether or not the peer is activated

isTrustedboolean required
namestring string required
numUsersinteger required

The amount of users attached to the peer

peeringURLstring string required

The peering URL of the peer

publicKeystring string required

The peers public key encoded in Hex

Example response

[
  {
    "isAlive": true,
    "peeringURL": "localhost:4000",
    "name": "name",
    "publicKey": 0,
    "numUsers": 1,
    "isTrusted": true
  }
]