Update REST Proxy Node Configuration

patch

/console/admin/api/v1.1/nodes/restproxies/{restProxyId}

A REST proxy node's configuration determines how the node performs and behaves on the network. Use this endpoint to modify the REST proxy node configuration.

On Oracle Cloud Infrastructure (Gen 2), you can only use this API to configure attributes such as the wait times and log level. You can't use it to specify the channel, chaincode, or endorser or an error will be returned.

Request

Supported Media Types
Path Parameters
Body ()
Updated REST proxy configuration
Root Schema : restProxyWritableConfig
Type: object
Show Source
Nested Schema : channels
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : chaincodes
Type: array
Show Source
Example:
[
    {
        "name":"mycc",
        "endorsers":[
            "peer0.org1.example.com",
            "peer1.org1.example.com"
        ]
    }
]
Nested Schema : items
Type: object
Show Source
Nested Schema : endorsers
Type: array
Show Source
Back to Top

Response

Supported Media Types

200 Response

Update success message
Body ()
Root Schema : schema
Type: object
Example:
{
    "status":"Success",
    "message":"content"
}

400 Response

Invalid argument
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

403 Response

Forbidden

500 Response

Internal Server Error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top