调用本接口获取指定点播域名配置的基本信息。
接口说明
目前服务地址仅支持:华东 2(上海)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
vod:DescribeVodDomainDetail |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DomainName |
string |
是 |
点播加速域名名称。 |
example.com |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
09ABE829-6CD3-4FE0-556113E2**** |
| DomainDetail |
object |
域名配置的基本信息。 |
|
| GmtCreated |
string |
创建时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。 |
2017-11-27T06:51:26Z |
| Weight |
string |
回源权重。 |
1 |
| SSLPub |
string |
如果开启 HTTPS 安全加速,此处为 HTTPS 证书的公钥;如果未开启 HTTPS 安全加速,则不返回此参数。 |
yourSSLPub |
| Description |
string |
点播加速域名描述。 |
testDescription |
| SSLProtocol |
string |
是否开启 SSL 证书。取值:
|
on |
| CertName |
string |
如果开启 HTTPS 安全加速,此处为 HTTPS 证书的名称;如果未开启 HTTPS 安全加速,则不返回此参数。 |
testCertName |
| Scope |
string |
加速区域。取值:
|
domestic |
| Cname |
string |
为加速域名生成的一个 CNAME 域名,需要在域名解析服务商处将此加速域名 CNAME 解析到该域名。详细操作请参见配置 CNAME。 |
example.com.w.alikunlun.net |
| DomainStatus |
string |
加速域名运行状态。取值意义:
|
online |
| GmtModified |
string |
最近修改时间。格式为:yyyy-MM-ddTHH:mm:ssZ(UTC 时间)。 |
2017-11-27T06:55:26Z |
| DomainName |
string |
点播加速域名。 |
example.com |
| Sources |
object |
||
| Source |
array<object> |
源站信息。 |
|
|
object |
源站详细信息。 |
||
| Type |
string |
源站类型。取值:
|
oss |
| Priority |
string |
优先级。 |
50 |
| Port |
integer |
端口。支持 443 和 80。 |
80 |
| Content |
string |
回源地址。 |
****.oss-cn-hangzhou.aliyuncs.com |
| Enabled |
string |
源站状态。取值:
|
online |
| Weight |
string |
回源权重。 |
1 |
示例
正常返回示例
JSON格式
{
"RequestId": "09ABE829-6CD3-4FE0-556113E2****",
"DomainDetail": {
"GmtCreated": "2017-11-27T06:51:26Z",
"Weight": "1",
"SSLPub": "yourSSLPub",
"Description": "testDescription",
"SSLProtocol": "on",
"CertName": "testCertName",
"Scope": "domestic",
"Cname": "example.com.w.alikunlun.net",
"DomainStatus": "online",
"GmtModified": "2017-11-27T06:55:26Z",
"DomainName": "example.com",
"Sources": {
"Source": [
{
"Type": "oss",
"Priority": "50",
"Port": 80,
"Content": "****.oss-cn-hangzhou.aliyuncs.com",
"Enabled": "online",
"Weight": "1"
}
]
}
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | InvalidDomain.NotFound | The domain provided does not belong to you. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。