Get basic peer info of the current node
GET/v1/node/peers/identity
Get basic peer info of the current node
Request
Responses
- 200
- 401
This node peering identity
- application/json
- Schema
- Example (from schema)
Schema
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...