Get basic peer info of the current node
GET/v1/node/peers/identity
Get basic peer info of the current node
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": "peeringURL",
"name": "name",
"publicKey": "publicKey",
"isTrusted": true
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "error",
"missingPermission": "missingPermission"
}
Loading...