You can call this operation to obtain the value options of the parameters in the Create Consortium operation.

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 DescribeFabricConsortiumConfig

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

RegionId 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 request.

Result

The value options of the parameters in the CreateConsortium operation.

ChannelPolicy [“Any”]

The policy that is used to create the channel.

OrdererType [ “Solo”, “Kafka”, “etcdraft” ]

The type of the orderer.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeFabricConsortiumConfig&<Common request parameters>

Successful response examples

XML format

<DescribeFabricConsortiumConfigResponse>      <Result>            <OrdererType>Solo</OrdererType>            <OrdererType>Kafka</OrdererType>            <OrdererType>etcdraft</OrdererType>            <ChannelPolicy>Any</ChannelPolicy>      </Result>      <RequestId>1D606B42-57BD-486E-8CAB-E184A1C37E57</RequestId>      <Success>true</Success>      <ErrorCode>200</ErrorCode></DescribeFabricConsortiumConfigResponse>

JSON format

{    “Result”:{        “OrdererType”:[            “Solo”,            “Kafka”,            “etcdraft”        ],        “ChannelPolicy”:[            “Any”        ]    },    “RequestId”:”1D606B42-57BD-486E-8CAB-E184A1C37E57”,    “ErrorCode”:200,    “Success”:true,}

Error codes

For more information about error codes, see Error codes.

     </article>
  </main>