区块链服务 BCS-查询指定链码版本信息:响应示例

时间:2025-01-14 15:42:36

响应示例

状态码: 200

Success

{  "versions" : [ {    "version" : "1.0",    "hash_code" : "1473b4807fe9f970d1ba56192e41d39c7d621d07d80e603cf75ed3982b81034d",    "description" : "",    "install_time" : "2021-01-11T11:27:12.093454567+08:00",    "update_time" : "2021-01-11T11:27:12.093454789+08:00",    "instantiate_status" : false,    "uninstantiated_peer_infos" : [ {      "org_name" : "organization",      "org_id" : "57e7914450b098771f5106acaf02be8a61894fae",      "peer_name" : "peer-0",      "peer_id" : "peer-57e7914450b098771f5106acaf02be8a61894fae-0.peer-57e7914450b098771f5106acaf02be8a61894fae.default.svc.cluster.local"    }, {      "org_name" : "organization",      "org_id" : "57e7914450b098771f5106acaf02be8a61894fae",      "peer_name" : "peer-1",      "peer_id" : "peer-57e7914450b098771f5106acaf02be8a61894fae-1.peer-57e7914450b098771f5106acaf02be8a61894fae.default.svc.cluster.local"    } ],    "security_check_status" : 2  } ]}

状态码: 400

Bad Request

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