Get basic information about all configured peers
GET/v1/node/peers
Get basic information about all configured peers
Responses
- 200
- 401
A list of all peers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
isAlive booleanrequired
Whether or not the peer is activated
isTrusted booleanrequired
name stringrequired
numUsers int32required
The amount of users attached to the peer
peeringURL stringrequired
The peering URL of the peer
publicKey stringrequired
The peers public key encoded in Hex
[
{
"isAlive": true,
"peeringURL": "localhost:4000",
"name": "name",
"publicKey": 0,
"numUsers": 1,
"isTrusted": true
}
]
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...