All Products
Search
Document Center

Blockchain as a Service:DescribeRootDomain

Last Updated:Aug 18, 2023

You can call this operation to query the available root domains in BaaS.

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
ActionString NoDescribeRootDomain

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

RegionIdString Nocn-hangzhou

The ID of the region.

Response parameters

ParameterTypeExampleDescription
ErrorCodeInteger200

The error code.

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

The ID of the request.

ResultStringonaliyunbaas.com

The result of the operation.

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 request


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

Successful response examples

XML format

<DescribeRootDomainResponse>
	  <successResponse>true</successResponse>
	  <requestId>@guid</requestId>
	  <data>
		    <Result>onaliyunbaas.com</Result>
	  </data>
	  <code>200</code>
</DescribeRootDomainResponse>

JSON format

{
	"successResponse":true,
	"requestId":"@guid",
	"data":{
		"Result":"onaliyunbaas.com"
	},
	"code":"200"
}

Error codes

For more information about error codes, visit API Error Center.