调用DescribeFabricOrganizationChannels获取该组织加入的通道列表。

调试

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

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeFabricOrganizationChannels

系统规定参数。取值:DescribeFabricOrganizationChannels

RegionId String cn-hangzhou

地域

OrganizationId String peers-aaaaaa2-1eqnj5o5****

组织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 1533025590

更新时间

ChaincodeCount Integer 2

链码数量

PreferredMaxBytes Integer 24

首选最大字节数

State String Running

状态

CreateTime String 1533025590

创建时间

SupportChannelConfig Boolean true

是否支持自定义配置参数

OwnerName String uid-5324

创建者

OwnerUid Long 5324

创建者Uid

OwnerBid String 253

创建者Bid

MaxMessageCount Integer 12

块包含最大消息条目

MemberCount Integer 3

成员数量

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

请求ID

ConsortiumId String consortium-lianmenyumingyi-hc5d1bwlulg7

联盟ID

ChannelName String mychannel

通道名

DeleteTime String 1533025590

删除时间

ChannelId String chan-channelx-1l1hmckuuisxo

通道ID

Deleted Boolean true

是否已经删除

ConsortiumName String name

联盟名称

BlockCount Integer 3

块数量

示例

请求示例

http(s)://[Endpoint]/?Action=DescribeFabricOrganizationChannels
&OrganizationId=peers-aaaaaa2-1eqnj5o5****
&<公共请求参数>

正常返回示例

XML格式

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

<DescribeFabricOrganizationChannelsResponse>
<Result>
			<ConsortiumName>perf914</ConsortiumName>
			<Deleted>false</Deleted>
			<ConsortiumId>consortium-perf914-37cfcff9pa2c7a</ConsortiumId>
			<UpdateTime>2018-08-07T11:00:25.000+0000</UpdateTime>
			<ChaincodeCount>18</ChaincodeCount>
			<OwnerBid>26842</OwnerBid>
			<ChannelId>chan-first-channel-31hlgpen5k5lig</ChannelId>
			<Name>first-asdadaaaa aaaaaaaaaa dadscsdfasdasdafdscxzdwearq</Name>
			<BlockCount>0</BlockCount>
			<OwnerUid>1167481570282431</OwnerUid>
			<DeleteTime></DeleteTime>
			<State>Running</State>
			<RequestId>23732B15-5165-4C85-8FFA-964C5D187AC2</RequestId>
			<CreateTime>2018-08-07T11:00:25.000+0000</CreateTime>
			<MemberCount>3</MemberCount>
			<OwnerName>uid-1167481570282431</OwnerName>
		</Result>
		<Result>
			<ConsortiumName>perf914</ConsortiumName>
			<Deleted>false</Deleted>
			<ConsortiumId>consortium-perf914-37cfcff9pa2c7a</ConsortiumId>
			<UpdateTime>2018-08-08T08:05:52.000+0000</UpdateTime>
			<ChaincodeCount>0</ChaincodeCount>
			<OwnerBid>26842</OwnerBid>
			<ChannelId>chan-yyp-1jpjolifn8g22k</ChannelId>
			<Name>yyp</Name>
			<BlockCount>0</BlockCount>
			<OwnerUid>1167481570282431</OwnerUid>
			<DeleteTime></DeleteTime>
			<State>Running</State>
			<RequestId>A6A0364C-FE54-4387-B44F-86D9A9BF346D</RequestId>
			<CreateTime>2018-08-08T08:05:52.000+0000</CreateTime>
			<MemberCount>1</MemberCount>
			<OwnerName>uid-1167481570282431</OwnerName>
		</Result>
		<Result>
			<ConsortiumName>perf914</ConsortiumName>
			<Deleted>false</Deleted>
			<ConsortiumId>consortium-perf914-37cfcff9pa2c7a</ConsortiumId>
			<UpdateTime>2018-08-09T06:33:53.000+0000</UpdateTime>
			<ChaincodeCount>7</ChaincodeCount>
			<OwnerBid>26842</OwnerBid>
			<ChannelId>chan-forthchannel-386gkfagakdgjl</ChannelId>
			<Name>forthchannel</Name>
			<BlockCount>0</BlockCount>
			<OwnerUid>1167481570282431</OwnerUid>
			<DeleteTime></DeleteTime>
			<State>Running</State>
			<RequestId>98BCF502-527C-4CDB-9C0A-BF2790295F27</RequestId>
			<CreateTime>2018-08-09T06:33:53.000+0000</CreateTime>
			<MemberCount>2</MemberCount>
			<OwnerName>uid-1167481570282431</OwnerName>
		</Result>
		<RequestId>CAA5D19F-FB7A-4F69-AF1E-1BA37E9547C5</RequestId>
		<Success>true</Success>
		<ErrorCode>200</ErrorCode>
</DescribeFabricOrganizationChannelsResponse>

JSON格式

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

{
  "Result" : [ {
    "ConsortiumName" : "perf914",
    "Deleted" : false,
    "ConsortiumId" : "consortium-perf914-37cfcff9pa2c7a",
    "UpdateTime" : "2018-08-07T11:00:25.000+0000",
    "ChaincodeCount" : 18,
    "OwnerBid" : "26842",
    "ChannelId" : "chan-first-channel-31hlgpen5k5lig",
    "Name" : "first-asdadaaaa aaaaaaaaaa dadscsdfasdasdafdscxzdwearq",
    "BlockCount" : 0,
    "OwnerUid" : 1167481570282431,
    "DeleteTime" : "",
    "State" : "Running",
    "RequestId" : "23732B15-5165-4C85-8FFA-964C5D187AC2",
    "CreateTime" : "2018-08-07T11:00:25.000+0000",
    "MemberCount" : 3,
    "OwnerName" : "uid-1167481570282431"
  }, {
    "ConsortiumName" : "perf914",
    "Deleted" : false,
    "ConsortiumId" : "consortium-perf914-37cfcff9pa2c7a",
    "UpdateTime" : "2018-08-08T08:05:52.000+0000",
    "ChaincodeCount" : 0,
    "OwnerBid" : "26842",
    "ChannelId" : "chan-yyp-1jpjolifn8g22k",
    "Name" : "yyp",
    "BlockCount" : 0,
    "OwnerUid" : 1167481570282431,
    "DeleteTime" : "",
    "State" : "Running",
    "RequestId" : "A6A0364C-FE54-4387-B44F-86D9A9BF346D",
    "CreateTime" : "2018-08-08T08:05:52.000+0000",
    "MemberCount" : 1,
    "OwnerName" : "uid-1167481570282431"
  }, {
    "ConsortiumName" : "perf914",
    "Deleted" : false,
    "ConsortiumId" : "consortium-perf914-37cfcff9pa2c7a",
    "UpdateTime" : "2018-08-09T06:33:53.000+0000",
    "ChaincodeCount" : 7,
    "OwnerBid" : "26842",
    "ChannelId" : "chan-forthchannel-386gkfagakdgjl",
    "Name" : "forthchannel",
    "BlockCount" : 0,
    "OwnerUid" : 1167481570282431,
    "DeleteTime" : "",
    "State" : "Running",
    "RequestId" : "98BCF502-527C-4CDB-9C0A-BF2790295F27",
    "CreateTime" : "2018-08-09T06:33:53.000+0000",
    "MemberCount" : 2,
    "OwnerName" : "uid-1167481570282431"
  } ],
  "RequestId" : "CAA5D19F-FB7A-4F69-AF1E-1BA37E9547C5",
  "Success" : true,
  "ErrorCode" : 200
}

错误码

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