检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
/v2/{project_id}/blockchains/{blockchain_id}/metric/list 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 租户从IAM申请到的projectid,一般为32位字符串。 blockchain_id 是 String
/v2/{project_id}/blockchains/{blockchain_id} 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 租户从IAM申请到的项目ID,一般为32位字符串 blockchain_id 是 String blockchainID 请求参数 表2
Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/freeze 表1 路径参数 参数 是否必选
Explorer可以自动生成SDK代码示例,并提供SDK代码示例调试功能。 URI POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/unfreeze 表1 路径参数 参数 是否必选
Operation failed. Failed to obtain the peer organization status. Try again later. 操作失败,获取节点组织状态失败,请稍后再试 稍后重试。 400 BCS.4001110 Failed to create
Operation failed. Failed to obtain the peer organization status. Try again later. 操作失败,获取节点组织状态失败,请稍后再试 稍后重试。 400 BCS.4001110 Failed to create
7abHV1nVKlo9Mm2AxI9dDN7mdHXXHBdg=kaIglHeZLTu6UeIu5YRcXTlpUPXylEG3ESNu0vIukrikG6SVhO393ds8rG+aRnZ+mMyookApP", "expire_time" : 1605867860701
5wZwya6sd6BNBnG", "productID" : "product2", "reason" : "apply dataset for AI", "consumerName" : "user1" } 响应示例 状态码: 200 订单信息 { "consumer"
"password": "********", "domain": { "name": "domainname" } }
获取账号ID 在调用接口的时候,部分URL中需要填入账号ID(domain-id),所以需要先在管理控制台上获取到账号ID。账号ID获取步骤如下: 登录管理控制台。 单击用户名,在下拉列表中单击“我的凭证”。 在“API凭证”页面中查看账号ID。 图1 获取账号ID 父主题: 附录
String 过滤条件:匹配关键字(订单的产品名称) status 否 String 过滤条件:订单状态(ready、finished、failed、canceled) consumer 否 String 过滤条件:订单消费者身份标识 响应参数 状态码: 200 表2 响应Body参数
return string(Avalbytes), nil } func main() { cc, err := contractapi.NewChaincode(new(ABstore)) if err != nil {
"map[string][]KVRead key:chaincode value:键值对数组" write_set Map<String,Array<KVWrite>> 写集 "map[string][]KVWrite key:chaincode value:键值对数组" validation_code
/v2/{project_id}/blockchains/{blockchain_id}/status bcs:fabricInstance:getStatus √ √ 查询实例信息 GET /v2/{project_id}/blockchains/{blockchain_id} bcs:fabricInstance:getDetail
4风格(调用shim包)中的Start函数,入参为shim包中定义的Chaincode接口类型。实际开发中, 您需要自行定义一个结构体,实现Chaincode接口。 type Chaincode interface { Init(stub ChaincodeStubInterface) pb.Response
https://192.168.0.90:30603/v2/agent/apis/chaincode/instantiate { "chaincode_name" : "gochaincode2", "chaincode_version" : "1.0", "channel_name"
您需要自行定义一个类,来继承ChaincodeBase。以下为继承时必须重写的方法: public class SimpleChaincodeSimple extends ChaincodeBase { @Override public Response init(ChaincodeStub
CCE集群资源配额已满 CreateContainerCluster] Create Cluster fail 创建集群失败 CreateStorageInstance]Create PVC fail,timeout PVC网盘创建失败 CreateBlockchainService]cluster
https://192.168.0.90:30603/v2/agent/apis/chaincode/report { "chaincode_name" : "chaincode1", "chaincode_version" : "1.0" } 响应示例 状态码: 400 Bad
https://192.168.0.90:30603/v2/agent/apis/chaincode/uninstall { "chaincode_name" : "chaincode1", "chaincode_version" : "1.0", "target_peers"