List Blockchain Platform Instances

get

/api/v1/blockchainPlatforms/instances

Get summary and list of Blockchain Platform instances.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Get summary and list of blockchain platform instances
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : BlockchainPlatformSummaryWrapper
Type: object
Blockchain Platform Summary List Wrapper
Show Source
Nested Schema : instances
Type: array
List of Blockchain Platform instances
Show Source
Nested Schema : InstancesCountSummary
Type: object
Blockchain Platform Summary
Show Source
Nested Schema : BlockchainPlatformSummary
Type: object
Blockchain Platform Summary
Show Source

400 Response

Bad Request

401 Response

Not authorized

404 Response

Invalid parameters

429 Response

Too Many Requests
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source

500 Response

Service unavailable

Default Response

Unknown Error
Body ()
Root Schema : Error
Type: object
Error Information.
Show Source
Nested Schema : errors
Type: array
list of errors
Show Source
Nested Schema : warnings
Type: array
list of warnings
Show Source
Back to Top

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
    }
}
Back to Top