調用DownloadGatewayProgram獲取網關程序的下載地址。阿里云用戶均可下載,無需權限認證。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

請求參數

名稱 類型 是否必選 示例值 描述
Action String DownloadGatewayProgram

系統規定參數。取值:DownloadGatewayProgram

UserOS String your OS

您使用的系統。

返回數據

名稱 類型 示例值 描述
Code String OK

狀態碼。

Data String https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D

網關程序的下載地址。

ErrorMsg String

異常信息。

RequestId String 028D8614-5940-4BC4-86BB-428E115F27DC

請求ID。

Success Boolean true

是否成功。

示例

請求示例

http(s)://dg.[regionId].aliyuncs.com/?Action=DownloadGatewayProgram
&<公共請求參數>

正常返回示例

XML格式

<RequestId>028D8614-5940-4BC4-86BB-428E115F27DC</RequestId>
<ErrorMsg>無</ErrorMsg>
<Data>https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D</Data>
<Code>OK</Code>
<Success>true</Success>

JSON格式

{"RequestId":"028D8614-5940-4BC4-86BB-428E115F27DC","ErrorMsg":"無","Data":"https://public-buk.oss-cn-hangzhou.aliyuncs.com/db-gateway-pkgs/gateway-daemon-pkgs/aliyun-db-gateway.tar.gz?Expires=xxx/YV56pzE%3D","Code":"OK","Success":"true"}

錯誤碼

訪問錯誤中心查看更多錯誤碼。