Join a Peer to a Channel

post

/console/admin/api/v1.1/nodes/peers/{peerId}/joinChannel

You can add a peer node to a channel so that the node can use it to exchange private transaction information with other peer nodes on the channel.

Request

Supported Media Types
Path Parameters
Body ()
Channel name
Root Schema : joinChannel
Type: object
Show Source
Example:
{
    "channelName":"mychannel1"
}
Back to Top

Response

Supported Media Types

200 Response

Peer joined channel successfully
Body ()
Root Schema : 200successModels
Type: object
Show Source
Example:
{
    "status":"success"
}

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