Get All Activity Details

get

/api/v1/blockchainPlatforms/activities

Get activity details for all instances.

Request

Supported Media Types
Query 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 performed on all the Blockchain Platform instances.

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

curl -X GET \
  http://<hostname>:<port>/api/v1/blockchainPlatforms/activities \
  -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