Queries the download URL of the Database Gateway agent. All Alibaba Cloud users can download the Database Gateway agent without authentication.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DownloadGatewayProgram

The operation that you want to perform. Set the value to DownloadGatewayProgram.

UserOS String No your OS

The operating system that you use.

Response parameters

Parameter Type Example Description
Code String OK

The status code.

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

The download URL of the Database Gateway agent.

ErrorMsg String None

The error message.

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

The ID of the request.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests

http(s)://dg.[regionId].aliyuncs.com/?Action=DownloadGatewayProgram
&<Common request parameters>

Sample success responses

XML format

<RequestId>028D8614-5940-4BC4-86BB-428E115F27DC</RequestId>
<ErrorMsg>None</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 format

{"RequestId":"028D8614-5940-4BC4-86BB-428E115F27DC","ErrorMsg":"None","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"}

Error codes

For a list of error codes, visit the API Error Center.