View CA details
- Print
- PDF
View CA details
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View CA details.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}
Request Parameter
Parameter Name | Required status | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
caId | Yes | String | Path Parameter | CA ID |
Example of Request
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}"
Response
Response Body
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body.content[].networkId | Long | Network ID |
body.content[].caId | String | CA ID |
body.content[].caName | String | CA name |
body.content[].databaseTypeCodeName | String | CA DB type (SQLITE only) |
body.content[].endpointAddr | String | CA address |
body.content[].caResourceCpu | Float | CPU allocated CA pod |
body.content[].caReousrceMem | Integer | Memory allocated CA pod |
body.content[].caResourceStorage | Integer | Storage allocated CA pod |
body.content[].nodeAffinityLabel | String | kubernetes cluster's node pool |
body.content[].status | String | CA status (ACTIVE, DEPLOY, DELETE) |
body.content[].podStatus | String | CA Pod status (Running, Pending, Failed, Unknown) |
body.content[].createDt | LocalDateTime | created Date |
body.content[].updateDt | LocalDateTime | last modified date |
Example of Response
{
"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"
}
}
Was this article helpful?