ネットワークの詳細を表示
    • PDF

    ネットワークの詳細を表示

    • PDF

    Article Summary

    ブロックチェーンネットワークの詳細を表示します。

    リクエスト

    リクエスト URL

    GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}
    

    リクエストパラメーター

    Parameter NameParameter NameTypeRestrictionDescription
    networkIdYeslongPath ParameterNetwork 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

    CategoryTypeDescription
    statusstringIndicates whether response was successful
    body.content[].networkIdLongNetwork ID
    body.content[].networkNameStringNetwork name
    body.content[].nksClusterNameStringNcloud Kubernetes Service Cluster Name
    body.content[].blockchainFrameworkNameStringHyperledger Fabric version name
    body.content[].peerCountIntegerCount of Peer
    body.content[].ordererCountIntegerCount of Orderer
    body.content[].channelCountIntegerCount of Channel
    body.content[].statusStringNetwork status (ACTIVE, DEPLOY, DELETE)
    body.content[].createDateLocalDateTimeNetwork 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"
      }
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.