Get Peer Attributes
get
/console/admin/api/v1.1/nodes/peers/{peerId}
Get all configuration attributes of a peer.
Request
Supported Media Types
- application/json
Path Parameters
-
peerId: string
ID of peer being queried
Response
Supported Media Types
- application/json
200 Response
Peer attributes
Root Schema : peerAttributes
Type:
Show Source
object-
alias(optional):
string
-
chaincode(optional):
object chaincode
-
eventService(optional):
object eventService
-
gossip(optional):
object gossip
-
gossipElection(optional):
object gossipElection
-
logLevel(optional):
string
Allowed Values:
[ "DEBUG", "FATAL", "ERROR", "WARNING", "TRACE", "INFO" ] -
mspId(optional):
string
-
peerId(optional):
string
-
role(optional):
string
Allowed Values:
[ "Member", "Admin" ] -
url(optional):
string
Nested Schema : chaincode
Type:
Show Source
object-
executeTimeout(optional):
integer
Default Value:
30Example:30 -
keepalive(optional):
integer
Default Value:
0Example:0 -
logLevel(optional):
string
Allowed Values:
[ "DEBUG", "FATAL", "ERROR", "WARNING", "TRACE", "INFO" ] -
mode(optional):
string
Allowed Values:
[ "dev", "net" ] -
shimLevel(optional):
string
Allowed Values:
[ "DEBUG", "FATAL", "ERROR", "WARNING", "TRACE", "INFO" ] -
startupTimeout(optional):
integer
Default Value:
300Example:300
Nested Schema : eventService
Type:
Show Source
object-
bufferSize(optional):
integer
Default Value:
100Example:100 -
timeout(optional):
integer
Default Value:
10Example:10 -
url(optional):
string
Nested Schema : gossip
Type:
Show Source
object-
aliveExpirationTimeout(optional):
integer
Default Value:
25Example:25 -
aliveTimeInterval(optional):
integer
Default Value:
5Example:5 -
bootstrapPeers(optional):
string
-
connectTimeout(optional):
integer
Default Value:
2Example:2 -
dialTimeout(optional):
integer
Default Value:
3Example:3 -
digestWaitTime(optional):
integer
Default Value:
1Example:1 -
maxBlockCountToStore(optional):
integer
Default Value:
100Example:100 -
maxPropagationBurstLatency(optional):
integer
Default Value:
10Example:10 -
maxPropagationBurstSize(optional):
integer
Default Value:
10Example:10 -
propagateIterations(optional):
integer
Default Value:
1Example:1 -
propagatePeerNumber(optional):
integer
Default Value:
3Example:3 -
publicCertPeriod(optional):
integer
Default Value:
10Example:10 -
publishStateInfo(optional):
integer
Default Value:
4Example:4 -
pullInterval(optional):
integer
Default Value:
4Example:4 -
pullPeerNumber(optional):
integer
Default Value:
3Example:3 -
receiveBufferSize(optional):
integer
Default Value:
20Example:20 -
reconnectInterval(optional):
integer
Default Value:
25Example:25 -
requestStateInfoInterval(optional):
integer
Default Value:
4Example:4 -
requestWaitTime(optional):
integer
Default Value:
1500Example:1500 -
responseWaitTime(optional):
integer
Default Value:
2Example:2 -
sendBufferSize(optional):
integer
Default Value:
200Example:200 -
skipBlockVerification(optional):
boolean
Default Value:
falseExample:false
Nested Schema : gossipElection
Type:
Show Source
object-
leader(optional):
string
Allowed Values:
[ "UseLeaderElection", "OrgLeader" ] -
leaderALiveThreshold(optional):
integer
Default Value:
10Example:10 -
leaderElectionDuration(optional):
integer
Default Value:
5Example:5 -
membershipSampleInterval(optional):
integer
Default Value:
1Example:1
400 Response
Invalid arguments
401 Response
Unauthorized
500 Response
Internal Server Error
Default Response
Unexpected error