Get Channel Information

get

/console/admin/api/v1.1/channels/{channelName}

You can query by channel name to get information for a channel.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

Information for the channel
Body ()
Root Schema : channelinfo
Type: object
Show Source
Nested Schema : ACL
Type: object
Nested Schema : orgUnits
Type: object
Show Source
Example:
{
    "MSPs":[
        {
            "id":"org1MSP"
        }
    ],
    "anchorpeers":[
    ]
}
Nested Schema : anchorpeers
Type: array
Show Source
Nested Schema : MSPs
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

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

401 Response

Unauthorized

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