Get object download information
POST/v1/storages/get-objects-download-info
Batch obtain object download URLs.
This API is subject to cloud storage bucket permission configuration and identity authentication and authorization. Ensure the requesting identity has the necessary permissions for the corresponding resources.
For cloud storage permission configuration, see Cloud Storage Basic Permissions and Cloud Storage Security Rules.
💡 Tip: If cloud storage operations are blocked by basic permissions or security rules, you may encounter the error code: STORAGE_EXCEED_AUTHORITY
💡 Tip: If cloud storage operations are blocked by the identity authentication mechanism, you may encounter the error code: ACTION_FORBIDDEN
Request
- application/json
Body
arrayrequired
Download object request parameters, array format
- Array [
- ]
Responses
- 200
- default
Returned when the call is successful
Response Headers
X-Request-Id string
Request ID
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- v1GetObjectDownloadInfoResponseItemSuccess
- v1GetObjectDownloadInfoResponseItemError
- ]
[
{
"cloudObjectId": "cloud://your-envId.bucket/file.jpg",
"downloadUrl": "https://url/file.jpg",
"downloadUrlEncoded": "https://url/file.jpg"
},
{
"code": "INVALID_PARAM",
"message": "Invalid request param."
}
]
General error information, see https://docs.cloudbase.net/error-code/service for details
Response Headers
X-Request-Id string
Request ID
- application/json
- Schema
- Example (from schema)
- InvalidHost
Schema
{
"code": "string",
"message": "string",
"requestId": "string"
}
{
"code": "INVALID_HOST",
"message": "xxx",
"requestId": "xxx"
}