Call the DescribeDcdnUserDomainsByFunc operation to query all DCDN domain names that are associated with your account and have a specific feature configured. The feature is specified by FuncId.
Operation description
The call frequency for a single user is 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 ID of the feature. To find the ID, search for the feature by name in the Feature parameters for domain name configurations document. For example, the ID of the back-to-origin HOST configuration feature (set_req_host_header) is 18. |
7 |
| FuncFilter |
string |
No |
Specifies whether the feature specified by FuncId is enabled.
|
config |
| DomainName |
string |
No |
The accelerated domain name. |
example.com |
| PageNumber |
integer |
No |
The number of the page to return. The default value is 1. Valid values: 1 to 100000. |
1 |
| PageSize |
integer |
No |
The number of domain names to return on each page. The default value is 20. Valid values: 1 to 500. |
20 |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-acfmyuji4b6r4** |
| MatchType |
string |
No |
The query type. The default value is exact_match. Valid values:
|
exact_match |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
AA75AADB-5E25-4970-B480-EAA1F5658483 |
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of domain names returned on the current page. |
5 |
| TotalCount |
integer |
The total number of domain names. |
16 |
| Domains |
object |
||
| PageData |
array<object> |
An array of PageData objects that contain the status information of the accelerated domain names. |
|
|
object |
|||
| GmtCreated |
string |
The time when the accelerated domain name was created. |
2015-10-28T09:32:51Z |
| SslProtocol |
string |
Indicates whether HTTPS is enabled. Valid values:
|
on |
| Description |
string |
The reason why the review failed. |
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 that is assigned 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 accelerated domain name. |
example.com |
| Sources |
object |
||
| Source |
array<object> |
The information about the origin server. |
|
|
object |
|||
| Type |
string |
The type of the origin server. |
oss |
| Weight |
string |
The weight of the origin server for back-to-origin routing. |
20 |
| Priority |
string |
The priority. |
20 |
| Port |
integer |
The port of the origin server. |
80 |
| Content |
string |
The address 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.