UGA绑定UPath - UGABindUPath
简介
UGA绑定UPath
ℹ️ 绑定线路成功后,加速配置通常会在1min内生效。请先使用nc或telnet命令探测加速域名 加速端口是否联通。正常联通后将业务域名CName到加速域名上来。
定义
公共参数
参数名 | 类型 | 描述信息 | 必填 |
---|---|---|---|
Action | string | 对应的 API 指令名称,当前 API 为 UGABindUPath | Yes |
PublicKey | string | 用户公钥,可从 控制台 获取 | Yes |
Signature | string | 根据公钥及 API 指令生成的用户签名,参见 签名算法 | Yes |
请求参数
参数名 | 类型 | 描述信息 | 必填 |
---|---|---|---|
ProjectId | string | 项目ID。请参考GetProjectList接口 | Yes |
UGAId | string | 加速配置实例ID,格式uga-xxxx | Yes |
UPathId | string | 加速线路实例ID,格式upath-xxx | Yes |
CouponId | string | 代金券 | No |
响应字段
字段名 | 类型 | 描述信息 | 必填 |
---|---|---|---|
RetCode | int | 返回状态码,为 0 则为成功返回,非 0 为失败 | Yes |
Action | string | 操作指令名称 | Yes |
Message | string | 返回错误消息,当 RetCode 非 0 时提供详细的描述信息 | No |
示例
请求示例
https://api.an-link.com/?Action=UGABindUPath
&ProjectId=org-xxxx
&UGAId=uga-xxxx
&UPathId=upath-xxx
&CouponId=
响应示例
{
"Action": "UGABindUPathResponse",
"RetCode": 0
}