Organization 정보 조회
- 인쇄
- PDF
Organization 정보 조회
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Organization의 상세 정보를 조회합니다.
요청
요청 URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/organizations/{mspId}
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | 네트워크 아이디 |
mspId | Yes | String | Path Parameter | MSP 아이디 |
요청 예시
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/organizations/{mspId} \
-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[].mspId | String | MSP 아이디 |
body.content[].mspName | String | MSP 명 |
body.content[].importYn | String | Import 여부 (Y/N) |
body.content[].createDt | LocalDateTime | 생성 일시 |
body.content[].consortiumList.channelName | String | 컨소시엄에 포함된 채널 |
body.content[].consortiumList.ordererName | String | 컨소시엄을 가진 Orderer 명 |
body.content[].consortiumList.role | String | 컨소시엄 역할 |
body.content[].consortiumList.odererMsp | String | 컨소시엄을 가진 Orderer의 MSP 명 |
body.content[].nodeList[].nodeName | String | 해당 MSP를 가진 Node 명 |
body.content[].nodeList[].nodeType | String | 해당 MSP를 가진 Node 타입(orderer,peer) |
body.content[].nodeList[].status | String | 해당 MSP를 가진 Node 상태 (ACTIVE, DEPLOY, DELETE) |
body.content[].networkName | String | 네트워크명 |
응답 예시
{
"content": {
"mspId": "orderer-msp",
"mspName": "orderer-msp",
"importYn": "N",
"networkId": 100,
"nodeList": [
{
"nodeName": "orderer",
"nodeType": "Orderer",
"status": "ACTIVE"
},
{
"nodeName": "orderer-ca",
"nodeType": "CA",
"status": "ACTIVE"
}
],
"consortiumList": [],
"createDate": "2021-12-06T20:42:44+0900"
}
}
이 문서가 도움이 되었습니까?