Get Chaincode Package from Peer
get
/console/admin/api/v2/chaincodes/{packageID}
Download the chaincode package from a peer in tar.gz format.
Request
Supported Media Types
- application/json
Path Parameters
-
packageID(required): string
Package ID of the chaincode
Response
Supported Media Types
- application/json
200 Response
The chaincode files packaged in tar.gz format
Root Schema : schema
Type:
file
400 Response
Invalid arguments
401 Response
Unauthorized
404 Response
Resource not found
500 Response
Internal server error
Default Response
Unexpected error