Get trusted peers
GET/v1/node/peers/trusted
Get trusted peers
Request
Responses
- 200
- 401
A list of trusted peers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
isTrusted booleanrequired
name stringrequired
peeringURL stringrequired
The peering URL of the peer
publicKey stringrequired
The peers public key encoded in Hex
[
{
"peeringURL": "localhost:4000",
"name": "name",
"publicKey": 0,
"isTrusted": true
}
]
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...