You can call this operation to obtain the download URL of the gateway program. All Alibaba Cloud users can download the gateway program 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 used.

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 gateway program.

ErrorMsg String None

The error message.

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

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

Samples

Sample requests


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

Sample success responses

XML format

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

JSON format

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

Error codes

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