You can call this operation to query the member list of a channel.

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

Parameter Type Required Example Description
Action String Yes DescribeFabricChannelMembers

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

ChannelId String Yes chan-channelx-1l1hmckuu****

The ID of the channel.

RegionId [DNT]String No cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description 
ErrorCode Integer 200

The error code.

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

The ID of the API request.

Result

You can call this operation to query the members in the channel.

AcceptTime String 1544411108000

The time when the member was accepted.

ChannelId String chan-channelx-1l1hmckuuisxo

The ID of the channel.

InviteTime String 1544411108000

The time when the member was invited.

OrganizationDescription String description

The description of the organization.

OrganizationDomain String hello

The domain name of the organization.

OrganizationId String peers-aaaaaa1-1oxw31d046jtl

The ID of the organization.

OrganizationName String name

The name of the organization.

State String Running

The status.

WithPeer Boolean true

Indicated whether peer nodes are contained.

Success Boolean true

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=DescribeFabricChannelMembers
&ChannelId=chan-channelx-1l1hmckuu****
&<Common request parameters>

Successful response examples

XML format

<DescribeFabricChannelMembersResponse>
	  </Result>
		    <OrganizationName>myorg</OrganizationName>
		    <InviteTime>2018-07-23T01:53:53.000+0000</InviteTime>
		    <ChannelId>chan-cc1-2f0l9cd394****</ChannelId>
		    <WithPeer>true</WithPeer>
		    <OrganizationDescription></OrganizationDescription>
		    <OrganizationDomain>zhuangADSADSDAACZXsdfadsdfaesfac1.absdasssample.cc</OrganizationDomain>
		    <State>Accepted</State>
		    <OrganizationId>peers-zhuang1-2kna27h5m3c913</OrganizationId>
		    <AcceptTime>2018-07-24T02:35:53.000+0000</AcceptTime>
	  </Result>
	  <RequestId>3E85A941-658C-40E8-9704-60513A0281CF</RequestId>
	  <Success>true</Success>
	  <ErrorCode>200</ErrorCode>
</DescribeFabricChannelMembersResponse>

JSON format

{
	"Result":{
		"ChannelId":"chan-cc1-2f0l9cd394****",
		"InviteTime":"2018-07-23T01:53:53.000+0000",
		"OrganizationDescription":"",
		"OrganizationDomain":"zhuangADSADSDAACZXsdfadsdfaesfac1.absdasssample.cc",
		"WithPeer":true,
		"State":"Accepted",
		"OrganizationId":"peers-zhuang1-2kna27h5m3c913",
		"AcceptTime":"2018-07-24T02:35:53.000+0000",
		"OrganizationName":"myorg"
	},
	"RequestId":"3E85A941-658C-40E8-9704-60513A0281CF",
	"ErrorCode":200,
	"Success":true
}

Error codes

For more information about error codes, see Error codes.