DescribeFabricConsortiumChannels

调用DescribeFabricConsortiumChannels获取联盟的通道列表。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称

类型

是否必选

示例值

描述

Action String DescribeFabricConsortiumChannels

系统规定参数。取值:DescribeFabricConsortiumChannels

ConsortiumId String consortium-lianmenyumingyi-hc5d1bwl****

联盟ID

Location String cn-hangzhou

位置

返回数据

名称

类型

示例值

描述

RequestId String 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

请求ID

Success Boolean true

是否成功

ErrorCode Integer 200

错误码

Result Array of Result
BatchTimeout Integer 2

批处理超时时间

UpdateTime String 1544411108000

更新时间

ChaincodeCount Integer 2

链码数量

PreferredMaxBytes Integer 102410241

首选最大字节数

MemberJoinedCount String 3

加入联盟的成员数量

State String Running

状态

CreateTime String 1544411108000

创建时间

SupportChannelConfig Boolean true

是否支持自定义配置参数

OwnerName String uid-*

创建者

OwnerUid Long 212

创建者Uid

OwnerBid String 26842

创建者Bid

MaxMessageCount Integer 200

块包含最大消息条目

MemberCount Integer 3

通道成员数量

NeedJoined Boolean true

是否需要加入

RequestId String 1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

请求ID

ConsortiumId String consortium-lianmenyumingyi-hc5d1bwl****

联盟ID

ChannelName String mychammel

通道名称

DeleteTime String 1544411108000

删除时间

ChannelId String chan-channelx-1l1hmckuuisxo

通道ID

ConsortiumChannelId Integer 1

联盟中通道序列

Deleted Boolean true

是否删除

ConsortiumName String name

联盟名称

BlockCount Integer 2

块数量

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeFabricConsortiumChannels
&ConsortiumId=consortium-lianmenyumingyi-hc5d1bwl****
&Location=cn-hangzhou
&公共请求参数

正常返回示例

XML格式

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeFabricConsortiumChannelsResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <BatchTimeout>2</BatchTimeout>
        <UpdateTime>1544411108000</UpdateTime>
        <ChaincodeCount>2</ChaincodeCount>
        <PreferredMaxBytes>102410241</PreferredMaxBytes>
        <MemberJoinedCount>3</MemberJoinedCount>
        <State>Running</State>
        <CreateTime>1544411108000</CreateTime>
        <SupportChannelConfig>true</SupportChannelConfig>
        <OwnerName>uid-*</OwnerName>
        <OwnerUid>212</OwnerUid>
        <OwnerBid>26842</OwnerBid>
        <MaxMessageCount>200</MaxMessageCount>
        <MemberCount>3</MemberCount>
        <NeedJoined>true</NeedJoined>
        <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
        <ConsortiumId>consortium-lianmenyumingyi-hc5d1bwl****</ConsortiumId>
        <ChannelName>mychammel</ChannelName>
        <DeleteTime>1544411108000</DeleteTime>
        <ChannelId>chan-channelx-1l1hmckuuisxo</ChannelId>
        <ConsortiumChannelId>1</ConsortiumChannelId>
        <Deleted>true</Deleted>
        <ConsortiumName>name</ConsortiumName>
        <BlockCount>2</BlockCount>
    </Result>
</DescribeFabricConsortiumChannelsResponse>

JSON格式

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : [ {
    "BatchTimeout" : 2,
    "UpdateTime" : "1544411108000",
    "ChaincodeCount" : 2,
    "PreferredMaxBytes" : 102410241,
    "MemberJoinedCount" : "3",
    "State" : "Running",
    "CreateTime" : "1544411108000",
    "SupportChannelConfig" : true,
    "OwnerName" : "uid-*",
    "OwnerUid" : 212,
    "OwnerBid" : "26842",
    "MaxMessageCount" : 200,
    "MemberCount" : 3,
    "NeedJoined" : true,
    "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
    "ConsortiumId" : "consortium-lianmenyumingyi-hc5d1bwl****",
    "ChannelName" : "mychammel",
    "DeleteTime" : "1544411108000",
    "ChannelId" : "chan-channelx-1l1hmckuuisxo",
    "ConsortiumChannelId" : 1,
    "Deleted" : true,
    "ConsortiumName" : "name",
    "BlockCount" : 2
  } ]
}

错误码

访问错误中心查看更多错误码。