All Products
Search
Document Center

Blockchain as a Service:DescribeFabricOrganizationChannels

Last Updated:Aug 18, 2023

You can call this operation to obtain the list of channels that the organization has joined.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesDescribeFabricOrganizationChannels

The operation that you want to perform. Set the value to DescribeFabricOrganizationChannels.

OrganizationIdStringYespeers-aaaaaa2-1eqnj5o5****

The ID of the organization.

LocationStringNocn-hangzhou

The location.

RegionIdStringNocn-hangzhou

The ID of the region.

Response parameters

ParameterTypeExampleDescription
ErrorCodeInteger200

The error code.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

Result

The list of channels that the organization has joined.

BatchTimeoutInteger2

The amount of time to wait after the first transaction arrives for additional transactions before cutting a block.

BlockCountInteger3

The number of blocks.

ChaincodeCountInteger2

The number of chaincodes.

ChannelIdStringchan-channelx-1l1hmckuuisxo

The ID of the channel.

ChannelNameStringmychannel

The name of the channel.

ConsortiumIdStringconsortium-lianmenyumingyi-hc5d1bwlulg7

The ID of the consortium.

ConsortiumNameStringname

The name of the consortium.

CreateTimeString1533025590

The time when the channel was created.

DeleteTimeString1533025590

The time when the channel was deleted.

DeleteTimeString1533025590

The time when the channel was deleted.

DeletedBooleantrue

Indicates whether the object has been deleted.

DeletedBooleantrue

Indicates whether the object has been deleted.

MaxMessageCountInteger12

The maximum number of transactions that are permitted in a block.

MemberCountInteger3

The number of members.

OwnerBidString253

The business ID of the creator.

OwnerNameStringuid-5324

The creator.

OwnerUidInteger5324

The user ID of the creator.

PreferredMaxBytesInteger24

The preferred maximum number of bytes allowed for.

RequestIdString1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3

The ID of the API request.

StateStringRunning

The status.

SupportChannelConfigBooleantrue

Indicates whether custom parameters are supported.

UpdateTimeString1533025590

The time when the channel was last updated.

SuccessBooleantrue

Indicates whether the call is successful. A value of true indicates that the call is successful. A value of false indicates that the call has failed.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeFabricOrganizationChannels
&OrganizationId=peers-aaaaaa2-1eqnj5o5****
&<Common request parameters>

Successful response examples

XML format

<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>116748157028****</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-116748157028****</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>116748157028****</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-116748157028****</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>116748157028****</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-116748157028****</OwnerName>
		  </Result>
		  <RequestId>CAA5D19F-FB7A-4F69-AF1E-1BA37E9547C5</RequestId>
		  <Success>true</Success>
		  <ErrorCode>200</ErrorCode>
</DescribeFabricOrganizationChannelsResponse>

JSON format

{
	"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":116748157028****,
			"DeleteTime":"",
			"State":"Running",
			"CreateTime":"2018-08-07T11:00:25.000+0000",
			"RequestId":"23732B15-5165-4C85-8FFA-964C5D187AC2",
			"MemberCount":3,
			"OwnerName":"uid-116748157028****"
		},
		{
			"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":116748157028****,
			"DeleteTime":"",
			"State":"Running",
			"CreateTime":"2018-08-08T08:05:52.000+0000",
			"RequestId":"A6A0364C-FE54-4387-B44F-86D9A9BF346D",
			"MemberCount":1,
			"OwnerName":"uid-116748157028****"
		},
		{
			"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":116748157028****,
			"DeleteTime":"",
			"State":"Running",
			"CreateTime":"2018-08-09T06:33:53.000+0000",
			"RequestId":"98BCF502-527C-4CDB-9C0A-BF2790295F27",
			"MemberCount":2,
			"OwnerName":"uid-116748157028****"
		}
	],
	"RequestId":"CAA5D19F-FB7A-4F69-AF1E-1BA37E9547C5",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.