You can call this operation to query the management status of the consortium.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeFabricConsortiumAdminStatus |
The operation that you want to perform. Set the value to DescribeFabricConsortiumAdminStatus. |
Location | String | No | cn-hangzhou |
The location. |
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 API request. |
Result |
The management status of the consortium. |
||
ConsortiumAdministrator | Boolean | true |
Indicates whether the ID belongs to the consortium creator. |
ConsortiumId | String | consortium-lianmenyumingyi-hc5d1bwlulg7 |
The ID of the consortium. |
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=DescribeFabricConsortiumAdminStatus
&<Common request parameters>
Successful response examples
XML
format
<DescribeFabricConsortiumAdminStatusResponse>
<Result>
<ConsortiumId>10000</ConsortiumId>
<ConsortiumAdministrator>true</ConsortiumAdministrator>
</Result>
<Result>
<ConsortiumId>10001</ConsortiumId>
<ConsortiumAdministrator>false</ConsortiumAdministrator>
</Result>
<RequestId>3E85A941-658C-40E8-9704-60513A0281CF</RequestId>
<Success>true</Success>
<ErrorCode>200</ErrorCode>
</DescribeFabricConsortiumAdminStatusResponse>
JSON
format
{
"Result":[
{
"ConsortiumId":"10000",
"ConsortiumAdministrator":true
},
{
"ConsortiumId":"10001",
"ConsortiumAdministrator":false
}
],
"RequestId":"3E85A941-658C-40E8-9704-60513A0281CF",
"ErrorCode":200,
"Success":true
}
Error codes
For more information about error codes, see Error codes.