Queries all DCDN domain names under a user account that are configured with a specified feature by using the feature ID.
Operation description
Rate limit per user: 100 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnUserDomainsByFunc |
get |
Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FuncId |
integer |
Yes |
The feature ID. You can search for the feature ID by feature name in the Feature parameters for domain name configuration document. For example, the feature ID for configuring the back-to-origin host (set_req_host_header) is 18. |
7 |
| FuncFilter |
string |
No |
Specifies whether the feature specified by FuncId is enabled. Valid values:
|
config |
| DomainName |
string |
No |
The accelerated domain name. |
example.com |
| PageNumber |
integer |
No |
The page number. Default value: 1. Valid values: 1 to 100000. |
1 |
| PageSize |
integer |
No |
The number of domain names to return on each page. Default value: 20. Valid values: 1 to 500. |
20 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmyuji4b6r4** |
| MatchType |
string |
No |
The query type. Default value: exact_match. Valid values:
Valid values:
|
exact_match |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of domain names returned per page. |
5 |
| TotalCount |
integer |
The total number of domain names. |
16 |
| Domains |
object |
||
| PageData |
array<object> |
The array of PageData elements, which contains the status information of the accelerated domain names. |
|
|
array<object> |
|||
| GmtCreated |
string |
The time when the accelerated domain name was created. |
2015-10-28T09:32:51Z |
| SslProtocol |
string |
Specifies whether HTTPS is enabled. Valid values:
|
on |
| Description |
string |
The reason for the review failure. |
audit failed |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-acfmyuji4b6r4** |
| Sandbox |
string |
The sandbox. |
normal |
| DomainStatus |
string |
The status of the accelerated domain name. Valid values:
|
configure_failed |
| Cname |
string |
The CNAME domain name that corresponds to the accelerated domain name. |
example.com.w.alikunlun.net |
| GmtModified |
string |
The time when the accelerated domain name was last modified. |
2015-10-28T11:05:50Z |
| DomainName |
string |
The name of the accelerated domain name. |
example.com |
| Sources |
object |
||
| Source |
array<object> |
The origin server information. |
|
|
object |
|||
| Type |
string |
The type of the origin server. |
oss |
| Weight |
string |
The back-to-origin weight. |
20 |
| Priority |
string |
The priority. |
20 |
| Port |
integer |
The Origin Server Port. |
80 |
| Content |
string |
The addresses of the origin server. |
image.developer.aliyundoc.com |
Examples
Success response
JSON format
{
"RequestId": "AA75AADB-5E25-4970-B480-EAA1F5658483",
"PageNumber": 1,
"PageSize": 5,
"TotalCount": 16,
"Domains": {
"PageData": [
{
"GmtCreated": "2015-10-28T09:32:51Z",
"SslProtocol": "on",
"Description": "audit failed",
"ResourceGroupId": "rg-acfmyuji4b6r4**",
"Sandbox": "normal",
"DomainStatus": "configure_failed",
"Cname": "example.com.w.alikunlun.net",
"GmtModified": "2015-10-28T11:05:50Z",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Weight": "20",
"Priority": "20",
"Port": 80,
"Content": "image.developer.aliyundoc.com"
}
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidPageNumber.ValueNotSupported | The specified value of PageNumber is not supported. | The PageNumber parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidPageSize.ValueNotSupported | The specified value of PageSize is invalid. | The PageSize parameter is set to an invalid. Specify a valid value and try again. |
| 400 | InvalidDomainStatus.ValueNotSupported | The specified value of DomainStatus is invalid. | The DomainStatus parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | The specified domain name is invalid. |
| 400 | InvalidDomainSearchType.ValueNotSupported | The specified value of DomainSearchType is invalid. | The DomainSearchType parameter is set to an invalid value. Specify a valid value and try again. |
| 400 | InvalidChangeStartTime.Malformed | The specified ChangeStartTime is invalid. | The update start time is invalid. |
| 400 | InvalidChangeEndTime.Malformed | The specified ChangeEndTime is invalid. | The update end time is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.