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
- application/json
Query Parameters
-
chaincode(optional): string
List channels where this chaincode is instantiated
-
peerID(optional): string
List channels that this peer has joined
Response
Supported Media Types
- application/json
200 Response
List of channels meeting query criteria
400 Response
Invalid argument
401 Response
Unauthorized
500 Response
Internal Server Error
Default Response
Unexpected error