List Blockchain Platform Instances
get
/api/v1/blockchainPlatforms/instances
Get summary and list of Blockchain Platform instances.
Request
Supported Media Types
- application/json
Query Parameters
-
includeSummary: string
Include instances summary: true or falseAllowed Values:
[ true, false ]
Response
Supported Media Types
- application/json
200 Response
Get summary and list of Blockchain Platform instances
Root Schema : schema
Type:
Show Source
array
-
Array of:
object BlockchainPlatformSummaryWrapper
Blockchain Platform summary list wrapper
Nested Schema : BlockchainPlatformSummaryWrapper
Type:
object
Blockchain Platform summary list wrapper
Show Source
-
instances:
array instances
List of Blockchain Platform instances
-
summary:
object InstancesCountSummary
Blockchain Platform instance count summary
Nested Schema : instances
Type:
array
List of Blockchain Platform instances
Show Source
-
Array of:
object BlockchainPlatformSummary
Blockchain Platform summary
Nested Schema : InstancesCountSummary
Type:
object
Blockchain Platform instance count summary
Show Source
-
developerCount:
integer
Total number of developer instances
-
enterpriseCount:
integer
Total number of enterprise instances
-
founderCount:
integer
Total number of founder instances
-
instancesCount:
integer
Total number of instances
-
participantCount:
integer
Total number of participant instances
Nested Schema : BlockchainPlatformSummary
Type:
object
Blockchain Platform summary
Show Source
-
configuration:
string
Allowed Values:
[ "Developer", "Enterprise" ]
Type of compute configuration: Developer or Enterprise -
createActivityId:
string
The activity ID of the create operation that created the instance
-
createdBy:
string
The user who created the instance
-
displayName:
string
Instance display name, can be renamed
-
domainName:
string
Instance domain name
-
id(required):
string
Unique identifier that is immutable on creation
-
lifecycleState:
string
Allowed Values:
[ "Creating", "Active", "Updating", "Terminating", "Terminated", "Starting", "Stopping", "Stopped", "Patching", "RollBack", "ScalingOut", "ScalingIn", "Unknown", "Failed" ]
The current operation state of the instance -
platformRole:
string
Allowed Values:
[ "Founder", "Participant" ]
Role of platform: Founder or Participant -
serviceEndpoint:
string
Instance data plane console endpoint
-
stateMessage:
string
Instance state message
-
status:
string
Allowed Values:
[ "Healthy", "Unhealthy", "Down", "Unknown", "Stopped" ]
Instance status -
statusDisplayName:
string
Allowed Values:
[ "Up", "PartiallyUp", "Down", "Unknown", "Stopped" ]
Instance status display name -
timeCreated:
string(date-time)
The time the the instance was created. An RFC3339 formatted datetime string
-
timeUpdated:
string(date-time)
The time the instance was updated. An RFC3339 formatted datetime string
-
version:
string
Instance version
400 Response
Bad request
401 Response
Not authorized
404 Response
Invalid parameters
429 Response
Too many requests
Root Schema : Error
Type:
object
Error information.
Show Source
-
errors:
array errors
List of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
List of warnings
500 Response
Service unavailable
Default Response
Unknown error
Root Schema : Error
Type:
object
Error information.
Show Source
-
errors:
array errors
List of errors
-
message(required):
string
A human-readable error string.
-
status(required):
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings:
array warnings
List of warnings
Examples
This endpoint is used to get the list and summary of the Blockchain Platform instances.
The following example shows how to query and get the summary and the list of Blockchain Platform instances by submitting a GET request on the REST resource using cURL.
curl -X GET \
http://<hostname>:<port>/api/v1/blockchainPlatforms/instances/93d26463-e4b9-4773-b1c1-9cda2c311b55 \
-H 'Authorization: Basic b2JwdXNlcjpXZWxjb21lMQ==' \
-H 'Content-Type: application/json'
Example of the Response Body
The following example shows the contents of the response body in JSON format:
{ "instances": [ { "id": "93d26463-e4b9-4773-b1c1-9cda2c311b55", "displayName": "myNATinstf1", "timeCreated": 1566971517441, "timeUpdated": 1566972304422, "createdBy": "obpuser", "createOperationId": "IDR0yB4PWpqjaqTe__iq2c03PIe2H-QCypb3DGyCjCWJE=", "platformRole": "Founder", "configuration": "Developer", "status": "Healthy", "lifecycleState": "Active", "version": "19.3.2", "instanceFQDN": "", "enableTLS": true, "startPort": 0, "stateMessage": "", "statusDisplayName": "Up" } ], "summary": { "instancesCount": 1, "founderCount": 1, "participantCount": 0, "enterpriseCount": 0, "developerCount": 1 } }