List Blockchain Platform Patch Targets
get
/api/v1/blockchainPlatforms/patches/{patchId}/targets
List Blockchain Platform patch targets.
Request
Supported Media Types
- application/json
Path Parameters
-
patchId: string
Unique patch identifier
Response
Supported Media Types
- application/json
200 Response
OK
Nested Schema : PatchTargetInfo
Type:
Show Source
object
-
instanceId(optional):
string
Target instance ID
-
instanceName(optional):
string
Target instance display name
-
status(optional):
string
Target instance status
-
timeCreated(optional):
string
Target instance creation date
-
version(optional):
string
Target instance version
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
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 Blockchain Platform patch target instances.
The following example shows how to query and get the list of Blockchain Platform patch targets instances by submitting a GET request on the REST resource using cURL:
curl -X GET http://<hostname>:<port>/api/v1/blockchainPlatforms/patches/obp-patch-19-3-3/targets -H 'Authorization: Basic amFzc2l0ZXN0OndlbGNvbWUx
Example of the Response Body
The following example shows the contents of the response body in JSON format:
[ { "instanceId" : "56cda494-e776-416e-a2fa-c7e2a95955b8", "instanceName" : "JasFounder", "version" : "19.3.2", "status" : "Healthy", "timeCreated" : "2019-08-30 10:11:26.169" } ]