全部產品
Search
文件中心

Blockchain as a Service:DescribeFabricConsortiumChannels

更新時間:Jan 24, 2025

調用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
  } ]
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。