Queries domain name configurations. You can query multiple feature configurations in a single request.
Operation description
Currently, the service address supports only China (Shanghai).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:DescribeVodDomainConfigs |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name for ApsaraVideo VOD. Only a single domain name can be queried at a time. |
www.example.com |
| FunctionNames |
string |
Yes |
The feature names. You can query multiple feature configurations in a single request. Separate multiple feature names with commas (,). For the features supported by accelerated domain names for ApsaraVideo VOD and their names, see Feature functions for domain name configuration. |
filetype_based_ttl_set,set_req_host_header |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
F8AA0364-0FDB-4AD5-****-D69FAB8924ED |
| DomainConfigs |
object |
||
| DomainConfig |
array<object> |
The domain name configurations. |
|
|
array<object> |
The details of the domain name configuration. |
||
| Status |
string |
The status of the domain name configuration. Valid values:
|
success |
| ConfigId |
string |
The ID of the configuration. |
5003576 |
| FunctionName |
string |
The name of the feature. |
set_req_host_header |
| FunctionArgs |
object |
||
| FunctionArg |
array<object> |
The details of the feature configuration. |
|
|
object |
The details of the feature configuration. |
||
| ArgName |
string |
The name of the parameter, which is a configuration item of functionName. |
domain_name |
| ArgValue |
string |
The value of the parameter, which is the value of the configuration item for functionName. |
example.com |
Examples
Success response
JSON format
{
"RequestId": "F8AA0364-0FDB-4AD5-****-D69FAB8924ED",
"DomainConfigs": {
"DomainConfig": [
{
"Status": "success",
"ConfigId": "5003576",
"FunctionName": "set_req_host_header",
"FunctionArgs": {
"FunctionArg": [
{
"ArgName": "domain_name",
"ArgValue": "example.com"
}
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Invalid%s.ValueNotSupported | FunctionName [%s] is not supported. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.