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:
30
Example:30
-
keepalive(optional):
integer
Default Value:
0
Example: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:
300
Example:300
Nested Schema : eventService
Type:
Show Source
object
-
bufferSize(optional):
integer
Default Value:
100
Example:100
-
timeout(optional):
integer
Default Value:
10
Example:10
-
url(optional):
string
Nested Schema : gossip
Type:
Show Source
object
-
aliveExpirationTimeout(optional):
integer
Default Value:
25
Example:25
-
aliveTimeInterval(optional):
integer
Default Value:
5
Example:5
-
bootstrapPeers(optional):
string
-
connectTimeout(optional):
integer
Default Value:
2
Example:2
-
dialTimeout(optional):
integer
Default Value:
3
Example:3
-
digestWaitTime(optional):
integer
Default Value:
1
Example:1
-
maxBlockCountToStore(optional):
integer
Default Value:
100
Example:100
-
maxPropagationBurstLatency(optional):
integer
Default Value:
10
Example:10
-
maxPropagationBurstSize(optional):
integer
Default Value:
10
Example:10
-
propagateIterations(optional):
integer
Default Value:
1
Example:1
-
propagatePeerNumber(optional):
integer
Default Value:
3
Example:3
-
publicCertPeriod(optional):
integer
Default Value:
10
Example:10
-
publishStateInfo(optional):
integer
Default Value:
4
Example:4
-
pullInterval(optional):
integer
Default Value:
4
Example:4
-
pullPeerNumber(optional):
integer
Default Value:
3
Example:3
-
receiveBufferSize(optional):
integer
Default Value:
20
Example:20
-
reconnectInterval(optional):
integer
Default Value:
25
Example:25
-
requestStateInfoInterval(optional):
integer
Default Value:
4
Example:4
-
requestWaitTime(optional):
integer
Default Value:
1500
Example:1500
-
responseWaitTime(optional):
integer
Default Value:
2
Example:2
-
sendBufferSize(optional):
integer
Default Value:
200
Example:200
-
skipBlockVerification(optional):
boolean
Default Value:
false
Example:false
Nested Schema : gossipElection
Type:
Show Source
object
-
leader(optional):
string
Allowed Values:
[ "UseLeaderElection", "OrgLeader" ]
-
leaderALiveThreshold(optional):
integer
Default Value:
10
Example:10
-
leaderElectionDuration(optional):
integer
Default Value:
5
Example:5
-
membershipSampleInterval(optional):
integer
Default Value:
1
Example:1
400 Response
Invalid arguments
401 Response
Unauthorized
500 Response
Internal Server Error
Default Response
Unexpected error