組織の詳細を表示する
- 印刷する
- PDF
組織の詳細を表示する
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
組織の詳細を表示します。
リクエスト
リクエスト URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/organizations/{mspId}
リクエストパラメーター
Parameter Name | Parameter Name | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
mspId | Yes | String | Path Parameter | MSP ID |
リクエストの例
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}"
レスポンス
レスポンス 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 |
レスポンスボディ
{
"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"
}
}
この記事は役に立ちましたか?