区块链服务 BCS-查询链代码实例化信息:响应示例

时间:2024-10-23 09:50:36

响应示例

状态码: 200

Success

{
  "result" : [ {
    "channel_name" : "channel",
    "instantiate_info" : {
      "status" : "CHAINCODE_INSTANTIATED",
      "code" : "1000",
      "reason" : "1000",
      "detail" : ""
    },
    "endorsement_policy" : "OR,org1,org2",
    "version" : "2.0",
    "orgs_info" : [ {
      "org_name" : "org1",
      "org_id" : "65cfb1c760f24058c865ffcfd8ce1cdb690bf2a3"
    }, {
      "org_name" : "org2",
      "org_id" : "a48c4ed995238eceaee3fe738f1871b2e58db350"
    } ],
    "has_private_data" : 0
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : " BCS .4000013",
  "error_message" : "request body is too large"
}
support.huaweicloud.com/devg-bcs/ListinstantiationResult_0.html