View Orderer details
- Print
- PDF
View Orderer details
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Inquire the orderer information of the blockchain network.
request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/orderers/{ordererId}
request parameter
parameter name | Required | type | Restrictions | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
ordererId | Yes | long | Path Parameter | Orderer ID |
Example request
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/orderers/{ordererId} \
-H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
-H "x-ncp-iam-access-key: {x-ncp-iam-access-key}" \
-H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
reply
response body
Item | type | Description |
---|---|---|
status | string | Response Success |
body.content[].networkId | Long | Network ID |
body.content[].ordererId | String | Orderer ID |
body.content[].ordererName | String | Orderer name |
body.content[].mspId | String | Admin MSP ID |
body.content[].ordererType | String | Orderer type |
body.content[].endpointAddr | Array[String] | Orderer Address |
body.content[].importYn | Boolean | Import or not |
body.content[].exportNetworkId | Long | Exported Network ID |
body.content[].exportOrdererId | String | Exported Orderer ID |
body.content[].adminIdentityName | String | Management Identity Name |
body.content[].ordererResourceCpu | Float | CPU capacity allocated to orderer pods |
body.content[].ordererReousrceMem | Integer | Memory capacity allocated to orderer pods |
body.content[].ordererResourceStorage | Integer | Storage capacity allocated to orderer pods |
body.content[].batchConfigTimeout | Integer | Batch Config Block Generation Interval (Unit: seconds, 0: Default setting) |
body.content[].batchConfigMaxMessageCount | String | Batch Config Maximum number of messages (Unit: pieces, 0: Defaul t setting) |
body.content[].batchConfigPreferredMaxBytes | String | Block size based on Batch Config (Unit: MB, 0: Default setting) |
body.content[].batchConfigAbsoluteMaxBytes | String | Batch Config Maximum block size (Unit: MB, 0: Default setting) |
body.content[].digest | String | variable added to orderer name |
body.content[].nodeAffinityLabel | String | Node Pool |
body.content[].status | String | Orderer Status (ACTIVE, DEPLOY, DELETE) |
body.content[].consortiumList.networkId | String | Network ID |
body.content[].consortiumList.networkName | String | network name |
body.content[].consortiumList.mspId | String | MSP ID |
body.content[].consortiumList.mspName | String | MSP persons |
body.content[].consortiumList.importYn | Boolean | Import or not |
body.content[].channelList.networkId | String | Network ID |
body.content[].channelList.ordererId | String | Orderer ID |
body.content[].channelList.mspId | String | MSP ID |
body.content[].channelList.channelName | String | Channel Name |
body.content[].channelList.operator | String | admin |
body.content[].createDate | LocalDateTime | Orderer Creation Date |
body.content[].updateDate | LocalDateTime | Orderer modification date |
Example response
{
"content": {
"networkId": 100,
"ordererId": "2000001",
"ordererName": "orderer",
"mspId": "orderer-msp",
"ordererType": "Raft 1",
"endpointAddr": "[orderer1-xhcu7c-hlf-ord.bc-kckahenu.kr.blockchain.naverncp.com]",
"adminIdentityName": "orderer",
"ordererResourceCpu": 0.35,
"ordererResourceMem": 700,
"ordererResourceStorage": 100,
"batchConfigTimeout": 0,
"batchConfigMaxMessageCount": 0,
"batchConfigPreferredMaxBytes": 0,
"batchConfigAbsoluteMaxBytes": 0,
"nodeAffinityLabel": "",
"importYn": "N",
"status": "ACTIVE",
"createDate": "2021-12-06T20:42:44+0900",
"updateDate": "2021-12-06T20:42:44+0900",
"consortiumList": [
{
"networkId": 100,
"networkName": "my-network",
"mspId": "my-network-msp",
"mspName": "my-network-msp",
"importYn": "N"
}
],
"channelList": [
{
"networkId": 100,
"ordererId": "2000001",
"channelName": "channel",
"operator": "my-network-msp"
}
]
},
"totalElements": 0,
"totalPages": 0
}
Was this article helpful?