get_object_url
Generate a file download URL from Qiniu Cloud Storage. Specify the bucket and object key to retrieve the link, with options to disable SSL and set token expiration for private buckets.
Instructions
Get the file download URL, and note that the Bucket where the file is located must be bound to a domain name. If using Qiniu Cloud test domain, HTTPS access will not be available, and users need to make adjustments for this themselves.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bucket | Yes | Qiniu Cloud Storage bucket Name | |
disable_ssl | No | Whether to disable SSL. By default, it is not disabled (HTTP protocol is used). If disabled, the HTTP protocol will be used. | |
expires | No | Token expiration time (in seconds) for download links. When the bucket is private, a signed Token is required to access file objects. Public buckets do not require Token signing. | |
key | Yes | Key of the object to get. |