Get Instance Patch Details
get
/api/v1/blockchainPlatforms/instances/{id}/patch
Get instance patch details.
Request
Supported Media Types
- application/json
Path Parameters
-
id: string
Unique platform instance identifier
Query Parameters
-
type: string
The type of patch for an instance: Applied, Available, or All. All includes Applied and Available.Allowed Values:
[ "Applied", "Available", "All" ]
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : PatchInfoSummary
Type:
Show Source
object
-
applicable(optional):
boolean
Is patch able to be applied
-
description(optional):
string
Patch description or details
-
displayName(optional):
string
Patch display name
-
fullVersion(optional):
string
Patch full version
-
patchId(optional):
string
Patch ID
-
prevVersion(optional):
string
Previous version
-
release(optional):
string
Patch release version
-
rollbackable(optional):
boolean
Is patch able to be rolled back
-
serviceVersion(optional):
string
Patch service version
-
status(optional):
string
Patch/rollback status
401 Response
Not authorized
404 Response
Invalid parameters
500 Response
Service unavailable
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" } ] }