View Network list
- Print
- PDF
View Network list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View a list of Blockchain Networks.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks
Request Parameter
Parameter Name | Required status | Type | Restriction | Description |
---|---|---|---|---|
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?page=0&size=20&sort=networkName" \
-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[].networkName | String | Network name |
body.content[].nksClusterName | String | Ncloud Kubernetes Service Cluster Name |
body.content[].status | String | Network status (ACTIVE, DEPLOY, DELETE) |
body.content[].createDate | LocalDateTime | Network created date |
body.content[].updateDate | LocalDateTime | Nework last modified date |
body.totalElements | Long | Total count of content |
body.totalPages | Integer | Count of page |
Example of Response
{
"content": [
{
"networkId": 301,
"networkName": "blockchain-network",
"nksClusterName": "kubernetes-name",
"networkStatus": "ACTIVE",
"useYn": "Y",
"createDt": "2021-11-29T05:58:12+0000",
"updateDt": "2021-11-29T06:03:55+0000"
}
],
"totalElements": 1,
"totalPages": 1
}
Was this article helpful?