All Products
Search
Document Center

Blockchain as a Service:DescribeRootDomain

Last Updated:Dec 30, 2024

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

Parameter

Type

Required

Example

Description

Action

String

No

DescribeRootDomain

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

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

String

onaliyunbaas.com

The result of the operation.

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 request


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

Successful response examples

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DescribeRootDomainResponse>
    <RequestId>1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3</RequestId>
    <Result>onaliyunbaas.com</Result>
    <Success>true</Success>
    <ErrorCode>200</ErrorCode>
</DescribeRootDomainResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "1890FA4F-067A-4CE9-AC9B-2BD2E58FB5D3",
  "Result" : "onaliyunbaas.com",
  "Success" : true,
  "ErrorCode" : 200
}

Error codes

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