CA 정보 조회
    • PDF

    CA 정보 조회

    • PDF

    Article Summary

    CA 상세 정보를 조회합니다.

    요청

    요청 URL

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

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    networkIdYeslongPath Parameter네트워크 아이디
    caIdYesStringPath ParameterCA 아이디

    요청 예시

    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}" 
    

    응답

    응답 바디

    항목타입설명
    statusstring응답 성공 여부
    body.content[].networkIdLong네트워크 아이디
    body.content[].caIdStringCA 아이디
    body.content[].caNameStringCA명
    body.content[].databaseTypeCodeNameStringCA DB 타입
    (SQLITE only)
    body.content[].endpointAddrStringCA 주소
    body.content[].caResourceCpuFloatCA pod에 할당된 CPU 용량
    body.content[].caReousrceMemIntegerCA pod에 할당된 Memory 용량
    body.content[].caResourceStorageIntegerCA pod에 할당된 스토리지 용량
    body.content[].nodeAffinityLabelStringNKS 클러스터에 선택한 Node Pool
    body.content[].statusStringCA 상태
    (ACTIVE, DEPLOY, DELETE)
    body.content[].podStatusStringCA Pod 상태
    (Running, Pending, Failed, Unknown)
    body.content[].createDtLocalDateTime생성 일시
    body.content[].updateDtLocalDateTime수정 일시

    응답 예시

    {
      "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.