ネットワークの詳細を表示
- 印刷する
- PDF
ネットワークの詳細を表示
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
ブロックチェーンネットワークの詳細を表示します。
リクエスト
リクエスト URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}
リクエストパラメーター
Parameter Name | Parameter Name | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
リクエストの例
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId} \
-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[].networkName | String | Network name |
body.content[].nksClusterName | String | Ncloud Kubernetes Service Cluster Name |
body.content[].blockchainFrameworkName | String | Hyperledger Fabric version name |
body.content[].peerCount | Integer | Count of Peer |
body.content[].ordererCount | Integer | Count of Orderer |
body.content[].channelCount | Integer | Count of Channel |
body.content[].status | String | Network status (ACTIVE, DEPLOY, DELETE) |
body.content[].createDate | LocalDateTime | Network created date |
レスポンスボディ
{
"content": {
"networkId": 100,
"networkName": "my-network",
"nksClusterName": "my-nks-cluster",
"blockchainFrameworkName": "Hyperledger Fabric 2.2.3",
"peerCount": 1,
"ordererCount": 1,
"channelCount": 1,
"status": "ACTIVE",
"createDate": "2021-11-29T14:58:12+0900"
}
}
この記事は役に立ちましたか?