Get Instance Patch Details

get

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

Get instance patch details.

Request

Supported Media Types
Path Parameters
Query Parameters
  • The type of patch for an instance: Applied, Available, or All. All includes Applied and Available.
    Allowed Values: [ "Applied", "Available", "All" ]
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : InstancePatchInfoSummary
Type: object
Show Source
Nested Schema : applied
Type: array
Show Source
Nested Schema : available
Type: array
Show Source
Nested Schema : PatchInfoSummary
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 the instance patch.

The following example shows how to query and get the details of the instance patch by submitting a GET request on the REST resource using cURL:

curl -X GET http://<hostname>:<port>/api/v1/blockchainPlatforms/instances/56cda494-e776-416e-a2fa-c7e2a95955b8/patch?type=All 
-H 'Authorization: Basic amFzc2l0ZXN0OndlbGNvbWUx'

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
  "available" : [ ],
  "applied" : [ {
    "patchId" : "obp-patch-19-3-3",
    "displayName" : "OBP Patch 19.3.3",
    "description" : "OBP Patch 19.3.3",
    "serviceVersion" : "19.3",
    "release" : "3",
    "fullVersion" : "19.3.3",
    "prevVersion" : "19.3.2",
    "rollbackable" : true,
    "applicable" : null,
    "status" : "Applied"
  } ]
}
Back to Top