添加域名解析配置
POST
/api/ssl/domain请求参数
Header 参数
Accept
string
可选
示例值:
application/json
Body 参数application/json
object {0}
示例
{
"dns_configs": [
{
"top_domain": "plugins-world.cn",
"platform_type": "aliyun",
"configs": {
"access_key": "LTAIcv0UQJWhrkL8",
"secret_key": "fepei0jEvH6fT0AuXDEvlS8vBFzjf0",
"region": "cn-shenzhen"
},
"remark": "DNS解析子账户的默认密钥"
},
{
"top_domain": "iwnweb.com",
"platform_type": "aliyun",
"configs": {
"access_key": "LTAIcv0UQJWhrkL8",
"secret_key": "fepei0jEvH6fT0AuXDEvlS8vBFzjf0",
"region": "cn-shenzhen"
},
"remark": "DNS解析子账户的默认密钥"
},
{
"top_domain": "realomics.com",
"platform_type": "aliyun",
"configs": {
"access_key": "LTAI5tS94YAAFuZmP819EoXH",
"secret_key": "h1WHHEpkGUs3fcICL6bvJXdE5zvdcW",
"region": "cn-shenzhen"
},
"remark": "DNS解析子账户的默认密钥"
},
{
"top_domain": "aoneomics.com",
"platform_type": "aliyun",
"configs": {
"access_key": "LTAI5tJewPwpRFyGToL8wdim",
"secret_key": "sNABfU9EjyjBOKcvYiM8bZvDCEmirx",
"region": "cn-shenzhen"
},
"remark": "DNS解析子账户的默认密钥"
}
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
err_code
string
错误码
err_msg
string
错误提示
data
array [object {2}]
数据
lang_tag
enum<string>
结果语言
枚举值:
百度翻译谷歌翻译有道翻译金山翻译腾讯翻译
content
string
翻译结果
示例
{
"err_code": "string",
"err_msg": "string",
"data": [
{
"lang_tag": "百度翻译",
"content": "string"
}
]
}
最后修改时间: 6 个月前