View Organization details
- Print
- PDF
View Organization details
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View the details of Organization.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/organizations/{mspId}
Request Parameter
Parameter Name | Parameter Name | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
mspId | Yes | String | Path Parameter | MSP ID |
Example of Request
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/organizations/{mspId} \
-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}"
Response
Response Body
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body.content[].networkId | Long | Network ID |
body.content[].mspId | String | MSP ID |
body.content[].mspName | String | MSP name |
body.content[].importYn | String | Is imported Organization (Y/N) |
body.content[].createDt | LocalDateTime | Organization created date |
body.content[].consortiumList.channelName | String | Channels included in the consortium |
body.content[].consortiumList.ordererName | String | Orderer name that have consortium |
body.content[].consortiumList.role | String | Role of consortium |
body.content[].consortiumList.ordererMsp | String | Orderer's MSP name that have consortium |
body.content[].nodeList[].nodeName | String | Node name that have this MSP |
body.content[].nodeList[].nodeType | String | Node type that have this MSP (orderer,peer) |
body.content[].nodeList[].status | String | Node status that have this MSP (ACTIVE, DEPLOY, DELETE) |
body.content[].networkName | String | Network name |
Example of Response
{
"content": {
"mspId": "orderer-msp",
"mspName": "orderer-msp",
"importYn": "N",
"networkId": 100,
"nodeList": [
{
"nodeName": "orderer",
"nodeType": "Orderer",
"status": "ACTIVE"
},
{
"nodeName": "orderer-ca",
"nodeType": "CA",
"status": "ACTIVE"
}
],
"consortiumList": [
{
"role": "operator",
"ordererMsp": "ordere-msp",
"channelName": "as2sss",
"ordererName": "orderer"
}
],
"createDate": "2021-12-06T20:42:44+0900"
}
}
Was this article helpful?