You can call this operation to query the available root domains in BaaS.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | No | DescribeRootDomain | The operation that you want to perform. Set the value to DescribeRootDomain. |
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 | 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
<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.