View CA's Identity list
- Print
- PDF
View CA's Identity list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View the list of identities and information enrolled in the CA.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}/identity
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}/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}"
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[].identityName | String | Identity name |
body.content[].identityType | String | Identity type(ADMIN, PEER, ORDERER, CLIENT) |
body.content[].expireDate | String | Certicate expire date |
body.content[].creator | Long | ID |
body.content[].createDt | LocalDateTime | created date |
body.content[].updateDt | LocalDateTime | last modified date |
Example of Response
{
"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"
}
]
}
Was this article helpful?