View CA list
- Print
- PDF
View CA list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View CA list in Network.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas
Request Parameter
Parameter Name | Parameter Name | Type | ||
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
page | No | int | - Page number - Default: 0 | |
size | No | int | - Size of result list - Default: 20 | |
sort | No | String | Name of Order column (Ascending) |
Example of Request
curl -X GET "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas?page=0&size=20&sort=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[].caDatabaseTypeName | String | CA DB type name (SQLITE only) |
body.content[].status | String | CA status (ACTIVE, DEPLOY, DELETE) |
body.content[].createDt | LocalDateTime | created date |
body.content[].updateDt | LocalDateTime | last modified date |
body.totalElements | Long | Total count of content |
body.totalPages | Integer | Count of page |
Example of Response
{
"content": [
{
"networkId": 100,
"caId": "2000000",
"caName": "orderer-ca",
"caDatabaseTypeName": "SQLITE",
"status": "ACTIVE",
"createDate": "2021-12-06T20:42:43+0900",
"updateDate": "2021-12-06T20:42:43+0900"
},
{
"networkId": 100,
"caId": "2000001",
"caName": "org1-ca",
"caDatabaseTypeName": "SQLITE",
"status": "ACTIVE",
"createDate": "2021-12-06T20:42:43+0900",
"updateDate": "2021-12-06T20:42:43+0900"
}
],
"totalElements": 2,
"totalPages": 1
}
Was this article helpful?