CAの詳細を表示
    • PDF

    CAの詳細を表示

    • PDF

    Article Summary

    CAの詳細を表示します。

    リクエスト

    リクエスト URL

    GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}
    

    リクエストパラメーター

    Parameter NameRequired statusTypeRestrictionDescription
    networkIdYeslongPath ParameterNetwork ID
    caIdYesStringPath Parameter CA ID

    リクエストの例

    curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas/{caId} \
        -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[].caIdStringCA ID
    body.content[].caNameStringCA name
    body.content[].databaseTypeCodeNameStringCA DB type (SQLITE only)
    body.content[].endpointAddrStringCA address
    body.content[].caResourceCpuFloatCPU allocated CA pod
    body.content[].caReousrceMemIntegerMemory allocated CA pod
    body.content[].caResourceStorageIntegerStorage allocated CA pod
    body.content[].nodeAffinityLabelStringkubernetes cluster's node pool
    body.content[].statusStringCA status
    (ACTIVE, DEPLOY, DELETE)
    body.content[].podStatusStringCA Pod status (Running, Pending, Failed, Unknown)
    body.content[].createDtLocalDateTimecreated Date
    body.content[].updateDtLocalDateTimelast modified date

    レスポンスボディ

    {
      "content": {
        "networkId": 100,
        "caId": "2000000",
        "caName": "orderer-ca",
        "databaseTypeCodeName": "SQLITE",
        "endpointAddr": "orderer-ca-test-hlf-ca.bc-kckahtestenu.kr.blockchain.naverncp.com",
        "caResourceCpu": 0.1,
        "caResourceMem": 200,
        "caResourceStorage": 20,
        "status": "ACTIVE",
        "nodeAffinityLabel": "",
        "createDate": "2021-12-06T20:42:43+0900",
        "updateDate": "2021-12-06T20:42:43+0900",
        "podStatus": "Running"
      }
    }
    
    

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

    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.