You can call this operation to query the number of domain assets.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDomainCount |
The operation that you want to perform. Set the value to DescribeDomainCount. |
SourceIp | String | No | 127.1.1.1 |
The source IP address of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 6FAFB857-FE24-4226-A09F-52EA5023C987 |
The ID of the request. |
RootDomainsCount | Integer | 27 |
The number of returned root domains. |
TotalDomainsCount | Integer | 1 |
The total number of domains. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeDomainCount
&<Common request parameters>
Sample success responses
XML
format
<DescribeDomainCount>
<code>200</code>
<data>
<TotalDomainsCount>27</TotalDomainsCount>
<RootDomainsCount>1</RootDomainsCount>
</data>
<requestId>6FAFB857-FE24-4226-A09F-52EA5023C987</requestId>
<success>true</success>
</DescribeDomainCount>
JSON
format
{
"requestId":"6FAFB857-FE24-4226-A09F-52EA5023C987",
"data":{
"TotalDomainsCount":27,
"RootDomainsCount":1
},
"code":200,
"success":true
}
Error codes
For more information about error codes, visit API Error Center.