logologo
售前咨询
点播云
产品简介
购买指南
快速入门
控制台指南
服务端API
调用方式
媒资上传
媒资管理
媒体处理
事件通知
点播CDN
数据统计
空间管理
回调配置
SDK文档
相关协议
文档中心
服务端API点播CDN查询加速域名列表

查询加速域名列表


1. 请求参数

名称

类型

是否必选

示例值

描述

Action

String

ListUserDomains

系统规定参数。取值:ListUserDomains。

Offset

Integer

20

分页查询偏移量,最多5000

Limit

Integer

100

分页查询限制数目,默认20,最大可设置为100


2. 返回参数

名称

类型

示例值

描述

TotalCount

Long

2

总条数。

Offset

Integer

0


Limit

Integer

10


DomainInfos

Array of DomainInfo


域名信息列表。

DomainInfo

名称

类型

示例值

描述

DomainName

String

api1.example.com

点播域名名称。

CreateTime

Long

1650940362000

点播域名创建时间,UNIX时间戳。

UpdateTime

Long

1650940362000


点播域名修改时间,UNIX时间戳。

CdnType

String

加速域名的业务类型。取值:

  • web:图片小文件。
  • download:大文件下载。
  • video:视音频点播。

SslProtocol

String

回源协议,支持在HTTP、HTTPS、协议跟随间进行选择;默认使用HTTP回源协议。

可选值:

  • http:http
  • https:https
  • follow:协议跟随

Ipv6

Boolean

是否开启Ipv6访问,默认关闭。

取值范围:

  • true:开启
  • false:关闭

Cname

String

api1.example.com.w.alikunlun.net

点播域名对应的CNAME域名。

DomainStatus

String

online

点播域名状态,取值意义:

  • online:表示启用。
  • offline:表示停用。
  • configuring:表示配置中。
  • configure_failed:表示配置失败。
  • checking:表示正在审核。
  • check_failed:表示审核失败。


3. 示例

3.1 请求示例

https://vod.{ApiRegion}.streamlakeapi.com/?Action=ListUserDomains
&Offset=0&Limit=1&<公共请求参数>

3.2 返回示例

HTTP/1.1 200 OK
Content-Type:application/json

{
"ResponseMeta": {
"RequestId":"CixgpmAFOYcAAAAAAAAAAw",
"ErrorCode":"",
"ErrorMessage":""
},
"ResponseData": {
"DomainInfos" : [{
"SslProtocol" : "https",
"DomainName" : "api1.example.com",
"CreateTime" : "2017-12-29T09:24:12Z",
"UpdateTime" : "2017-08-29T08:40:53Z",
"Cname" : "api1.example.com.w.alikunlun.net",
"DomainStatus" : "online",
"TotalCount" : 1,
"Offset" : 1,
"Limit" : 1
}
}


4. 错误码

错误代码

错误信息

HTTP 状态码

说明

InvalidArgument.InvalidOffset

The specified value of parameter Offset is not supported.

400

输入的offset参数值不支持。

InvalidArgument.InvalidLimit

The specified value of parameter Limit is not supported.

400

输入的limit参数值不支持。

InvalidArgument.InvalidDomainName

The specific value of parameter DomainName is malformed.

400

输入的DomainName参数值不支持。

InvalidArgument.InvalidDomainStatus

The specified value of parameter DomainStatus is not supported.

400

输入的DomainStatus参数值不支持。

InvalidArgument.InvalidDomainSearchType

The specified value of parameter DomainSearchType is not supported.

400

输入的DomainSearchType参数值不支持。

上一篇:删除加速域名下一篇:获取域名配置详情
该篇文档内容是否对您有帮助?
有帮助没帮助