v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
node

Trust a peering node

post/v1/node/peers/trusted

Request body

namestring string required
peeringURLstring string required

The peering URL of the peer

publicKeystring string required

The peers public key encoded in Hex

Example request

{
  "peeringURL": "localhost:4000",
  "name": "name",
  "publicKey": 0
}

Response

Peer was successfully trusted