接口说明
获取 cdn 域名配置信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
TenantId | string | 否 | 租户 ID。 | UNIGTXQTAO |
SpaceId | string | 是 | 服务空间 ID。 | mp-05c3aa1c-****-43ae-a03d-61eff91c592e |
Type | string | 是 | 支持对云存储和静态网站自定义域名进行管理:
| FILE |
返回参数
示例
正常返回示例
JSON
格式
{
"SpaceId": "mp-65e6491b-****-4c2e-b202-7f0036eb2713",
"RequestId": "E8A2FA95-6F70-****-971C-34C27485441D",
"ServiceStatus": "IN_SERVICE",
"DomainName": "mp-65e6491b-****-4c2e-b202-7f0036eb2713.cdn.bspapp.com",
"CorsConfig": {
"AllowOrigin": "https://www.baidu.com",
"ConfigId": "274436853071****",
"AccessOriginControl": true
},
"RefererConfig": {
"Type": "white",
"ReferList": "a*b.example.com",
"AllowEmpty": "on",
"DisableAst": "a*b.example.com",
"ConfigId": "28048528682****"
},
"IpConfig": {
"Type": "black",
"IpList": "183.157.108.82,140.205.147.26",
"ConfigId": "25623800702****"
},
"UaConfig": {
"Type": "white",
"UaList": "*curl*|*IE*|*chrome*|*firefox*",
"ConfigId": "25950108534****"
},
"AuthConfig": {
"AuthType": "no_auth",
"AuthKey": "SL4ZB****",
"AuthDelta": 3600,
"configId": "25950108534****\n"
}
}
错误码
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史