DescribeVerifyContent - 查询校验归属权内容

查询归属校验内容

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

InstanceId

string

WAF 实例的 ID。

说明

您可以调用 DescribeInstance 查询当前 WAF 实例的 ID。

waf_v2_public_cn-***

DomainName

string

域名

example.com

AccessOrigin

string

接入来源。取值:

  • share:表示公共云 CNAME 接入。

  • asset:表示自定义资产接入。

  • hybrid_cloud_cname:表示混合云 CNAME 接入。

  • tgw:表示云产品接入。

share

返回参数

名称

类型

描述

示例值

object

校验内容。

DnsContent

object

DNS 校验内容。

RR

string

主机记录。

verification

Type

string

TXT 记录类型。

TXT

Value

string

TXT 记录值。

verify_0a246ca99d504ba087472d***

FileContent

object

文件校验内容。

TopDomain

string

主域名。

aliyundemo.com

VerifyPath

string

文件验证访问路径。

http://xxx.xxx.com//xxx.html

FileName

string

文件名称。

xxx.html

Value

string

文件内容。

verify_0a246ca99d504ba08***

DownloadUrl

string

文件下载路径。

http://oss.xxx.com//xxx.html

RequestId

string

请求 ID。

D7861F61-5B61-46CE-A47C-***

VerifyResult

boolean

校验结果。取值:

  • true:表示校验通过。

  • false:表示校验不通过。

true

示例

正常返回示例

JSON格式

{
  "DnsContent": {
    "RR": "verification",
    "Type": "TXT",
    "Value": "verify_0a246ca99d504ba087472d***"
  },
  "FileContent": {
    "TopDomain": "aliyundemo.com",
    "VerifyPath": "http://xxx.xxx.com//xxx.html",
    "FileName": "xxx.html",
    "Value": "verify_0a246ca99d504ba08***",
    "DownloadUrl": "http://oss.xxx.com//xxx.html"
  },
  "RequestId": "D7861F61-5B61-46CE-A47C-***",
  "VerifyResult": true
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情