Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Response Body 

Type

Note

namestringThe name of the chaincode.
chaincode_labelstringThe label that will be used to identify the installed chaincode package
versionstring the version of the chaincode definition to be approved
package_idstring the package id of installed package
approve_statusstringthe approval status 
organizationsstring array A list of orgs that installed the installed the chaincode.
channelsstring arrayThe committed channel names for the chaincode


6. Query an organization's approved chaincode definition on a channel

GET api/v1/approvedChaincodeDefinitions/<channel_name>/<org_name>

Response Body 

Type

Note

org_namestringThe name of the orgs
chaincode_namesstring arraryThe name of the approved chaincode by the org

Note: for FE to get the org approval status for a given chaincode, may have performance issues with lots of orgs.