Skip to main content
Call this API to get the download information of a file in a storage space.

API call description

Step 1: Call this API to get the file download information, including the download URL and headers. Step 2: Execute the download. See the following example:
If the file is too large and you need to retrieve it in segments, add the headers field in the example above: headers.put("Range","bytes=0-499");. For details, see Download partial content by specifying Range.

Request

Basic information

Request header

Path parameter

Query parameter

Request body

Request example

HTTP
Java
Python
PHP
Go
Node.js
C#

Response

Response body

Response body example

Error codes

If an error is returned when you call this API, find solutions based on the error message in the Global error codes document.