Get Blockchain Platform Peer
get
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId}
Gets information about a peer identified by the specific ID.
Request
Supported Media Types
- application/json
Path Parameters
-
blockchainPlatformId(required): string
Unique service identifier.
-
peerId(required): string
Peer identifier.
Header Parameters
-
opc-request-id: string
The client request ID for tracing.
Response
Supported Media Types
- application/json
200 Response
Retrieves the peer with the given ID
Headers
-
etag: string
For optimistic concurrency control. See `if-match`.
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Peer
Type:
object
Peer details
Show Source
-
ad(required):
string
Availability domain of the peer. Options are AD1/AD2/AD3.
For a single availability domain region, instead of spreading resources across availability domains, they are spread across fault domains. The availability domain number of the peer is mapped to one of the three fault domains available in each availability domain.
-
alias:
string
peer alias
-
host(required):
string
Host on which the peer exists
-
lifecycleState:
string
Allowed Values:
[ "ACTIVE", "INACTIVE", "FAILED" ]
The current state of the peer. -
ocpuAllocationParam:
object OcpuAllocationNumberParam
OCPU allocation parameter
-
peerKey(required):
string
Minimum Length:
1
Maximum Length:255
peer identifier -
role(required):
string
Peer role
Nested Schema : OcpuAllocationNumberParam
Type:
object
OCPU allocation parameter
Show Source
-
ocpuAllocationNumber(required):
number(float)
Minimum Value:
0
Maximum Value:64
Number of OCPU allocation
400 Response
Bad Request
401 Response
Not authorized
404 Response
Invalid parameters
429 Response
Too Many Requests
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.
500 Response
Service unavailable
Default Response
Unknown Error
Headers
-
opc-request-id: string
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Root Schema : Error
Type:
object
Error Information.
Show Source
-
code(required):
string
A short error code that defines the error, meant for programmatic parsing.
-
message(required):
string
A human-readable error string.