获取超级链网络全量信息
更新时间:2020-04-09
获取超级链网络全量信息
接口描述 根据提供的超级链网络UUID,获取该网络的全量信息。
权限说明 请求发起人需要具有合法的AccessKeyID和SecretAccessKey才能发起请求。
注意事项
如果请求中没有用户验证信息(即匿名访问),返回403 Forbidden
,错误信息:AccessDenied
。
请求(Request)
- 请求语法
GET /v1/xchain/information
Host: bbe.bj.baidubce.com
x-bce-date: <x-bce-date>
x-bce-request-id: <x-bce-request-id>
Authorization: <Authorization_String>
- 请求头域 除公共头域外,无其它特殊头域。
- 请求参数
名称 | 类型 | 描述 | 是否必须 |
---|---|---|---|
networkUuid | String | 超级链网络的UUID | 必须 |
响应(Response)
- 响应头域
除公共头域外,无其它特殊头域。
- 响应参数
名称 | 类型 | 描述 |
---|---|---|
information | String | 全量信息 |
networkUuid | String | 超级链网络ID |
networkName | String | 超级链网络名称 |
practiceUrl | String | 控制台地址 |
失败响应参考错误码部分。
示例
- 请求示例
GET bbe.bj.baidubce.com/v1/xchain/information?networkUuid=2b031568-5073-4967-bc86-bff6a242cd11
Host: bbe.bj.baidubce.com
x-bce-date: 2019-01-06T06:55:42Z
x-bce-request-id: b9485394-c7dc-3cfa-d454-57c34773d08c
Authorization: bce-auth-v1/5fded23b03594981872fbfadaad70ef6/2019-01-06T06:55:42Z/1800/host/84bc3dd2774cf6a6276a86e0cc7680e01710a1b7cb1a87de552af581131c818f
- 响应示例
200
Content-Length: 3153
Content-Type: application/json; charset=utf-8
Date: Fri, 04 Jan 2019 07:24:02 GMT
{
"data":{
"information":"网络信息\n名称,UUID,状态,集群,控制台,出块奖励,衰减高度,衰减系数\ntest-lql,2b031568-5073-4967-bc86-bff6a242cd11,RUNNING,c-QOUyL2yh,http://10.107.245.134:8000,1000,1000,0.600000\n账户信息\n角色,地址,私钥,公钥\nsupernode,QTzQsgxfZ3ANDWBkCUSN1u1xhjW3AH7vb,eyJDdXJ2bmFtZSI6IlAtMjU2IiwiWCI6MTAyODM0MTQ1OTkyMTk2NTQ0MT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