Network 정보 조회
- 인쇄
- PDF
Network 정보 조회
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
블록체인 네트워크의 상세 내용을 조회합니다.
요청
요청 URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | 네트워크 아이디 |
요청 예시
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}"
응답
응답 바디
항목 | 타입 | 설명 |
---|---|---|
status | string | 응답 성공 여부 |
body.content[].networkId | Long | 네트워크 아이디 |
body.content[].networkName | String | 네트워크 명 |
body.content[].nksClusterName | String | Ncloud Kubernetes Service 클러스터명 |
body.content[].blockchainFrameworkName | String | Hyperledger Fabric 버전 명 |
body.content[].peerCount | Integer | 네트워크가 가진 Peer 노드 수 |
body.content[].ordererCount | Integer | 네트워크가 가진 Orderer노드 수 |
body.content[].channelCount | Integer | 네트워크가 가진 채널 수 |
body.content[].status | String | 네트워크 상태 (ACTIVE, DEPLOY, DELETE) |
body.content[].createDate | LocalDateTime | 네트워크 생성 일시 |
응답 예시
{
"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"
}
}
이 문서가 도움이 되었습니까?