View Organization list
- Print
- PDF
View Organization list
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
View the list of Organizations in the blockchain network.
Request
Request URL
GET {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/organizations
Request Parameter
Parameter Name | Parameter Name | Type | Restriction | Description |
---|---|---|---|---|
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}/organizations?page=0&size=20&sort=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}"
Response
Response Body
Category | Type | Description |
---|---|---|
status | string | Indicates whether response was successful |
body.content[].networkId | Long | Network ID |
body.content[].mspId | String | MSP ID |
body.content[].mspName | String | MSP name |
body.content[].importYn | String | Is imported Organization (Y/N) |
body.totalElements | Long | Total count of content |
body.totalPages | Integer | Count of page |
Example of Response
{
"content": [
{
"mspId": "org1-msp",
"mspName": "org1-msp",
"importYn": "N",
"networkId": 100
},
{
"mspId": "orderer-msp",
"mspName": "orderer-msp",
"importYn": "N",
"networkId": 100
}
],
"totalElements": 2,
"totalPages": 1
}
Was this article helpful?