Get REST Proxy Node Configuration
get
/console/admin/api/v2/nodes/restproxies/{restProxyId}
A REST proxy node's configuration determines how the node performs and behaves on the network. Use this endpoint to get a REST proxy node configuration.
Request
Supported Media Types
- application/json
Path Parameters
-
restProxyId(required): string
Unique ID of the REST proxy node
Response
Supported Media Types
- application/json
200 Response
REST Proxy configuration
Root Schema : restProxyConfig
Type:
Show Source
object
-
channels(required):
array channels
-
logLevel:
string
Allowed Values:
[ "INFO", "DEBUG", "WARNING", "ERROR" ]
-
logTransactionEvents:
boolean
Default Value:
false
-
proposalWaitTime(required):
integer(int32)
Default Value:
60000
Example:60000
-
RESTProxyId(required):
string
-
transactionWaitTime(required):
integer(int32)
Default Value:
300000
Example:300000
Nested Schema : items
Type:
Show Source
object
-
chaincodes:
array chaincodes
-
name:
string
Example:
mychannel
Nested Schema : chaincodes
Type:
Show Source
array
Example:
[
{
"name":"mycc",
"endorsers":[
"peer0.org1.example.com",
"peer1.org1.example.com"
]
}
]
400 Response
Invalid argument
401 Response
Unauthorized
500 Response
Internal server error
Default Response
Unexpected error