最近更新时间:2023.11.21 15:39:42
首次发布时间:2023.09.25 14:31:21
调用 ListDomainDetail 接口,根据域名状态、类别等信息,过滤查询当前账号下的的域名列表信息。
请求频率:单用户请求频率限制为 10 次/秒。
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | ListDomainDetail | 接口名称。当前 API 的名称为 ListDomainDetail 。 |
Version | String | 是 | 2023-01-01 | 接口版本。当前 API 的版本为 2023-01-01 。 |
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
PageNum | Integer | 是 | 1 | 当前页码,取值范围为 [1,1000]。 |
PageSize | Integer | 是 | 10 | 分页大小,取值范围为 [1, 1000] |
VhostList | Array of String | 否 | ["push.example.com","pull.example.com"] | 域名空间列表,缺省情况下表示全部。 |
DomainStatusList | Array of Integer | 否 |
| 域名状态列表。缺省情况下表示全部。支持的取值如下所示。
|
DomainTypeList | Array of String | 否 |
| 域名类型列表。缺省情况下表示全部。域名类型支持以下取值。
|
DomainRegionList | Array of String | 否 |
| 域名区域列表。缺省情况下表示全部,区域类型支持以下取值。
|
DomainNameList | Array of String | 否 | ["push.example.com","pull.example.com"] | 域名名称列表,缺省情况下表示全部。 |
下表仅列出本接口特有的返回参数。更多信息请见返回结构。
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
DomainList | Array of DomainList | - | 域名详细信息列表。 |
Total | Integer | 2 | 总记录数。 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Vhost | String | push.example.com | 域名空间名称。 |
Domain | String | push.example.com | 推/拉流域名。 |
Status | Integer |
| 域名状态。状态说明如下所示。
|
Type | String |
| 域名类型,包含两种类型。
|
Region | String |
| 区域,包含 4 种类型。
|
CName | String | push.example.com.bytefcdn.com | CNAME 信息。 |
CnameCheck | Integer |
| CNAME 状态。
|
DomainCheck | Integer |
| 域名是否可用的状态。
|
ICPCheck | Integer | 1 | IPC 备案校验是否通过,是否过期信息。 |
CreateTime | String | 2006-01-02T15:04:05+08:00 | 创建时间。 |
CertDomain | String | *.example.com | 所绑定证书支持的泛域名。 |
ChainID | String | 21614 | 绑定的证书信息。 |
PushDomain | String | push.example.com | 绑定的推流域名。 |
ProjectName | String | default | 项目名称 |
Tags | Array of Tags | - | 标签 |
参数 | 类型 | 示例值 | 描述 |
---|---|---|---|
Key | String | key1 | 标签 key。 |
Value | String | value1 | 标签 value。 |
Category | String | Custom | 分类。 |
POST https://live.volcengineapi.com?Action=ListDomainDetail&Version=2023-01-01 { "DomainTypeList": [ "pull-flv", "push" ], "PageNum": 1, "PageSize": 10 }
{ "ResponseMetadata":{ "RequestId":"201806041104200100100232280022D30", "Action":"ListDomainDetail", "Version":"2023-01-01", "Service":"live", "Region": "cn-north-1" } "Resutl": { "DomainList": [ { "Domain": "push.example.com", "Status": 0, "Type": "push", "Region": "cn", "CName": "push.example.com.bytefcdn.com", "CnameCheck":0, "DomainCheck":0, "CreateTime":"2006-01-02T15:04:05+08:00" }, { "Domain": "pull.example.com", "Status": 0, "Type": "pull", "Region": "cn", "CName": "pull.example.com.bytefcdn.com", "CnameCheck":0, "DomainCheck":0, "CreateTime":"2006-01-02T15:04:05+08:00" } ], "Total": 2 } }
下表仅列出本接口特有的错误码。更多信息请参见公共错误码获取详细信息。
状态码 | 错误码 | 错误信息 | 说明 |
---|---|---|---|
200 | CommonErr | - | 未分类错误。建议重试,如果仍返回该错误码,请联系技术支持。 |
400 | InvalidParam | - | 输入的参数无效或不符合要求,请参照请求参数说明进行检查。 |
400 | InvalidParam.BindError | Request parameter error, please check input data | 参数未通过校验,请检查参数类型是否正确。 |
403 | RequestForbidden | - | 请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模版、证书)。 |
403 | RequestForbidden.AccountIDNotAllow | this AccountID does not have permission to access the corresponding resource, please check the request parameters | 请求被拒绝,当前账号下无请求的资源(域名空间、域名、应用、配置模版、证书)。 |
403 | RequestForbidden.BillingStatus | Billing status is not available for the AccountID, please activate the service or recharge. | 未开通视频直播服务或账号欠费,造成账单不可用,请检查服务开通情况和账号欠费情况。 |
404 | ResourceNotFound | - | 未找到资源(域名空间、域名、应用、配置模版、证书)。建议重试,如果仍返回该错误码,请联系技术支持。 |
500 | InternalError | an internal error occurred, please contact the administrator. | 出现内部错误,请联系技术支持。 |
500 | InternalError.DB | an internal error related to database occurred, please contact the administrator. | 出现与数据库相关的内部错误,请联系技术支持。 |
502 | InternalServiceError | an internal error occurred, please contact the administrator. | 服务间出现错误,请联系技术支持。 |
502 | InternalServiceError.BadResponse | an internal error occurred, please contact the administrator. | 服务间出现错误,请联系技术支持。 |
504 | InternalServiceTimeout | Internal Service is timeout. please contact the administrator. | 内部服务超时,请联系技术支持。 |