List Blockchain Platform Patches
get
/api/v1/blockchainPlatforms/patches
Gets a list of registered Blockchain Platform patches.
Request
There are no request parameters for this operation.
Back to TopResponse
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
400 Response
Bad Request
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
401 Response
Unauthorized
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
404 Response
Not Found
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
429 Response
Too Many Requests
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
500 Response
Internal Server Error
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
Default Response
Unknown Error
Root Schema : Error
Type:
object
Error Information.
Show Source
-
errors(optional):
array errors
list of errors
-
message:
string
A human-readable error string.
-
status:
string
A short error status that defines the error, meant for programmatic parsing.
-
warnings(optional):
array warnings
list of warnings
Examples
This endpoint is used to get the list of registered Blockchain Platform patches.
The following example shows how to query and get the list of registered Blockchain Platform patches by submitting a GET request on the REST resource using cURL:
curl -X GET http://<hostname>:<port>/api/v1/blockchainPlatforms/patches -H 'Authorization: Basic amFzc2l0ZXN0OndlbGNvbWUx'
Example of the Response Body
The following example shows the contents of the response body in JSON format:
[ { "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" : null, "rollbackable" : null, "applicable" : null, "status" : null } ]