全部產品
Search
文件中心

Blockchain as a Service:DescribeFabricOrganizationChannels

更新時間:Jan 24, 2025

調用DescribeFabricOrganizationChannels擷取該組織加入的通道列表。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

請求參數

名稱

類型

是否必選

樣本值

描述

Action

String

DescribeFabricOrganizationChannels

系統規定參數。取值:DescribeFabricOrganizationChannels

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-116748157028****

建立者

OwnerUid

Long

116748157028****

建立者Uid

OwnerBid

String

26842

建立者Bid

MaxMessageCount

Integer

12

塊包含最大訊息條目

MemberCount

Integer

3

成員數量

RequestId

String

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

請求ID

ConsortiumId

String

consortium-perf914-37cfcff9pa****

聯盟ID

ChannelName

String

mychannel

通道名

DeleteTime

String

1533025590

刪除時間

ChannelId

String

chan-first-channel-31hlgpen5k****

通道ID

Deleted

Boolean

true

是否已經刪除

ConsortiumName

String

name

聯盟名稱

BlockCount

Integer

3

塊數量

樣本

請求樣本

http(s)://[Endpoint]/?Action=DescribeFabricOrganizationChannels
&OrganizationId=peers-aaaaaa2-1eqnj5o5****
&Location=cn-hangzhou
&公用請求參數

正常返回樣本

XML格式

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

<DescribeFabricOrganizationChannelsResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
    <Result>
        <BatchTimeout>2</BatchTimeout>
        <UpdateTime>1533025590</UpdateTime>
        <ChaincodeCount>2</ChaincodeCount>
        <PreferredMaxBytes>24</PreferredMaxBytes>
        <State>Running</State>
        <CreateTime>1533025590</CreateTime>
        <SupportChannelConfig>true</SupportChannelConfig>
        <OwnerName>uid-116748157028****</OwnerName>
        <OwnerBid>26842</OwnerBid>
        <MaxMessageCount>12</MaxMessageCount>
        <MemberCount>3</MemberCount>
        <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
        <ConsortiumId>consortium-perf914-37cfcff9pa****</ConsortiumId>
        <ChannelName>mychannel</ChannelName>
        <DeleteTime>1533025590</DeleteTime>
        <ChannelId>chan-first-channel-31hlgpen5k****</ChannelId>
        <Deleted>true</Deleted>
        <ConsortiumName>name</ConsortiumName>
        <BlockCount>3</BlockCount>
    </Result>
</DescribeFabricOrganizationChannelsResponse>

JSON格式

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

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Success" : true,
  "ErrorCode" : 200,
  "Result" : [ {
    "BatchTimeout" : 2,
    "UpdateTime" : "1533025590",
    "ChaincodeCount" : 2,
    "PreferredMaxBytes" : 24,
    "State" : "Running",
    "CreateTime" : "1533025590",
    "SupportChannelConfig" : true,
    "OwnerName" : "uid-116748157028****",
    "OwnerBid" : "26842",
    "MaxMessageCount" : 12,
    "MemberCount" : 3,
    "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
    "ConsortiumId" : "consortium-perf914-37cfcff9pa****",
    "ChannelName" : "mychannel",
    "DeleteTime" : "1533025590",
    "ChannelId" : "chan-first-channel-31hlgpen5k****",
    "Deleted" : true,
    "ConsortiumName" : "name",
    "BlockCount" : 3
  } ]
}

錯誤碼

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