Get Installed Chaincode List

get

/console/admin/api/v2/chaincodes

Get a list of installed chaincodes, optionally filtering by whether they're installed on a given peer.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

chaincodes response
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : chaincodeInfo
Type: object
Show Source
Nested Schema : chaincodes
Type: array
Show Source
Nested Schema : items
Type: object
Show Source

400 Response

Invalid arguments
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