Get Instance Activity Details

get

/api/v1/blockchainPlatforms/instances/{id}/activity

Get activity details for an instance.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : InstanceActivityInfoSummary
Type: object
Activities for a Blockchain Platform Instance
Show Source
Nested Schema : activities
Type: array
List activities associated with a blockchain platform instance
Show Source
Nested Schema : ActivityInfoSummary
Type: object
Show Source

401 Response

Not authorized

404 Response

Invalid parameters

500 Response

Service unavailable
Back to Top

Examples

This endpoint is used to get the details of all the activities of performed on a particular Blockchain Platform instance.

The following example shows how to query and get the details of all the activities performed on a particular Blockchain Platform instance.

curl -X GET \
  http://<hostname>:<port>/api/v1/blockchainPlatforms/instances/9956c203-5182-4db1-bcf1-9f34e1df29c8/activity \
  -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:

{
  "activities": [
    {
      "instanceId": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf99",
      "instanceName": "myNATinstf1",
      "operation": "Scaleout",
      "operationId": "IDxp769lEAPEz7Ch2ntj94P0-xeFubY87wh3dQzr88k1Q=",
      "operationStatus": "successful",
      "operationStartTime": 1567562162133,
      "lastUpdatedTime": 1567562238677,
      "initiatedBy": "obpuser",
      "details": "Operation successful."
    },
    {
      "instanceId": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf99",
      "instanceName": "myinstance",
      "operation": "Scalein",
      "operationId": "IDxUl_j7o3Ayqi6wJfNBpBpDrijePWoXgwy9pljmqkZ_k=",
      "operationStatus": "successful",
      "operationStartTime": 1567559363488,
      "lastUpdatedTime": 1567559428821,
      "initiatedBy": "obpuser",
      "details": "Operation successful."
    },
    {
      "instanceId": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf99",
      "instanceName": "myinstance",
      "operation": "Create",
      "operationId": "IDGacTFUlm0wfhjpkYP2inLAhcJrO8D2muFAHMJT9HiOg=",
      "operationStatus": "successful",
      "operationStartTime": 1567556931932,
      "lastUpdatedTime": 1567557797289,
      "initiatedBy": "obpuser",
      "details": "Operation successful."
    }
  ]
}
Back to Top