查詢IPA域名的協議類型
更新時間 2023-11-02 15:19:43
最近更新時間: 2023-11-02 15:19:43
分享文章
接口描述:調用本接口可查詢應用加速產品指定域名的協議類型
請求方式:post
請求路徑:/ipa/domain/query-domain-protocol
使用說明:單個用戶一分鐘限制調用10000次,并發不超過100
請求參數說明:
| 參數名 | 類型 | 是否必選 | 名稱 | 描述 |
|---|---|---|---|---|
| product_code | string | 是 | 產品類型 | “009”:應用加速 |
| domain | string | 是 | 加速域名 | 支持單個域名 |
返回參數說明:
| 參數名 | 類型 | 是否必選 | 名稱 | 描述 |
|---|---|---|---|---|
| code | int | 是 | 狀態碼 | |
| message | string | 是 | 描述信息 | |
| domain | string | 否 | 加速域名 | |
| protocol | string | 否 | 協議名稱 | 取值:udp(UDP協議),tcp(TCP協議),tcp&udp(TCP和UDP) |
示例:
請求路徑://cdnapi-global.ctapi.daliqc.cn/ipa/domain/query-domain-protocol
請求參數:
{
"product_code": "009",
"domain": "eaaa.daliqc.cn"
}
返回結果:
{
"code": 100000,
"message": "success",
"domain": "eaaa.daliqc.cn",
"protocol": "udp"
}
錯誤碼請參考:參數code和message含義