CA Identity 목록/정보 조회
    • PDF

    CA Identity 목록/정보 조회

    • PDF

    Article Summary

    CA에 Enroll한 Identity 목록과 정보를 조회합니다.

    요청

    요청 URL

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

    요청 파라미터

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

    요청 예시

    curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas/{caId}/identity  \
        -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[].identityNameStringIdentity명
    body.content[].identityTypeStringIdentity 타입
    (ADMIN, PEER, ORDERER, CLIENT)
    body.content[].expireDateString인증서 만료 일자
    body.content[].creatorLong생성자 ID
    body.content[].createDtLocalDateTime생성 일시
    body.content[].updateDtLocalDateTime수정 일시

    응답 예시

    {
      "content": [
        {  
          "networkId": 100,
          "caId": "2000001",
          "identityName": "admin",
          "identityType": "ADMIN",
          "expireDate": "2024-12-05T20:40:00+0900",
          "creator": 100,
          "createDate": "2021-12-06T20:42:44+0900",
          "updateDate": "2021-12-06T20:42:44+0900"
        },
        {
          "networkId": 100,
          "caId": "2000002",
          "identityName": "orderer",
          "identityType": "ORDERER",
          "expireDate": "2024-12-05T20:40:00+0900",
          "creator": 100,
          "createDate": "2021-12-06T20:42:44+0900",
          "updateDate": "2021-12-06T20:42:44+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.