Get Channel List

get

/console/admin/api/v1.1/channels

Get a list of channels, optionally filtering by whether they have a given chaincode instantiated or a given peer joined.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

List of channels meeting query criteria
Body ()
Root Schema : channels
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : mspIds
Type: array
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